code wiki / _hdl_build / nx_galx_sortindex_gate.nx
nx_galx_sortindex_gate.nx
buildroot/runtime/_hdl_build/nx_galx_sortindex_gate.nx
about
nx_galx_sortindex_gate.nx -- fixture gate for the sort-index builder. Proves: correct ASCENDING order,
STABLE on equal keys (preserves id order), accurate count, freshness stamp = size of the fresh file, and
idempotent rebuild. Pure-local fixtures in /tmp -> no NAS / no live gallery needed (the daemon's :18090
backend is gateway-walled, so the builder is verified here as a standalone unit). license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_galx_sortindex.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
| 8 | func g_p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 9 | func g_n(v: i64) -> i64 |
| 15 | func g_strlen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: g_writefile |
| 16 | func g_writefile(path: *u8, data: *u8) -> i64 |
| 20 | func g_eq(label: *u8, got: i64, want: i64, pass: *i64, fail: *i64) -> i64 |
| 26 | func main(argc: i64, argv: *i64) -> i64 |