nx_torrent_stream_gate.nx
buildroot/runtime/nx_torrent_stream_gate.nx
about
nx_torrent_stream_gate.nx -- verify the stream-while-downloading logic against REAL data, with NO
live daemon (importing nx_torrent_daemon strips its main, exposing the pure helpers). exit 0 = pass.
T1 d_video_extent on the operator's real 300MIUM download.meta -> the .mp4's exact (offset,length)
T2 d_contig_bytes computes the contiguous downloaded prefix (>0)
T3 d_parse_range "bytes=100-199" -> start/end exact
T4 d_parse_range "bytes=500-" (open-ended) -> start, end=-1
T5 NEG-CONTROL: a request with no Range header -> not present (0)
dependencies 2 imports · 0 importers
imports: nx_torrent_daemon.nxnx_assert.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
| 13 | func main() -> i64 |