code wiki / _hdl_build / nx_deltaclass.nx

nx_deltaclass.nx

buildroot/runtime/_hdl_build/nx_deltaclass.nx

13007 B299 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_deltaclass.nx -- CLI over nx_deltaclass_lib. Answers, at any time and from the LIVE ledger: did the headline move because we DELIVERED, because the REQUIREMENT moved, or because we thrashed? All logic lives in nx_deltaclass_lib.nx, which the GATE imports too, so what ships is what is graded. VERBS ledger <path> first and last sum-bearing samples in the file window <path> <n> the last <n> sum-bearing samples selftest Beat lines (src=beat) carry NO sums and are SKIPPED -- counting them as samples would manufacture fake idle runs and drown the real signal. expect_exit: 0 license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 1 imports · 0 importers

nx_deltaclass_lib.nx nx_deltaclass.nx

imports: nx_deltaclass_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main dw dstreq dl_selftest dl_val dl_klen dl_key_at dl_num_at dc_unmeasured dc_unmeasured ↻ dw ↻ dc_unmeasured ↻ dn sys_munmap dl_report sys_read_file sys_openat_rd sys_lseek sys_mmap sys_read sys_close dw ↻ dl_val ↻ dc_unmeasured ↻ dn ↻ dc_permil dc_unmeasured ↻ dc_exec_effect dc_permil ↻ dc_unmeasured ↻ dc_scope_effect dc_permil ↻ dc_unmeasured ↻ dc_total dc_permil ↻ dc_unmeasured ↻ dc_residual dc_total ↻ dc_exec_effect ↻ dc_scope_effect ↻

structs

none

consts

13const DL_MAGIC_1785608007: i64 = 1785608007
15const DL_NL: i64 = 10
16const DL_MINUS: i64 = 45
17const DL_D0: i64 = 48
18const DL_D9: i64 = 57
19const DL_SCRATCH: i64 = 28

functions

21func dw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
22func dn(v: i64) -> i64
39func dnu(v: i64) -> i64
called by 1: dl_report calls 3: dc_unmeasureddwdn
50func dsn(v: i64) -> i64
called by 1: dl_report calls 2: dwdn
55func dstreq(a: *u8, b: *u8) -> i64
called by 1: main
61func dl_klen(k: *u8) -> i64 { var n: i64 = 0; while k[n] != (0 as u8) { n = n + 1 } return n }
called by 1: dl_val
62func dl_key_at(b: *u8, i: i64, k: *u8) -> i64
called by 1: dl_val
70func dl_num_at(b: *u8, i: i64, lim: i64) -> i64
called by 2: dl_valmain calls 1: dc_unmeasured
91func dl_val(b: *u8, ls: i64, le: i64, k: *u8) -> i64
101func dl_scope_name(c: i64) -> i64
called by 1: dl_report calls 1: dw
108func dl_verdict_name(v: i64) -> i64
called by 1: dl_report calls 1: dw
118func dl_advice(v: i64) -> i64
called by 1: dl_report calls 1: dw
129func dl_report(path: *u8, tail: i64) -> i64
246func dl_selftest() -> i64
called by 1: main calls 4: dl_valdwdc_unmeasureddn
282func main(argc: i64, argv: *i64) -> i64