code wiki / _hdl_build / nx_media_inventory_gate.nx

nx_media_inventory_gate.nx

buildroot/runtime/_hdl_build/nx_media_inventory_gate.nx

7200 B160 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic media
docsdependenciesstructsconstsfunctions

about

nx_media_inventory_gate.nx -- self-validating, anti-fabrication gate for the media-content census. T1 store round-trip a real performer. T2 union-across-roots proven. T3 reconcile math (0<=stale<=catalog). T4 NSFW default (fail-closed). T5 no-fabrication: independent re-walk matches the STORED count. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_media_inventory_lib.nx nx_gate.nx nx_media_inventory_gate.nx

imports: nx_media_inventory_lib.nxnx_gate.nx

imported by: nobody (leaf or entry point)

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

main gw sys_write iv_build sys_now_realtime_sec sys_mmap sys_clock_gettime_real sys_mmap ↻ iv_walk_rec_root sys_openat_rd iv_slen sys_getdents64 dirent_reclen dirent_name iv_count_ts sys_openat_rd ↻ sys_getdents64 ↻ dirent_reclen ↻ iv_is_recext iv_slen ↻ dirent_name ↻ sys_close iv_merge_perf iv_streq sys_close ↻ sys_openat_rd ↻ sys_getdents64 ↻ dirent_reclen ↻ dirent_name ↻ sys_close ↻ iv_cat iv_walk_count sys_mmap ↻ iv_slen ↻ sys_openat_rd ↻ sys_getdents64 ↻ dirent_reclen ↻ dirent_name ↻ dirent_type iv_ext_match

structs

none

consts

none

functions

8func mg_field(buf: *u8, n: i64, needle: *u8) -> i64
called by 1: main calls 1: iv_slen
29func mg_perf_count(buf: *u8, n: i64, name: *u8) -> i64
called by 1: main calls 1: iv_slen
56func mg_both_count(buf: *u8, n: i64) -> i64
called by 1: main
74func mg_recount_root(root: *u8, dirbuf: *u8, cbuf: *u8, child: *u8) -> i64
109func main() -> i64