code wiki / _hdl_build / nx_web_archive_gate.nx

nx_web_archive_gate.nx

buildroot/runtime/_hdl_build/nx_web_archive_gate.nx

4729 B71 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic web
docsdependenciesstructsconstsfunctions

dependencies 5 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_syscalls.nx nx_web_archive.nx nx_gate_verdict.nx nx_web_archive_gate.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_syscalls.nxnx_web_archive.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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("
14func gsl(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
15func 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 }
17func main() -> i64