code wiki / (root) / nx_paged_fetch_gate.nx

nx_paged_fetch_gate.nx

buildroot/runtime/nx_paged_fetch_gate.nx

3452 B60 linesdepth 25pulls 156 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_paged_fetch_gate.nx -- GATE for the dynamic paged fetcher (rf_fetch_bank_paged, debt-eaten hardened form). T1 POSITIVE: fresh 2x5-row SQuAD paged fetch -> returns 1, .raw EXISTS, .raw.part GONE (atomic promotion), >=10 "question" keys in the file (both pages really banked). T2 IDEMPOTENT: second call -> [banked-skip] returns 1 without refetching. T3 NEG-CONTROL: nonexistent dataset -> returns 0, .raw NEVER created (a failed run must not look banked). expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_research_fetch_ext.nx nx_paged_fetch_gate.nx

imports: nx_research_fetch_ext.nx

imported by: nobody (leaf or entry point)

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

main rf_fetch_bank_paged rf_fetch_bank_paged_from rf_bpath rf_scat rf_have sys_openat_rd sys_close rf_puts sys_write sys_openat_wr rfx_cat rfx_uitoa rf_sleep_ms sys_poll rf_is_gzip rf_putn nxi_out nxi_fd sys_mmap ccz_cat_num sys_write ↻ sys_munmap sys_renameat

structs

none

consts

none

functions

9func pg_count_key(buf: *u8, n: i64) -> i64
24func main() -> i64