code wiki / (root) / nx_lib_store_test.nx

nx_lib_store_test.nx

buildroot/runtime/nx_lib_store_test.nx

3000 B78 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic lib
docsdependenciesstructsconstsfunctions

about

nx_lib_store_test.nx -- sovereign gate for the catalog store (SQLite replacement). Proves PARITY (put / get round-trip / absent / enumerate / count / update-in-place) on the durable sovereign seg_store. Exit = failed assertion #; 0 = all pass.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_lib_store.nx nx_lib_store_test.nx

imports: nx_syscalls.nxnx_lib_store.nx

imported by: nobody (leaf or entry point)

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

main ls_strlen nx_lib_store_put_work sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ ls_key ls_cat ss_next_segid ss_max_segid sys_mmap ↻ ss_cat ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ss_segid_ok ss_begin ss_begin_cap sys_mmap ↻ ss_add ss_add2 ss_w32 ss_len ss_get sys_mmap ↻

structs

none

consts

none

functions

8func lst_eq(a: *u8, alen: i64, b: *u8, blen: i64) -> i64
called by 1: main
15func lst_has(hay: *u8, hayn: i64, needle: *u8) -> i64
called by 1: main calls 1: ls_strlen
34func main() -> i64