code wiki / (root) / sketch_varopt_test.nx

sketch_varopt_test.nx

buildroot/runtime/sketch_varopt_test.nx

3917 B111 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic sketch
docsdependenciesstructsconstsfunctions

about

sketch_varopt_test.nx -- Weighted reservoir sampling verification.

dependencies 3 imports · 0 importers

syscalls.nx sketch_varopt.nx sketch_types.nx sketch_varopt_test.nx

imports: syscalls.nxsketch_varopt.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_varopt_alloc nx_varopt_add nx_varopt_key nx_varopt_rng_next nx_varopt_bitlen nx_varopt_entry_at nx_varopt_entry_at ↻ nx_varopt_query_mean nx_varopt_weighted_mean nx_varopt_entry_at ↻ nx_varopt_bitlen ↻ nx_approx_new

structs

none

consts

none

functions

7func main() -> i64 {