code wiki / _hdl_build / nx_web_crawl_step_gate.nx

nx_web_crawl_step_gate.nx

buildroot/runtime/_hdl_build/nx_web_crawl_step_gate.nx

62323 B916 linesdepth 22pulls 201 transitivereach 0 importersview sourcekind gate/prooftopic web
docsdependenciesstructsconstsfunctions

about

nx_web_crawl_step_gate.nx -- network-free KATs for the frontier-persisted crawler's STORE mechanics: the url filter, fr: row write/enumerate, the P->D state flip (append-only last-wins), cross-segment dedupe, and unknown-state. The fetch/ingest spine is nx_web_ingest's, already proven on the real web. Runs against a /tmp shard (wiped per boot). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_web_crawl_step.nx nx_gate_verdict.nx nx_web_crawl_step_gate.nx

imports: nx_web_crawl_step.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

structs

none

consts

20const WCID_UABUF: i64 = 1024
23const WCID_FIXTURE_FRONTIER_PENDING: i64 = 1873
29const WCID_FIXTURE_FRONTIER_DRAINED: i64 = 313

functions

8func gw_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
9func gw_num(v: i64) -> i64
32func wcid_count(hay: *u8, hn: i64, ndl: *u8) -> i64
47func wcid_has(hay: *u8, hn: i64, ndl: *u8) -> i64 { if wcid_count(hay, hn, ndl) > 0 { return 1 } return 0 }
49func gw_check(name: *u8, cond: i64, pass: *i64, total: *i64) -> i64
55func gw_ok(u: *u8) -> i64 { return wc_urlok(u, wc_len(u)) }
58func t_rb_seed_state(hh: i64, body: *u8, bl: i64, st: i64) -> i64
74func t_rb_seed(hh: i64, body: *u8, bl: i64) -> i64
77func t_rb_streq(a: *u8, b: *u8) -> i64
84func main() -> i64