code wiki / _hdl_build / nx_seg_pos_gate.nx
nx_seg_pos_gate.nx
buildroot/runtime/_hdl_build/nx_seg_pos_gate.nx
about
nx_seg_pos_gate.nx -- KAT gate for the PHRASE rung's store layer: the NXQ1 positions sidecar
(builder round-trip), ss_phrase adjacency/order/negatives across MULTIPLE segments, the graceful
DEGRADE on a sidecar-less (pre-phrase) segment, and the COMPACTION UPGRADE (ss_compact rebuilds
through ss_write_seg -> the merged segment carries a fresh sidecar -> phrase goes exact again).
Runs against /tmp prefixes (wiped per boot -> deterministic, zero tree pollution). license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_seg_store.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_puts(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_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 10 | func g_num(v: i64) -> i64 called by 1: main |
| 19 | func g_unlink(path: *u8) -> i64 { return __syscall(263, AT_FDCWD, path, 0, 0, 0, 0) } called by 1: main |
| 20 | func g_check(name: *u8, cond: i64, pass: *i64, total: *i64) -> i64 |
| 27 | func g_phrase2(prefix: *u8, h: *i64, a: *u8, b: *u8, c: *u8, ebox: *i64) -> i64 |
| 38 | func main() -> i64 |