code wiki / _hdl_build / nx_sovgit_rtprobe.nx

nx_sovgit_rtprobe.nx

buildroot/runtime/_hdl_build/nx_sovgit_rtprobe.nx

2558 B68 linesdepth 8pulls 13 transitivereach 0 importersview sourcekind tooltopic sovgit
docsdependenciesstructsconstsfunctions

about

nx_sovgit_rtprobe.nx -- diagnostic: dfe_compress -> nx_zlib_inflate round-trip over generated data. argv[1] = size, argv[2] = mode (0=LCG random, 1=zeros, 2=repeating 64B pattern). Prints zlen/err/out and the FIRST divergence offset (-1 = byte-exact). license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_sovgit_obj.nx nx_sovgit_rtprobe.nx

imports: nx_sovgit_obj.nx

imported by: nobody (leaf or entry point)

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

main rt_w rt_atoi sg_zwrap dfe_compress sys_mmap dfe_fill_tables dfe_deflate sys_mmap ↻ dfe_bits dfe_hash dfe_matchlen dfe_sym dfe_bits ↻ dfe_rev dfe_rev ↻ sys_munmap sys_munmap ↻ sg_be32 adler32 nx_zlib_inflate sys_mmap ↻ nx_deflate_inflate sys_mmap ↻ nx_bitstream_alloc sys_mmap ↻ _deflate_inflate_block nx_bitstream_read_lsb nx_bitstream_bits_remainin _bs_peek_byte nx_bitstream_byte_align nx_bitstream_read_byte_ali nx_bitstream_byte_align ↻ _deflate_build_static_litl sys_mmap ↻ nx_huffman_build sys_mmap ↻ _deflate_build_static_dist sys_mmap ↻ nx_huffman_build ↻

structs

none

consts

5const K_MAGIC_88172645463325252: i64 = 88172645463325252
6const K_MAGIC_4096: i64 = 4096
7const K_MAGIC_65536: i64 = 65536

functions

9func rt_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main
10func rt_n(v: i64) -> i64
called by 1: main
22func rt_atoi(s: *u8) -> i64
called by 1: main
28func main(argc: i64, argv: *i64) -> i64