Lens AI Profiler Cpp
Classes | Static Public Member Functions | List of all members
datasketches::kll_helper Class Reference

Classes

struct  compress_result
 

Static Public Member Functions

static bool is_even (uint32_t value)
 
static bool is_odd (uint32_t value)
 
static uint8_t floor_of_log2_of_fraction (uint64_t numer, uint64_t denom)
 
static uint8_t ub_on_num_levels (uint64_t n)
 
static uint32_t compute_total_capacity (uint16_t k, uint8_t m, uint8_t num_levels)
 
static uint16_t level_capacity (uint16_t k, uint8_t numLevels, uint8_t height, uint8_t min_wid)
 
static uint16_t int_cap_aux (uint16_t k, uint8_t depth)
 
static uint16_t int_cap_aux_aux (uint16_t k, uint8_t depth)
 
static uint64_t sum_the_sample_weights (uint8_t num_levels, const uint32_t *levels)
 
template<typename T >
static void randomly_halve_down (T *buf, uint32_t start, uint32_t length)
 
template<typename T >
static void randomly_halve_up (T *buf, uint32_t start, uint32_t length)
 
template<typename T , typename C >
static void merge_sorted_arrays (T *buf, uint32_t start_a, uint32_t len_a, uint32_t start_b, uint32_t len_b, uint32_t start_c)
 
template<typename T , typename C >
static void merge_sorted_arrays (const T *buf_a, uint32_t start_a, uint32_t len_a, const T *buf_b, uint32_t start_b, uint32_t len_b, T *buf_c, uint32_t start_c)
 
template<typename T , typename C >
static compress_result general_compress (uint16_t k, uint8_t m, uint8_t num_levels_in, T *items, uint32_t *in_levels, uint32_t *out_levels, bool is_level_zero_sorted)
 
template<typename T >
static void copy_construct (const T *src, size_t src_first, size_t src_last, T *dst, size_t dst_first)
 
template<typename T >
static void move_construct (T *src, size_t src_first, size_t src_last, T *dst, size_t dst_first, bool destroy)
 

The documentation for this class was generated from the following files: