nx_ir_closure_gate_t206.nx
buildroot/runtime/nx_ir_closure_gate_t206.nx
dependencies 1 imports · 0 importers
imports: nx_fs_create_lib.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
| none |
functions
| 2 | func ic_at(b:*u8,n:i64,p:i64,s:*u8,k:i64)->i64{if p<0||p>n-k{return 0};var j:i64=0;while j<k{if b[p+j]!=s[j]{return 0};j=j+1};return 1} |
| 3 | func ic_find(b:*u8,n:i64,s:*u8,k:i64)->i64{var i:i64=0;while i<=n-k{if ic_at(b,n,i,s,k)==1{return i};i=i+1};return -1} |
| 4 | func ic_end(b:*u8,n:i64,start:i64)->i64{var i:i64=start;var depth:i64=0;var opened:i64=0;while i<n{if b[i]==(123 as u8){depth=depth+1;opened=1};if b[i]==(125 as u8){depth=depth-1;if opened==1&&depth==0{return i+1}};i=i+1};return -1} called by 1: main |
| 5 | func main(argc:i64,argv:*i64)->i64 |