code wiki / _hdl_build / nx_code_archscan.nx

nx_code_archscan.nx

buildroot/runtime/_hdl_build/nx_code_archscan.nx

9832 B161 linesdepth 6pulls 8 transitivereach 0 importersview sourcekind tooltopic code
docsdependenciesstructsconstsfunctions

about

nx_code_archscan.nx -- Analyzes a repository to count source files by language, detect library fingerprints, and categorize technical stack components.

dependencies 4 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_syscalls.nx nx_dir.nx nx_code_archscan.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_syscalls.nxnx_dir.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 nx_dir_list nx_openat nx_dirent_read nx_dirent_iter nx_dir_is_dotlike nx_dir_name_strlen nx_dir_arena_copy_name gn nx_dir_row_at nx_dir_row_is_regular_file ends_with sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close has_sig sys_munmap line_cat gw ↻

structs

none

consts

11const K_MAGIC_8192: i64 = 8192
12const K_MAGIC_2097152: i64 = 2097152
13const K_MAGIC_4096: i64 = 4096
14const K_MAGIC_262144: i64 = 262144

functions

16func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
19func ends_with(name: *u8, nl: i64, suf: *u8) -> i64
27func has_sig(buf: *u8, n: i64, pat: *u8) -> i64
39func line_cat(label: *u8, flag: i64) -> i64 { if flag == 1 { gw(" [x] "); gw(label); gw("\n") } return 0 }
41func main(argc: i64, argv: *i64) -> i64