MCPcopy Create free account

hub / github.com/clarkduvall/hyperloglog / functions

Functions99 in github.com/clarkduvall/hyperloglog

↓ 110 callersMethodAdd
(i uint32)
common.go:21
↓ 35 callersMethodCount
Count returns the cardinality estimate.
hyperloglog.go:74
↓ 28 callersFunctionNewPlus
NewPlus returns a new initialized HyperLogLogPlus that uses the HyperLogLog++ algorithm.
hyperloglogplus.go:108
↓ 26 callersMethodNext
()
compressed.go:15
↓ 18 callersMethodencodeHash
Encode a hash to be used in the sparse representation.
hyperloglogplus.go:28
↓ 15 callersMethodMerge
Merge takes another HyperLogLog and combines it with HyperLogLog h.
hyperloglog.go:60
↓ 14 callersFunctioneb32
Extract bits from uint32 using LSB 0 numbering, including lo.
common.go:85
↓ 14 callersFunctioneb64
Extract bits from uint64 using LSB 0 numbering, including lo.
common.go:91
↓ 13 callersMethodAppend
(x uint32)
compressed.go:52
↓ 12 callersFunctionNew
New returns a new initialized HyperLogLog.
hyperloglog.go:30
↓ 11 callersFunctionclz32
This optimized clz32 algorithm is from: http://embeddedgurus.com/state-space/2014/09/ fast-deterministic-and-portable-counting-leading-zeros/
common.go:41
↓ 10 callersMethodIter
()
compressed.go:6
↓ 10 callersFunctioncountZeros
(s []uint8)
common.go:101
↓ 8 callersFunctionclz64
(x uint64)
common.go:76
↓ 8 callersMethoddecodeHash
Decode a hash from the sparse representation.
hyperloglogplus.go:47
↓ 8 callersMethodtoNormal
Converts HyperLogLogPlus h to the normal representation from the sparse representation.
hyperloglogplus.go:132
↓ 6 callersMethodHasNext
()
compressed.go:27
↓ 6 callersFunctionbenchmark
(precision uint8, n int)
bench_test.go:29
↓ 6 callersMethodmergeSparse
Merge tmpSet and sparseList in the sparse representation. Converts to normal if the sparse list is too large
hyperloglogplus.go:59
↓ 5 callersFunctionalpha
(m uint32)
common.go:23
↓ 5 callersMethodestimateBias
Estimates the bias using empirically determined values.
hyperloglogplus.go:216
↓ 5 callersFunctionnewCompressedList
(size int)
compressed.go:37
↓ 4 callersMethodPeek
()
compressed.go:22
↓ 4 callersMethodmergeSparseAndToNormal
()
hyperloglogplus.go:99
↓ 3 callersMethodLen
()
compressed.go:5
↓ 3 callersFunctioncalculateEstimate
(s []uint8)
common.go:111
↓ 3 callersMethoddecode
(i int, last uint32)
compressed.go:4
↓ 3 callersFunctionlinearCounting
(m uint32, v uint32)
common.go:96
↓ 2 callersMethodAdd
Add adds a new item to HyperLogLogPlus h.
hyperloglogplus.go:147
↓ 2 callersMethodClear
Clear sets HyperLogLog h back to its initial state.
hyperloglog.go:43
↓ 2 callersFunctionhash32
(s string)
bench_test.go:12
↓ 2 callersFunctionhash64
(s string)
bench_test.go:18
↓ 2 callersMethodmaybeMerge
Merges tmpSet if it exceeds the threshold
hyperloglogplus.go:209
↓ 1 callersMethodSum32
()
common.go:6
↓ 1 callersMethodSum64
()
common.go:10
↓ 1 callersFunctionabs
(x int64)
hyperloglogplus_test.go:15
↓ 1 callersMethodgetIndex
Get the index of precision p from the sparse representation.
hyperloglogplus.go:39
↓ 1 callersFunctionrandStr
(n int)
bench_test.go:24
MethodAdd
Add adds a new item to HyperLogLog h.
hyperloglog.go:48
MethodAppend
(x uint32)
compressed.go:82
FunctionBenchmarkHll10
(b *testing.B)
bench_test.go:64
FunctionBenchmarkHll14
(b *testing.B)
bench_test.go:68
FunctionBenchmarkHll16
(b *testing.B)
bench_test.go:72
FunctionBenchmarkHll4
(b *testing.B)
bench_test.go:52
FunctionBenchmarkHll6
(b *testing.B)
bench_test.go:56
FunctionBenchmarkHll8
(b *testing.B)
bench_test.go:60
MethodClear
Clear sets HyperLogLogPlus h back to its initial state.
hyperloglogplus.go:123
MethodCount
Count returns the cardinality estimate.
hyperloglogplus.go:240
MethodGobDecode
Decode gob into a HyperLogLog structure
hyperloglog.go:104
MethodGobDecode
Decode gob into a HyperLogLogPlus structure
hyperloglogplus.go:297
MethodGobEncode
Encode HyperLogLog into a gob
hyperloglog.go:88
MethodGobEncode
Encode HyperLogLogPlus into a gob
hyperloglogplus.go:264
MethodIter
()
compressed.go:58
MethodIter
()
compressed.go:68
MethodLen
()
common.go:15
MethodLen
()
compressed.go:43
MethodLen
()
compressed.go:64
MethodLess
(i, j int)
common.go:16
MethodMerge
Merge takes another HyperLogLogPlus and combines it with HyperLogLogPlus h.
hyperloglogplus.go:164
MethodSum32
()
hyperloglog_test.go:12
MethodSum64
()
hyperloglogplus_test.go:13
MethodSwap
(i, j int)
common.go:17
FunctionTestAlpha
(t *testing.T)
common_test.go:233
FunctionTestCLZ32
(t *testing.T)
common_test.go:8
FunctionTestCLZ64
(t *testing.T)
common_test.go:55
FunctionTestCalculateEstimate
(t *testing.T)
common_test.go:255
FunctionTestCompressedList
(t *testing.T)
compressed_test.go:69
FunctionTestCountZeros
(t *testing.T)
common_test.go:191
FunctionTestEB32
(t *testing.T)
common_test.go:87
FunctionTestEB64
(t *testing.T)
common_test.go:139
FunctionTestHLLAdd
(t *testing.T)
hyperloglog_test.go:14
FunctionTestHLLClear
(t *testing.T)
hyperloglog_test.go:125
FunctionTestHLLCount
(t *testing.T)
hyperloglog_test.go:54
FunctionTestHLLError
(t *testing.T)
hyperloglog_test.go:169
FunctionTestHLLGob
(t *testing.T)
hyperloglog_test.go:181
FunctionTestHLLMerge
(t *testing.T)
hyperloglog_test.go:85
FunctionTestHLLMergeError
(t *testing.T)
hyperloglog_test.go:75
FunctionTestHLLMergeMixed
(t *testing.T)
hyperloglogplus_test.go:274
FunctionTestHLLMergeMixedConvertToNormal
(t *testing.T)
hyperloglogplus_test.go:319
FunctionTestHLLMergeNormal
(t *testing.T)
hyperloglogplus_test.go:232
FunctionTestHLLMergeSparse
(t *testing.T)
hyperloglogplus_test.go:184
FunctionTestHLLPPAddNoSparse
(t *testing.T)
hyperloglogplus_test.go:22
FunctionTestHLLPPClear
(t *testing.T)
hyperloglogplus_test.go:342
FunctionTestHLLPPCount
(t *testing.T)
hyperloglogplus_test.go:153
FunctionTestHLLPPEncodeDecode
(t *testing.T)
hyperloglogplus_test.go:457
FunctionTestHLLPPError
(t *testing.T)
hyperloglogplus_test.go:500
FunctionTestHLLPPEstimateBias
(t *testing.T)
hyperloglogplus_test.go:126
FunctionTestHLLPPEstimateBiasCount
(t *testing.T)
hyperloglogplus_test.go:545
FunctionTestHLLPPGob
(t *testing.T)
hyperloglogplus_test.go:517
FunctionTestHLLPPMerge
(t *testing.T)
hyperloglogplus_test.go:364
FunctionTestHLLPPMergeError
(t *testing.T)
hyperloglogplus_test.go:174
FunctionTestHLLPPPrecisionNoSparse
(t *testing.T)
hyperloglogplus_test.go:63
FunctionTestHLLPPToNormal
(t *testing.T)
hyperloglogplus_test.go:86
FunctionTestHLLPPToNormalWhenCountIsCalledOften
(t *testing.T)
hyperloglogplus_test.go:577
FunctionTestHLLPPToNormalWhenSparseIsTooBig
(t *testing.T)
hyperloglogplus_test.go:560
FunctionTestHLLPrecision
(t *testing.T)
hyperloglog_test.go:147
FunctionTestVariableLengthList
(t *testing.T)
compressed_test.go:8
Methoddecode
(i int, last uint32)
compressed.go:47
Methoddecode
(i int, last uint32)
compressed.go:72