code wiki / _hdl_build / nx_galx_durbin.nx
nx_galx_durbin.nx
buildroot/runtime/_hdl_build/nx_galx_durbin.nx
about
nx_galx_durbin.nx -- standalone refresher: (re)build galx_dur.bin from galx_dur.raw so the gallery's
/vid/<id>/dur seekbar lookup is O(1) (one 8-byte seek) instead of a 16 MB PCR re-scan. Run after the
durindex appends new durations -- NO gallery restart needed (the gallery reads galx_dur.bin fresh on
each /dur, exactly like nx_galx_vidoff refreshes galx_vid_off.bin). Idempotent; safe to run while the
durindex is still writing (append-only -> earlier ids stay correct). license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_galx_durbin_lib.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 rp(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 rn(v: i64) -> i64 |
| 19 | func main(argc: i64, argv: *i64) -> i64 |