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
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
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
structs
| none |
consts
| none |
functions
| 9 | func 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 } |
| 10 | func 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 } |
| 11 | func lv_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 12 | func lv_has(buf: *u8, n: i64, needle: *u8) -> i64 |
| 25 | func lv_addr(out: *u8, port: i64) -> i64 called by 1: lv_do |
| 32 | func lv_do(req: *u8, resb: *u8, cap: i64) -> i64 |
| 51 | func main() -> i64 |