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
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
imports: nx_web_crawl_step.nxnx_gate_verdict.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| 20 | const WCID_UABUF: i64 = 1024 |
| 23 | const WCID_FIXTURE_FRONTIER_PENDING: i64 = 1873 |
| 29 | const WCID_FIXTURE_FRONTIER_DRAINED: i64 = 313 |
functions
| 8 | func 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 } |
| 9 | func gw_num(v: i64) -> i64 |
| 32 | func wcid_count(hay: *u8, hn: i64, ndl: *u8) -> i64 |
| 47 | func wcid_has(hay: *u8, hn: i64, ndl: *u8) -> i64 { if wcid_count(hay, hn, ndl) > 0 { return 1 } return 0 } |
| 49 | func gw_check(name: *u8, cond: i64, pass: *i64, total: *i64) -> i64 |
| 55 | func gw_ok(u: *u8) -> i64 { return wc_urlok(u, wc_len(u)) } |
| 58 | func t_rb_seed_state(hh: i64, body: *u8, bl: i64, st: i64) -> i64 |
| 74 | func t_rb_seed(hh: i64, body: *u8, bl: i64) -> i64 |
| 77 | func t_rb_streq(a: *u8, b: *u8) -> i64 |
| 84 | func main() -> i64 |