29 #ifndef _biomcmc_hll_h_ 30 #define _biomcmc_hll_h_ 89 void hll_add(
const hll_t *hll,
const char *data,
size_t data_len);
void hll_release(hll_t *hll)
Definition: hll.c:78
void hll_add(const hll_t *hll, const char *data, size_t data_len)
Definition: hll.c:83
Collections of hash functions for 32 and 64 bits, including one-liners, murmurhash, and xxhash.
hll_t * hll_create(size_t bucket_bits)
Definition: hll.c:32
void hll_reset(hll_t *hll)
Definition: hll.c:69
uint16_t n_empty_buckets
Definition: hll.h:43
uint64_t hll_estimate
Definition: hll.h:45
int hll_merge(const hll_t *hll1, const hll_t *hll2)
Definition: hll.c:148
int hll_get_estimate(const hll_t *hll, hll_estimate_t *estimate)
Definition: hll.c:98
uint64_t small_range_estimate
Definition: hll.h:46
uint64_t(* hll_hash_function_t)(const char *, size_t)
Definition: hll.h:59
uint64_t large_range_estimate
Definition: hll.h:47
uint64_t estimate
Definition: hll.h:44
uint16_t n_buckets
Definition: hll.h:42