code wiki / (root) / nx_tools_timing_serve_gate.nx

nx_tools_timing_serve_gate.nx

buildroot/runtime/nx_tools_timing_serve_gate.nx

15149 B261 linesdepth 11pulls 38 transitivereach 0 importersview sourcekind gate/prooftopic tools
docsdependenciesstructsconstsfunctions

about

Source-linked staged serve_one integration. No daemon startup/seed. Private pinned fixture only.

dependencies 3 imports · 0 importers

nx_tools_api_serve.nx nx_connect.nx nx_gate_verdict.nx nx_tools_timing_serve_gate.nx

imports: nx_tools_api_serve.nxnx_connect.nxnx_gate_verdict.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 tg_num gv_ctr 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 ↻ gv_head gv_puts ↻ tg_put gv_check gv_puts ↻ gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_puts ↻ gv_num ↻ gv_journal sys_openat_append

structs

none

consts

5const TG_PRIVATE: i64 = 448
6const TG_FILE: i64 = 384
7const TG_EXEC: i64 = 448
8const TG_I64_MAX: i64 = 9223372036854775807
9const TG_MS_PER_SEC: i64 = 1000
10const TG_SOL_SOCKET: i64 = 1
11const TG_SO_LINGER: i64 = 13
12const TG_LINGER_BYTES: i64 = 8
13const TG_WAIT_NOHANG: i64 = 1
14const TG_SIGKILL: i64 = 9
15const TG_PORT_MAX: i64 = 65535
16const TG_SECRET: *u8 = "timing-serve-gate-only-key-not-a-production-capability" as *u8

functions

20func tg_num(s: *u8) -> i64
called by 1: main
30func tg_put(path: *u8, b: *u8, n: i64, mode: i64) -> i64
called by 2: tg_casemain
37func tg_has(b: *u8, n: i64, s: *u8) -> i64 { if (b as i64) <= 0 { return 0 }; if ta_indexof(b,n,s) >= 0 { return 1 }; return 0 }
called by 2: tg_rowhastg_case
38func tg_rowhas(b: *u8, n: i64, tool: *u8, phase: *u8, token: *u8) -> i64
called by 1: tg_case calls 1: tg_has
51func tg_wait(pid: i64) -> i64
called by 1: tg_case
62func tg_case(lfd: i64, addr: *u8, tool: *u8, async: i64, disconnected: i64, phase: *u8, ctr: *i64) -> i64
187func main(argc: i64, argv: *i64) -> i64