code wiki / (root) / nx_lib_serve_test.nx

nx_lib_serve_test.nx

buildroot/runtime/nx_lib_serve_test.nx

3522 B80 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic lib
docsdependenciesstructsconstsfunctions

about

nx_lib_serve_test.nx -- gate for the sovereign query/serve layer. Proves the program's READ PATH works from the sovereign store (not SQLite): put a work -> serve it as the exact API JSON, not-found -> -1, list, and JSON-escaping. Exit = failed assertion #.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_lib_serve.nx nx_lib_serve_test.nx

imports: nx_syscalls.nxnx_lib_serve.nx

imported by: nobody (leaf or entry point)

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

main 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 ↻ ss_scan

structs

none

consts

none

functions

8func lsvt_eq(a: *u8, alen: i64, b: *u8, blen: i64) -> i64
called by 1: main
14func lsvt_has(hay: *u8, hayn: i64, needle: *u8) -> i64
called by 1: main calls 1: ls_strlen
32func lsvt_has_byte(buf: *u8, n: i64, b: i64) -> i64
called by 1: main
38func main() -> i64