code wiki / _hdl_build / nx_sts_bulkload_gate.nx
nx_sts_bulkload_gate.nx
buildroot/runtime/_hdl_build/nx_sts_bulkload_gate.nx
about
nx_sts_bulkload_gate.nx -- GATE for the seq356 sts_load bulk path (5 teeth incl an anti-vacuity
negative). ORACLE = sts_load_slow (the verbatim pre-fix body): the new open-once path must be
BYTE-IDENTICAL to the old per-row path on every plane shape. No forks; imports the lib directly.
T1 single-segment plane identical + exact rows | T2 superseded plane (re-seed) identical AND
equals the NEWEST snapshot | T3 shrink plane (5 rows -> 3) identical, stale q:3/q:4 invisible |
T4 absent plane -> both 0 | T5 anti-vacuity: newest snapshot differs from the OLD snapshot
(proves the byte-compare tooth can fail). Mutation (manual): flip ss_hget's newest-first walk
-> T2/T3 RED. Verdict exit 0 iff 5/5.
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 3 imports · 0 importers
imports: nx_store_seed_lib.nxnx_seg_store.nxnx_syscalls.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
| 14 | const BG_CAP: i64 = 65536 |
functions
| 16 | func bg_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 17 | func bg_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: main |
| 19 | func bg_eq(a: *u8, an: i64, b: *u8, bn: i64) -> i64 called by 1: main |
| 26 | func main(argc: i64, argv: *i64) -> i64 |