code wiki / (root) / nx_ioconfirm_integration_gate.nx

nx_ioconfirm_integration_gate.nx

buildroot/runtime/nx_ioconfirm_integration_gate.nx

11922 B236 linesdepth 5pulls 8 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

LOCAL UNBUILT selective fixture harness. No production output paths are accepted. args: producer existing-absolute-parent case timeout-ms capture-bytes samples gap-ms max-age-s

dependencies 4 imports · 0 importers

nx_gate_verdict.nx nx_tool_run.nx nx_build_canon_input_lib.nx nx_atomic_rewrite.nx nx_ioconfirm_integration_gate.

imports: nx_gate_verdict.nxnx_tool_run.nxnx_build_canon_input_lib.nxnx_atomic_rewrite.nx

imported by: nobody (leaf or entry point)

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

main gv_puts sys_write ig_selector ig_eq ig_num ig_len ig_len ↻ ig_parent ig_len ↻ bci_relative_path bci_path_char ig_exists gv_cat gv_catn 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 ↻ sys_munmap ig_join ig_len ↻ gv_cat ↻ gv_ctr sys_mmap ↻ gv_head gv_puts ↻ ig_writer ig_join ↻

structs

none

consts

7const IG_PATH: i64 = 4096
8const IG_FILE_MODE: i64 = 384
9const IG_DIR_MODE: i64 = 448
10const IG_EINVAL: i64 = 0 - 22
11const IG_SETUP: i64 = 90
12const IG_PTR: i64 = 8
13const IG_ARG_SLOTS: i64 = 6
15const IG_SAMPLE_MAX: i64 = 15
17const IG_PARENT_MAX: i64 = 320
18const IG_OLD: *u8 = "ts=1\nncpu=1\nblocked_confirmed=1\nproducer=fixture-old\n"
19const IG_NEW: *u8 = "fixture-new-complete-snapshot\n"

functions

20func ig_len(p: *u8) -> i64 { var n: i64 = 0; while p[n] != (0 as u8) { n = n + 1 } return n }
21func ig_eq(a: *u8, b: *u8) -> i64
called by 1: ig_selector
27func ig_num(p: *u8) -> i64
called by 1: main calls 1: ig_len
41func ig_join(root: *u8, rel: *u8) -> *u8
48func ig_exists(path: *u8) -> i64
called by 1: main
55func ig_parent(path: *u8) -> i64
called by 1: main calls 2: ig_lenbci_relative_path
77func ig_file_equal(path: *u8, bytes: *u8, n: i64) -> i64
98func ig_write(path: *u8, buf: *u8, n: i64) -> i64
called by 2: ig_writerig_producer calls 1: ig_file_equal
113func ig_selector(s: *u8) -> i64
called by 1: main calls 1: ig_eq
123func ig_writer(root: *u8, mode: i64, ctr: *i64) -> i64
146func ig_producer(root: *u8, producer: *u8, mode: i64, timeout: i64, cap: i64, samples: *u8, gap: *u8, maxage: *u8, ctr: *i64) -> i64
202func main(argc: i64, argv: *i64) -> i64