code wiki / _hdl_build / nx_corpus_ingest_gate.nx
nx_corpus_ingest_gate.nx
buildroot/runtime/_hdl_build/nx_corpus_ingest_gate.nx
about
nx_corpus_ingest_gate.nx -- GATE for the corpus-ingest front door (dir -> searchable sovereign shard).
Builds a real test dir (/tmp) with: a raw .txt, an .html (tags/script/entities exercise nx_html_to_text),
a .bak (must be skipped), and TWO ~600KB files (forces the 1MB writer to batch across >=2 segments).
Assertions are RUN-INDEPENDENT (content-addressed skip-if-present makes re-runs clean): search truths +
the persisted manifest segment count, never per-run counters alone. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_corpus_ingest.nxnx_g_puts_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 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_contains(hay: *u8, hn: i64, needle: *u8) -> i64 |
| 32 | func g_write(path: *u8, data: *u8, n: i64) -> i64 |
| 37 | func g_check(name: *u8, cond: i64, pass: *i64, total: *i64) -> i64 |
| 44 | func main() -> i64 |