code wiki / _hdl_build / _race5_claude.nx
_race5_claude.nx
buildroot/runtime/_hdl_build/_race5_claude.nx
about
_race5_claude.nx -- the CLAUDE lane for autonomy race 5 (handwritten single-pass RIFF/WAV
chunk census; the yardstick the team lane races against). Lane contract: read
/tmp/race_input.bin, print NCHK= FMT= DATA= LIST= RSZ= as key=int lines.
Census semantics (the assignment): NCHK = well-formed chunk count, -1 = REFUSED (truncated /
bad magic / overlong length); finds = body offset RELATIVE to the chunk area (byte 12),
-2 when refused or absent; RSZ = declared u32le size at byte 4 whenever the 12-byte header
is intact, -2 otherwise. Odd chunk bodies are padded to even (RIFF law). license_tier: ORIGINAL
dependencies 1 imports · 0 importers
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
structs
| none |
consts
| none |
functions
| 10 | func r5_dec(label: *u8, v: i64) -> i64 |
| 31 | func r5_le4(b: *u8, off: i64) -> i64 |
| 39 | func r5_4cc(b: *u8, off: i64) -> i64 |
| 48 | func r5_count(b: *u8, n: i64) -> i64 |
| 62 | func r5_find(b: *u8, n: i64, t: i64) -> i64 |
| 74 | func main() -> i64 |