code wiki / (root) / nx_imported_body_registry_gate_t40.nx

nx_imported_body_registry_gate_t40.nx

buildroot/runtime/nx_imported_body_registry_gate_t40.nx

7064 B78 linesdepth 9pulls 17 transitivereach 0 importersview sourcekind tooltopic imported
docsdependenciesstructsconstsfunctions

about

nx_imported_body_registry_gate_t40.nx -- Tests the bounded registry's upsert, read, and conflict resolution behavior for imported body data.

dependencies 2 imports · 0 importers

nx_imported_body_registry_t40.nx nx_nxa_bind.nx nx_imported_body_registry_gate

imports: nx_imported_body_registry_t40.nxnx_nxa_bind.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main ibr_words en_words bg_check nb_text ibr_init ibr_words ↻ ibr_ready ibr_words ↻ ibr_entities en_cap en_ncomp en_init en_o_gen en_o_alive en_cap ↻ en_o_dense en_cap ↻ en_o_pos en_cap ↻ en_o_free en_cap ↻ ibr_entities ↻ ibr_upsert ibr_ready ↻ ibr_record_valid ibr_domain ibr_entities ↻ ibr_find ibr_entities ↻ en_count en_nth en_o_dense ↻ en_make_handle en_o_gen ↻ en_get en_valid en_handle_idx en_cap ↻ en_o_alive ↻

structs

none

consts

none

functions

6func bg_check(ok:i64,label:*u8)->i64{checks=checks+1;if ok==1{nb_text("PASS " as *u8)}else{nb_text("FAIL " as *u8);failures=failures+1};nb_text(label);nb_text("\n" as *u8);return 0}
called by 1: main calls 1: nb_text
7func bg_box(b:*BeachContactBox,x0:i64,y0:i64,z0:i64,x1:i64,y1:i64,z1:i64)->i64{b.min_x=x0;b.min_y=y0;b.min_z=z0;b.max_x=x1;b.max_y=y1;b.max_z=z1;return 0}
called by 1: main
8func bg_same(a:*i64,b:*i64,n:i64)->i64{var i:i64=0;while i<n{if a[i]!=b[i]{return 0};i=i+1};return 1}
called by 1: main
9func bg_copy(a:*i64,b:*i64,n:i64)->i64{var i:i64=0;while i<n{b[i]=a[i];i=i+1};return 0}
called by 1: main
10func main()->i64