code wiki / _hdl_build / nx_archive_capture_gate.nx
nx_archive_capture_gate.nx
buildroot/runtime/_hdl_build/nx_archive_capture_gate.nx
dependencies 6 imports · 0 importers
imports: nx_gate_gn.nxnx_gate_base.nxnx_syscalls.nxnx_media_signal.nxnx_web_archive.nxnx_archive_capture.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
| none |
functions
| 12 | func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw(" |
| 14 | func gsl(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 15 | func memeq(a: *u8, ao: i64, b: *u8, blen: i64) -> i64 { var i: i64=0; while i<blen { if (a[ao+i]&0xff)!=(b[i]&0xff) { return 0 } i=i+1 } return 1 } |
| 16 | func streq(a: *u8, b: *u8) -> i64 { if gsl(a)!=gsl(b) { return 0 } var i: i64=0; while a[i]!=(0 as u8){ if (a[i]&0xff)!=(b[i]&0xff){return 0} i=i+1 } return 1 } |
| 18 | func main() -> i64 |