code wiki / (root) / nx_bencode_test.nx

nx_bencode_test.nx

buildroot/runtime/nx_bencode_test.nx

2003 B59 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_bencode_test.nx -- KAT for the bencode parser on real .torrent structure. Native sovereign lane; exit 0 = pass, N = assertion N failed.

dependencies 2 imports · 0 importers

nx_str.nx nx_bencode.nx nx_bencode_test.nx

imports: nx_str.nxnx_bencode.nx

imported by: nobody (leaf or entry point)

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

main nx_bc_dict_get sys_mmap nx_bc_str _bc_is_digit _bc_bytes_eq nx_bc_skip _bc_is_digit ↻ nx_bc_type _bc_is_digit ↻ nx_bc_str ↻ _streq nx_str_len nx_bc_int _bc_is_digit ↻

structs

none

consts

none

functions

7func _streq(buf: *u8, off: i64, s: *u8) -> i64
called by 1: main calls 1: nx_str_len
14func main() -> i64