code wiki / _hdl_build / nx_galx_durbin_gate.nx
nx_galx_durbin_gate.nx
buildroot/runtime/_hdl_build/nx_galx_durbin_gate.nx
about
nx_galx_durbin_gate.nx -- sovereign gate for nx_galx_durbin_lib. Writes a crafted galx_dur.raw fixture
(4 recordings, line N = recording N, one with a zero duration), compacts it to galx_dur.bin via db_build,
then asserts O(1) db_lookup returns the exact duration per id -- and -1 for out-of-range / negative id /
stale vidpaths_size / missing .bin. No bash, no curl: this exercises the real library on real bytes.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_galx_durbin_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 9 | func gp_p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 10 | func gp_n(v: i64) -> i64 |
| 18 | func gp_strlen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: main |
| 20 | func gp_jeq(out: *u8, len: i64, exp: *u8) -> i64 called by 1: main |
| 26 | func gp_bcat(buf: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8) { buf[off+i]=s[i]; i=i+1 } return off+i } called by 1: main |
| 27 | func gp_bn(buf: *u8, off: i64, v: i64) -> i64 |
| 36 | func chk(label: *u8, got: i64, want: i64) -> i64 |
| 41 | func main(argc: i64, argv: *i64) -> i64 |