code wiki / _hdl_build / nx_incumbent_census.nx
nx_incumbent_census.nx
buildroot/runtime/_hdl_build/nx_incumbent_census.nx
about
nx_incumbent_census.nx -- the GENERIC capability census: ANY incumbent_ref (id\tcategory\tfeature\t
probe\tweight) -> a rich census (id\tcategory\tfeature\tstatus\tweight) measuring Nishi coverage.
PRESENT iff the row's <probe> organ FILE EXISTS (present_by=organ-file); "-" = a GAP. ONE organ serves
EVERY incumbent (Wolfram/MATLAB/...): author its incumbent_ref + run this = a measured catalog, no per-
system organ. Operator: "get functionalities from across LOTS of systems ... S-class exceed, time the
only limit." argv[1]=incumbent_ref, argv[2]=census-out. Pair with nx_census_to_bg -> nx_backlog_gen
to flow the gaps into the clone-army task stream. Self-validating (organ present/absent controls first).
module: nishi-core.meta.incumbent_census
depends: nishi-core.sys.syscalls
capability: GENERIC_INCUMBENT_COVERAGE_CENSUS
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_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
| 14 | const K_MAGIC_262144: i64 = 262144 |
functions
| 16 | func ic_w(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 } |
| 17 | func ic_wn(fd: i64, v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(fd,"-" as *u8,1)}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48;k=1}; while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(fd,bb,k); return 0 } |
| 18 | func ic_len(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: main |
| 20 | func ic_read(path: *u8, buf: *u8, cap: i64) -> i64 |
| 30 | func ic_organ_exists(name: *u8) -> i64 |
| 53 | func ic_field(buf: *u8, ls: i64, le: i64, f: i64, dst: *u8, cap: i64) -> i64 called by 1: main |
| 66 | func ic_selftest() -> i64 |
| 73 | func main(argc: i64, argv: *i64) -> i64 |