code wiki / _hdl_build / nx_meet_store_gate.nx

nx_meet_store_gate.nx

buildroot/runtime/_hdl_build/nx_meet_store_gate.nx

3273 B44 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic meet
docsdependenciesstructsconstsfunctions

about

nx_meet_store_gate.nx -- liar-kill gate for P4 (durable member/application store over the seg-store). Proves store -> read-back byte-exact, the meet:ids index tracks ids, an UPDATE (latest-value-wins) reflects the new record (PENDING -> MEMBER), an absent id reads -1, and a never-stored id is not indexed (teeth). Idempotent-safe on a persistent store. expect_exit: 0

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_meet_lib.nx nx_meet_store.nx nx_meet_store_gate.nx

imports: nx_syscalls.nxnx_meet_lib.nxnx_meet_store.nx

imported by: nobody (leaf or entry point)

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

main mputs sys_write mlen sys_mmap meet_store_put sys_mmap ↻ mcat 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 meet_idx_has mlen ↻ mlen ↻ ss_begin ss_begin_cap sys_mmap ↻ ss_add ss_add2 ss_w32 ss_len ↻ meet_seg_next sys_mmap ↻ ss_manifest ss_manifest_file sys_mmap ↻ ss_cat ↻

structs

none

consts

none

functions

9func eq_n(buf: *u8, len: i64, exp: *u8) -> i64
called by 1: main calls 1: mlen
16func main() -> i64