code wiki / (root) / nx_gguf_type_census_gate.nx

nx_gguf_type_census_gate.nx

buildroot/runtime/nx_gguf_type_census_gate.nx

3039 B67 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic gguf
docsdependenciesstructsconstsfunctions

about

nx_gguf_type_census_gate.nx -- FACTS FIRST for the dequant-debt rung (2026-07-15): enumerate every tensor's ggml_type across the fleet's ggufs so coverage is driven by what models ACTUALLY ship, not assumption. Prints a type histogram per file + the union; exits 0 if all files parsed. expect_exit: 0 license_tier: ORIGINAL

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_le.nx nx_tensor.nx nx_gguf.nx nx_gguf_type_census_gate.nx

imports: nx_syscalls.nxnx_tier.nxnx_le.nxnx_tensor.nxnx_gguf.nx

imported by: nobody (leaf or entry point)

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

main tc_w sys_write sys_mmap tc_file sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close tc_w ↻ nx_gguf_parse nx_le_read_u32 nx_le_read_u64 nx_le_read_u32 ↻ _gguf_skip_value nx_le_read_u64 ↻ nx_le_read_u32 ↻ _gguf_skip_value ↻ sys_mmap ↻ nx_gguf_tensor_at tc_n tc_w ↻ sys_mmap ↻ sys_write ↻ tc_n ↻

structs

none

consts

none

functions

11func tc_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 3: tc_ntc_filemain calls 1: sys_write
12func tc_n(v: i64) -> i64
called by 2: tc_filemain calls 3: tc_wsys_mmapsys_write
26func tc_file(path: *u8, union_hist: *i64) -> i64
52func main() -> i64