code wiki / _hdl_build / nx_collision_retire_safe.nx

nx_collision_retire_safe.nx

buildroot/runtime/_hdl_build/nx_collision_retire_safe.nx

4451 B67 linesdepth 5pulls 9 transitivereach 0 importersview sourcekind tooltopic collision
docsdependenciesstructsconstsfunctions

dependencies 6 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_collision_plan.nx nx_janitor_dupname.nx nx_janitor_retire.nx nx_syscalls.nx nx_collision_retire_safe.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_collision_plan.nxnx_janitor_dupname.nxnx_janitor_retire.nxnx_syscalls.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 sys_mmap jdn_scan jdn_collect sys_openat_rd sys_mmap ↻ sys_getdents64 dirent_reclen dirent_name jdn_is_nx sys_close jdn_is_shadowed jdn_streq crp_plan_one sys_mmap ↻ jdn_path jdn_read sys_openat_rd ↻ sys_read sys_close ↻ crp_extract_funcs crp_is_ident crp_setcmp crp_name_in jdn_streq ↻ crp_name_in ↻ crp_classify2 crp_classify crp_is_toolchain jdn_streq ↻ gws sys_write ↻ jdn_path ↻ jan_retire jan_verify_in_store sys_mmap ↻ jan_migrate sys_mmap ↻

structs

none

consts

20const RET_MAGIC_1048576: i64 = 1048576
21const RET_MAGIC_131072: i64 = 131072
22const RET_MAGIC_4096: i64 = 4096
23const RET_MAGIC_4194304: i64 = 4194304
24const RET_MAGIC_32768: i64 = 32768
25const RET_MAGIC_1024: i64 = 1024
31const RET_STORE: *u8 = "knowledge/store/retired-organs"

functions

27func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
29func gws(buf: *u8, off: i64) -> i64 { var n: i64=0; while buf[off+n]!=(0 as u8){n=n+1} sys_write(1, (buf as i64 + off) as *u8, n); return 0 }
33func main() -> i64