code wiki / (root) / sketch_entropy_test.nx

sketch_entropy_test.nx

buildroot/runtime/sketch_entropy_test.nx

3814 B123 linesdepth 6pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic sketch
docsdependenciesstructsconstsfunctions

about

sketch_entropy_test.nx -- streaming Shannon entropy verification.

dependencies 3 imports · 0 importers

syscalls.nx sketch_entropy.nx sketch_types.nx sketch_entropy_test.nx

imports: syscalls.nxsketch_entropy.nxsketch_types.nx

imported by: nobody (leaf or entry point)

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

main nx_ent_alloc nx_hmap_alloc nx_hmap_is_pow2 nx_ent_bits_ppm nx_ent_log2_floor nx_hmap_next nx_hmap_entry_at nx_hmap_entry_at ↻ nx_ent_n_total nx_ent_add nx_hmap_get nx_hmap_probe_find nx_hmap_hash nx_hmap_entry_at ↻ nx_hmap_entry_at ↻ nx_hmap_put nx_hmap_probe_insert nx_hmap_hash ↻ nx_hmap_entry_at ↻ nx_hmap_entry_at ↻ nx_ent_n_distinct nx_hmap_size iabs nx_ent_query nx_ent_bits_ppm ↻ nx_approx_new nx_hmap_size ↻

structs

none

consts

none

functions

7func iabs(x: i64) -> i64 {
called by 1: main
12func main() -> i64 {