code wiki / _hdl_build / nx_video_lanes_gate.nx

nx_video_lanes_gate.nx

buildroot/runtime/_hdl_build/nx_video_lanes_gate.nx

3491 B54 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind gate/prooftopic video
docsdependenciesstructsconstsfunctions

about

nx_video_lanes_gate.nx -- source gate for the STAGED TIER-2 client (app.v2.js): striped shard-lanes + core FEC + core-packed 0x43 chat. Source-truth only (the file is STAGED, not live -- flip = point index.html at it after a browser smoke; the live room stays on the proven app.js). T1 lane rooms (room, room#1, room#2) T2 TX = core vc_fecs_pack -> 10 shards striped (0x46) T3 RX = core vc_fecrx_add collector T4 chat TX = core vc_chat_pack (0x43) T5 chat RX = core vc_chat_parse T6 tier surfaced in the UI (skilled-fallback visibility) T7 NEG: JSON chat is GONE from the v2 wire (type:"chat" absent) T8 NEG: bogus pattern absent T9 the LIVE app.js is UNTOUCHED by this staging (still carries its chat build = ratchet-safe) expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_video_lanes_gate.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main pw sys_write slen sys_mmap check filehas sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close contains slen ↻ pw ↻ pn sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

12func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 2: pwcontains
13func pw(s: *u8) -> i64 { sys_write(1,s,slen(s)); return 0 }
called by 2: checkmain calls 2: sys_writeslen
14func pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
18func contains(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: filehas calls 1: slen
23func filehas(path: *u8, pat: *u8) -> i64
called by 1: check calls 3: sys_mmapsys_read_filecontains
28func check(name: *u8, path: *u8, pat: *u8, want: i64, pass: *i64) -> i64
called by 1: main calls 2: filehaspw
35func main() -> i64