code wiki / _hdl_build / nx_tpl_parts_gate.nx

nx_tpl_parts_gate.nx

buildroot/runtime/_hdl_build/nx_tpl_parts_gate.nx

5536 B105 linesdepth 7pulls 13 transitivereach 0 importersview sourcekind gate/prooftopic tpl
docsdependenciesstructsconstsfunctions

about

nx_tpl_parts_gate.nx -- referee for R-PARTS (nx_tpl_parts). Proves the LEGO half of the ingest: section-level bricks extracted, content-addressed + deduped (near-dup template contributes 0 new bricks), idempotent across runs, budget-guarded (fail-fast), junk skipped, and a recomputed brick key round-trips through the store with a faithful record. GREEN iff 7/7. Wrapper pre-cleans /tmp/partcorpus_gate and /tmp/partcorpus_gate2. license_tier: ORIGINAL expect_exit: 0

dependencies 3 imports · 0 importers

nx_gate.nx nx_tpl_parts.nx nx_gate_verdict.nx nx_tpl_parts_gate.nx

imports: nx_gate.nxnx_tpl_parts.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main tp_run ss_manifest_file sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ ss_cat ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ss_open ss_open2 ss_open3 sys_now_us sys_mmap ↻ sys_clock_gettime_mono sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss3_admit ss3_ann sys_now_us ↻ ss3_streq ss3_docs_size ss3_load_range

structs

none

consts

none

functions

10func pg_row(name: *u8, ok: i64) -> i64 { gw(" " as *u8); gw(name); if ok==1 { gw(" PASS\n" as *u8) } else { gw(" FAIL\n" as *u8) } return 0 }
called by 1: main calls 1: gw
11func pg_has(hay: *u8, hn: i64, needle: *u8) -> i64
called by 1: main
20func main() -> i64