code wiki / _hdl_build / nx_creation_tree_gate.nx
nx_creation_tree_gate.nx
buildroot/runtime/_hdl_build/nx_creation_tree_gate.nx
dependencies 3 imports · 0 importers
imports: nx_gate_gn.nxnx_gate_base.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 14 | const CT_LIN: *u8 = "knowledge/registry/genesis_lineage.tsv" |
| 15 | const CT_PULSE: *u8 = "knowledge/status/god_pulse.log" |
| 16 | const CT_PAGE: *u8 = "web_assets/creation.html" |
functions
| 19 | func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw(" calls 1: gw |
| 21 | func cc(buf: *u8, off: i64, s: *u8) -> i64 { var o: i64=off; var i: i64=0; while s[i]!=(0 as u8){ buf[o]=s[i]; o=o+1; i=i+1 } return o } called by 1: main |
| 22 | func ccn(buf: *u8, off: i64, src: *u8, n: i64) -> i64 { var o: i64=off; var i: i64=0; while i<n { buf[o]=src[i]; o=o+1; i=i+1 } return o } |
| 23 | func ccnum(buf: *u8, off: i64, v: i64) -> i64 { if v==0 { buf[off]=(48 as u8); return off+1 } var m: i64=v; let t: *u8=sys_mmap(24); var k: i64=0; while m>0 { t[k]=(48+(m%10)) as u8; m=m/10; k=k+1 } var o: i64=off; var q: i64=k-1; while q>=0 { buf[o]=t[q]; o=o+1; q=q-1 } return o } called by 1: rt_render |
| 24 | func ptr_at(b: *u8, off: i64) -> *u8 { return ((b as i64)+off) as *u8 } |
| 27 | func ccesc(buf: *u8, off: i64, src: *u8, n: i64) -> i64 |
| 40 | func cfind(buf: *u8, n: i64, pat: *u8) -> i64 |
| 48 | func ccount(buf: *u8, n: i64, pat: *u8) -> i64 |
| 61 | func streq(fbuf: *u8, off: i64, len: i64, lit: *u8) -> i64 |
| 70 | func sov_code(fbuf: *u8, off: i64, len: i64) -> i64 |
| 81 | func rt_sovclass(c: i64) -> *u8 |
| 93 | func node_depth(nd: *i64, idx: i64) -> i64 |
| 104 | func rt_render(h: *u8, o: i64, idx: i64, nd: *i64, fbuf: *u8, n: i64) -> i64 |
| 130 | func main(argc: i64, argv: *i64) -> i64 |