code wiki / _hdl_build / nx_nofloat_serve_live_gate.nx

nx_nofloat_serve_live_gate.nx

buildroot/runtime/_hdl_build/nx_nofloat_serve_live_gate.nx

5641 B95 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic nofloat
docsdependenciesstructsconstsfunctions

about

nx_nofloat_serve_live_gate.nx -- LIVE socket proof for the no-float LLM daemon: connects to 127.0.0.1:8032 over a REAL TCP socket (not the in-process handler), sends GET /health and POST /gen, prints the raw response bytes, and asserts the readable completion comes back over the wire. This is the "paste live bytes" proof that the deployed daemon actually serves. Requires nx_nofloat_serve already running on :8032. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_connect.nx nx_nofloat_serve_live_gate.nx

imports: nx_syscalls.nxnx_connect.nx

imported by: nobody (leaf or entry point)

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

main lv_puts sys_write sys_mmap lv_do sys_socket sys_mmap ↻ lv_addr nx_connect_bounded nx_fcntl sys_connect sys_mmap ↻ sys_poll sys_close lv_slen sys_write ↻ sys_read sys_write ↻ lv_has lv_slen ↻ lv_pn sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

9func lv_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
10func lv_pn(v: i64) -> i64 { let b: *u8=sys_mmap(28); var m: i64=v; if m<0{sys_write(1,"-" as *u8,1);m=0-m} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{b[i]=t[k-1-i];i=i+1} sys_write(1,b,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
11func lv_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 2: lv_haslv_do
12func lv_has(buf: *u8, n: i64, needle: *u8) -> i64
called by 1: main calls 1: lv_slen
25func lv_addr(out: *u8, port: i64) -> i64
called by 1: lv_do
32func lv_do(req: *u8, resb: *u8, cap: i64) -> i64
51func main() -> i64