code wiki / _hdl_build / nx_site_ingest_test.nx

nx_site_ingest_test.nx

buildroot/runtime/_hdl_build/nx_site_ingest_test.nx

5494 B92 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic site
docsdependenciesstructsconstsfunctions

about

nx_site_ingest_test.nx -- ACCEPTANCE GATE for flag-ingestible-sites + full-site auto-ingest. Exact KATs on robots permission, license detection, the ingest verdict, sitemap enumeration, the starve-proof property, and a REAL write of a mirrored page into the local library.

dependencies 2 imports · 0 importers

nx_site_ingest.nx nx_syscalls.nx nx_site_ingest_test.nx

imports: nx_site_ingest.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 si_robots_allows si_robots_disallows si_strlen si_match_at si_is_prefix it_len it_puts sys_write si_open_signals si_count_sub si_strlen ↻ si_match_at ↻ it_putn sys_mmap sys_write ↻ si_ingest_verdict si_flag_good_site si_ingest_admissible

structs

none

consts

none

functions

7func it_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
8func it_putn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;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(1,bb,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
9func it_len(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: main
11func main() -> i64