code wiki / (root) / nx_uv_precision_witness_t280.nx

nx_uv_precision_witness_t280.nx

buildroot/runtime/nx_uv_precision_witness_t280.nx

3712 B32 linesdepth 7pulls 17 transitivereach 0 importersview sourcekind tooltopic uv
docsdependenciesstructsconstsfunctions

dependencies 3 imports · 0 importers

nx_nxa_corner_checkpoint_candidate nx_uv_gram_solver_candidate_t280.n nx_gate_verdict.nx nx_uv_precision_witness_t280.n

imports: nx_nxa_corner_checkpoint_candidate_t280.nxnx_uv_gram_solver_candidate_t280.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 up_num ncp_restore_topology ncp_model_nxa nxa_section_entry nxa_magic nxa_check2 nxa_tag4 ncp_model_new uv_layout mv_cap_for uv_set_vert ncp_model_free uv_words_used uv_set_tri ncp_model_free ↻ uv_ti uv_chart_build uvi_validate mv_new mv_cap_for ↻ sys_mmap nxa_die nxa_lock_take nxa_lock_give nxa_report_overrun mv_words_for mv_set_vert mv_verts_off uv_vx uv_vy uv_vz mv_set_tri mv_tris_off uv_ti ↻ mv_check mv_tris_off ↻ mv_bump mv_is_degenerate mv_verts_off ↻

structs

none

consts

4const UP_HEADER:i64=32
5const UP_ROW:i64=10
6const UP_TRIROW:i64=9

functions

7func up_num(s:*u8)->i64{var n:i64=0;var i:i64=0;if s[0]==(0 as u8){return 0-1};while s[i]!=(0 as u8){let d:i64=(s[i] as i64)-48;if d<0{return 0-1};if d>9{return 0-1};if n>(NCP_MAX-d)/10{return 0-1};n=n*10+d;i=i+1};return n}
called by 1: main
8func up_time(clock:*i64)->i64{sys_clock_gettime_mono(clock);return clock[0]*1000000+clock[1]/1000}
called by 1: main
9func main(argc:i64,argv:*i64)->i64