code wiki / _hdl_build / nx_code_depgraph.nx
nx_code_depgraph.nx
buildroot/runtime/_hdl_build/nx_code_depgraph.nx
about
nx_code_depgraph.nx -- Analyzes source code to build a dependency graph of modules, identifying relationships and architectural hubs.
dependencies 4 imports · 0 importers
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
structs
| none |
consts
| 11 | const K_MAGIC_8192: i64 = 8192 |
| 12 | const K_MAGIC_2097152: i64 = 2097152 |
| 13 | const K_MAGIC_4096: i64 = 4096 |
| 19 | const MAXT: i64 = 65536 |
| 20 | const ARENA: i64 = 8388608 |
functions
| 15 | func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw(" calls 1: gw |
| 17 | func match_at(buf: *u8, n: i64, i: i64, pat: *u8) -> i64 { var j: i64=0; while pat[j]!=(0 as u8){ if i+j>=n {return 0} if buf[i+j]!=pat[j]{return 0} j=j+1 } return 1 } |
| 22 | func main(argc: i64, argv: *i64) -> i64 |