code wiki / (root) / nx_docpub_census.nx

nx_docpub_census.nx

buildroot/runtime/nx_docpub_census.nx

7505 B101 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic docpub
docsdependenciesstructsconstsfunctions

about

nx_docpub_census.nx -- R2: the MEASURED S-class-exceed scoreboard for SELF-GENERATING LIVE DOCUMENTATION PUBLISHING, head-to-head vs the NAMED incumbents the operator cited + the doctrine's field: GitBook · Read the Docs · Javadoc · Doxygen · Sphinx · Docusaurus. Doctrine (nx_asset_exceed_gate / nx_pub_exceed_gate): NEVER self-scored -- an axis is EXCEEDS only if a REAL PROOF RUNS HERE and passes; the EXCEEDS count must EQUAL the proofs that passed (can't claim more exceed than proven); honest PARITY/BEHIND cells are declared, not hidden; a LIAR-KILL neg-control shows that falsely claiming an unproven exceed flips the verdict RED. Anchored to the sovereign-fetched corpus knowledge/fetched/docpub_*.raw (26 sources). Self-contained (only nx_syscalls). license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_docpub_census.nx

imports: nx_syscalls.nxnx_itoa_lib.nx

imported by: nobody (leaf or entry point)

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

main dc_w sys_write sys_mmap dc_read sys_openat_rd sys_read sys_close dc_contains dc_match dc_n nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap dc_hexrun dc_ishex dc_exists sys_openat_rd ↻ sys_close ↻ dc_cell dc_w ↻ sys_exit

structs

none

consts

12const K_MAGIC_262144: i64 = 262144

functions

14func dc_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: dc_cellmain calls 1: sys_write
19func dc_n(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
20func dc_match(buf: *u8, p: i64, n: i64, needle: *u8) -> i64
called by 1: dc_contains
25func dc_contains(buf: *u8, n: i64, needle: *u8) -> i64 { var i: i64 = 0; while i < n { if dc_match(buf, i, n, needle) == 1 { return 1 } i = i + 1 } return 0 }
called by 1: main calls 1: dc_match
26func dc_read(path: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 3: sys_openat_rdsys_readsys_close
32func dc_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
33func dc_ishex(c: i64) -> i64 { if c >= 48 { if c <= 57 { return 1 } } if c >= 97 { if c <= 102 { return 1 } } return 0 }
called by 1: dc_hexrun
34func dc_hexrun(buf: *u8, n: i64, need: i64) -> i64
called by 1: main calls 1: dc_ishex
39func dc_cell(cls: *u8, axis: *u8) -> i64 { dc_w(" ["); dc_w(cls); dc_w("] "); dc_w(axis); dc_w("\n"); return 0 }
called by 1: main calls 1: dc_w
41func main() -> i64