code wiki / _hdl_build / nx_viz_contour_gate.nx

nx_viz_contour_gate.nx

buildroot/runtime/_hdl_build/nx_viz_contour_gate.nx

2454 B53 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic viz
docsdependenciesstructsconstsfunctions

about

nx_viz_contour_gate.nx -- REFEREE for the contour layer (marching squares vs the standard table). case(10,10,0,0,t5)=12 (top above) -> seg left-right [3,1]; case(0,0,0,10,t5)=1 (BL) -> seg [3,2] case all-below=0 / all-above=15 -> 0 segs; case 5 (saddle) -> 2 segs; case(0,10,10,0,t5)=6 -> [0,2] GREEN iff all. Sovereign: nx_viz_contour + nx_syscalls. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_viz_contour.nx nx_syscalls.nx nx_gate_verdict.nx nx_viz_contour_gate.nx

imports: nx_viz_contour.nxnx_syscalls.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main g_w sys_write sys_mmap vc_ms_case g_row g_w ↻ vc_ms_segs gv_ctr sys_mmap ↻ gv_verdict gv_puts sys_write ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close sys_munmap ↻ sys_exit

structs

none

consts

none

functions

9func g_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: g_rowmain calls 1: sys_write
10func g_row(name: *u8, ok: i64) -> i64
called by 1: main calls 1: g_w
17func main() -> i64