code wiki / (root) / nx_bench_tsv_persist_test.nx

nx_bench_tsv_persist_test.nx

buildroot/runtime/nx_bench_tsv_persist_test.nx

6798 B141 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic bench
docsdependenciesstructsconstsfunctions

about

nx_bench_tsv_persist_test.nx -- smoke: write rows + read back + verify. Substrate-honest persistence test: write 2 sample TSV rows to a real file in /tmp, reopen for read, slurp bytes back, assert content matches what was written. This is the loop the s-class comparison campaign needs: write -> read -> compare.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_bench_tsv_persist.nx nx_bench_tsv_persist_test.nx

imports: nx_syscalls.nxnx_tier.nxnx_bench_tsv_persist.nx

imported by: nobody (leaf or entry point)

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

main nx_bcps_v_is_valid sys_mmap sys_openat_wr sys_close nx_bc_persist_row nx_bc_persist_open_append _bcps_null_terminate sys_mmap ↻ sys_openat_append nx_bc_persist_write sys_write sys_close ↻ nx_bc_persist_close sys_close ↻ sys_openat_rd sys_read nx_bc_persist_open_append ↻ nx_bc_persist_write ↻ nx_bc_persist_close ↻

structs

none

consts

none

functions

12func main() -> i64