code wiki / (root) / nx_lib_serve_test.nx

nx_lib_serve_test.nx

buildroot/runtime/nx_lib_serve_test.nx

2540 B68 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 ls_key ls_cat ss_next_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 sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ↻ ss_readall ↻ sys_munmap ss_scan_seglist ss_len ↻ sys_mmap ↻ ss_cat ↻ ss_readall ↻ ss_r32 ls_strlen ls_name_present

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