code wiki / (root) / sketch_cpc_test.nx

sketch_cpc_test.nx

buildroot/runtime/sketch_cpc_test.nx

4152 B140 linesdepth 6pulls 8 transitivereach 0 importersview sourcekind gate/prooftopic sketch
docsdependenciesstructsconstsfunctions

about

sketch_cpc_test.nx -- CPC (sparse + HIP estimator) verification.

dependencies 3 imports · 0 importers

syscalls.nx sketch_cpc.nx sketch_types.nx sketch_cpc_test.nx

imports: syscalls.nxsketch_cpc.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_cpc_alloc nx_hmap_alloc nx_hmap_is_pow2 nx_cpc_n_coupons nx_hmap_size nx_cpc_big_m nx_cpc_estimate nx_cpc_add nx_cpc_coupon murmur3_32 mm_load_u32_le mm_rotl32 nx_cpc_clz32 nx_bits_clz32 nx_hmap_has nx_hmap_probe_find nx_hmap_hash nx_hmap_entry_at nx_hmap_size ↻ nx_hmap_put nx_hmap_probe_insert nx_hmap_hash ↻ nx_hmap_entry_at ↻ nx_hmap_entry_at ↻ nx_cpc_hip_add iabs nx_cpc_query nx_cpc_estimate ↻ nx_approx_new nx_cpc_stddev_rel_ppb nx_cpc_isqrt

structs

none

consts

none

functions

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