code wiki / (root) / nx_intake_profile_gate.nx

nx_intake_profile_gate.nx

buildroot/runtime/nx_intake_profile_gate.nx

3748 B68 linesdepth 10pulls 12 transitivereach 0 importersview sourcekind gate/prooftopic intake
docsdependenciesstructsconstsfunctions

about

nx_intake_profile_gate.nx -- R6c GATE: proves the "latest profile" loader. A submitted intake (ih_record, which now also writes the latest pointer) -> ip_get returns the SUBMITTED numbers; a respondent with no submission -> the DEFAULT (graceful fallback so the dashboard shows the worked example until they fill it in). Hermetic /tmp prefix. Exits 0 iff ALL pass. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_intake_handler.nx nx_intake_profile.nx nx_intake_profile_gate.nx

imports: nx_syscalls.nxnx_intake_handler.nxnx_intake_profile.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap sys_now_us sys_mmap ↻ sys_clock_gettime_mono chk g_puts sys_write g_putn sys_write ↻ sys_mmap ↻ ip_exists sys_mmap ↻ ip_key ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ss_readall sys_munmap ss_cat ↻ ss_loadfile sys_map_file sys_openat_rd sys_lseek sys_close ss_readall ↻ ss_load_aux2 sys_mmap ↻ ss_cat ↻ ss_loadfile ↻ ss_r32 sys_munmap ↻ ssl_total_keys ss_r32 ↻ ssl_pow2 ssl_build

structs

none

consts

none

functions

9func g_puts(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: chkmain calls 1: sys_write
10func g_putn(v: i64) -> i64
called by 2: chkmain calls 2: sys_writesys_mmap
19func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64
called by 1: main calls 2: g_putsg_putn
25func main() -> i64