Searched refs:sparse (Results 1 – 3 of 3) sorted by relevance
| /redis-3.2.3/tests/unit/ |
| H A D | hyperloglog.tcl | 42 test {HyperLogLogs are promote from sparse to dense} { 55 assert {[r pfdebug encoding hll] eq {sparse}} 62 test {HyperLogLog sparse encoding stress test} { 75 assert {[r pfdebug encoding hll1] eq {sparse}} 82 test {Corrupted sparse HyperLogLogs are detected: Additionl at tail} { 91 test {Corrupted sparse HyperLogLogs are detected: Broken magic} { 100 test {Corrupted sparse HyperLogLogs are detected: Invalid encoding} {
|
| /redis-3.2.3/src/ |
| H A D | hyperloglog.c | 569 sds sparse = o->ptr, dense; in hllSparseToDense() local 570 struct hllhdr *hdr, *oldhdr = (struct hllhdr*)sparse; in hllSparseToDense() 572 uint8_t *p = (uint8_t*)sparse, *end = p+sdslen(sparse); in hllSparseToDense() 575 hdr = (struct hllhdr*) sparse; in hllSparseToDense() 640 uint8_t oldcount, count, *sparse, *end, *p, *prev, *next; in hllSparseAdd() local 660 sparse = p = ((uint8_t*)o->ptr) + HLL_HDR_SIZE; in hllSparseAdd() 831 p = prev ? prev : sparse; in hllSparseAdd() 888 double hllSparseSum(uint8_t *sparse, int sparselen, double *PE, int *ezp, int *invalid) { in hllSparseSum() argument 891 uint8_t *end = sparse+sparselen, *p = sparse; in hllSparseSum()
|
| /redis-3.2.3/ |
| H A D | redis.conf | 972 hll-sparse-max-bytes 3000
|