MCPcopy Create free account

hub / github.com/eclesh/hyperloglog / functions

Functions20 in github.com/eclesh/hyperloglog

↓ 7 callersFunctionbenchmarkCount
(b *testing.B, registers int)
hyperloglog_test.go:87
↓ 3 callersMethodCount
Get the estimated count.
hyperloglog.go:92
↓ 3 callersMethodReset
Reset all internal variables and set the count to zero.
hyperloglog.go:66
↓ 2 callersMethodAdd
Add to the count. val should be a 32 bit unsigned integer from a good hash function.
hyperloglog.go:82
↓ 2 callersFunctionNew
Return a new HyperLogLog with the given number of registers. More registers leads to lower error in your estimated count, at the expense of memory. C
hyperloglog.go:53
↓ 2 callersFunctiondictionary
Return a dictionary up to n words. If n is zero, return the entire dictionary.
hyperloglog_test.go:15
↓ 2 callersFunctiontestHyperLogLog
(t *testing.T, n, low_b, high_b int)
hyperloglog_test.go:47
↓ 1 callersFunctionget_alpha
Compute bias correction alpha_m.
hyperloglog.go:28
↓ 1 callersFunctiongeterror
(actual uint64, estimate uint64)
hyperloglog_test.go:43
↓ 1 callersFunctionrho
Calculate the position of the leftmost 1-bit.
hyperloglog.go:71
FunctionBenchmarkCount10
(b *testing.B)
hyperloglog_test.go:133
FunctionBenchmarkCount4
(b *testing.B)
hyperloglog_test.go:109
FunctionBenchmarkCount5
(b *testing.B)
hyperloglog_test.go:113
FunctionBenchmarkCount6
(b *testing.B)
hyperloglog_test.go:117
FunctionBenchmarkCount7
(b *testing.B)
hyperloglog_test.go:121
FunctionBenchmarkCount8
(b *testing.B)
hyperloglog_test.go:125
FunctionBenchmarkCount9
(b *testing.B)
hyperloglog_test.go:129
MethodMerge
Merge another HyperLogLog into this one. The number of registers in each must be the same.
hyperloglog.go:119
FunctionTestHyperLogLogBig
(t *testing.T)
hyperloglog_test.go:83
FunctionTestHyperLogLogSmall
(t *testing.T)
hyperloglog_test.go:79