code wiki / _hdl_build / nx_gallery_nsfw_gate.nx
nx_gallery_nsfw_gate.nx
buildroot/runtime/_hdl_build/nx_gallery_nsfw_gate.nx
dependencies 3 imports · 0 importers
imports: nx_gate_base.nxnx_authz.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
| none |
functions
| 12 | func gslen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 13 | func grow(id: i64, ok: i64, what: *u8) -> i64 { gw("GNROW " as *u8); let b: *u8=sys_mmap(8); b[0]=(48+id) as u8; sys_write(1,b,1); gw(" " as *u8); if ok==1 { gw("PASS " as *u8) } else { gw("FAIL " as *u8) } gw(what); gw("\n" as *u8); return ok } |
| 14 | func gcontains(hay: *u8, hn: i64, needle: *u8) -> i64 called by 1: main |
| 21 | func gallow(level: i64, paths: *i64, lens: *i64, lvls: *i64, n: i64, req: *u8) -> i64 |
| 25 | func main() -> i64 |