code wiki / _hdl_build / nx_yt_nsolve_gate.nx

nx_yt_nsolve_gate.nx

buildroot/runtime/_hdl_build/nx_yt_nsolve_gate.nx

4584 B64 linesdepth 8pulls 26 transitivereach 0 importersview sourcekind gate/prooftopic yt
docsdependenciesstructsconstsfunctions

dependencies 5 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_syscalls.nx nx_media_signal.nx nx_yt_nsolve.nx nx_yt_nsolve_gate.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_syscalls.nxnx_media_signal.nxnx_yt_nsolve.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 gsl sys_mmap ns_find_fn_start sys_mmap ↻ ns_appb ns_apps xt_find grow gw ↻ ns_build_script sys_mmap ↻ ns_find_fn_start ↻ ns_body_end ns_skip_str ns_apps ↻ ns_appb ↻ xt_has xt_find ↻ xt_slen ns_solve sys_mmap ↻ ns_build_script ↻ ev_str_bytes str_flatten ev_str_new nx_pool_alloc gc_init gc_retire_chunk gc_setbit nx_pool_alloc ↻ ev_str_len streq gsl ↻ gn sys_exit

structs

none

consts

none

functions

12func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
called by 1: main calls 1: gw
14func gsl(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: main calls 1: gsl
15func streq(a: *u8, al: i64, b: *u8) -> i64 { if al != gsl(b) { return 0 } var i: i64=0; while i<al { if (a[i]&0xff) != (b[i]&0xff) { return 0 } i=i+1 } return 1 }
17func main() -> i64