Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eclesh/hyperloglog
/ functions
Functions
20 in github.com/eclesh/hyperloglog
⨍
Functions
20
◇
Types & classes
1
↓ 7 callers
Function
benchmarkCount
(b *testing.B, registers int)
hyperloglog_test.go:87
↓ 3 callers
Method
Count
Get the estimated count.
hyperloglog.go:92
↓ 3 callers
Method
Reset
Reset all internal variables and set the count to zero.
hyperloglog.go:66
↓ 2 callers
Method
Add
Add to the count. val should be a 32 bit unsigned integer from a good hash function.
hyperloglog.go:82
↓ 2 callers
Function
New
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 callers
Function
dictionary
Return a dictionary up to n words. If n is zero, return the entire dictionary.
hyperloglog_test.go:15
↓ 2 callers
Function
testHyperLogLog
(t *testing.T, n, low_b, high_b int)
hyperloglog_test.go:47
↓ 1 callers
Function
get_alpha
Compute bias correction alpha_m.
hyperloglog.go:28
↓ 1 callers
Function
geterror
(actual uint64, estimate uint64)
hyperloglog_test.go:43
↓ 1 callers
Function
rho
Calculate the position of the leftmost 1-bit.
hyperloglog.go:71
Function
BenchmarkCount10
(b *testing.B)
hyperloglog_test.go:133
Function
BenchmarkCount4
(b *testing.B)
hyperloglog_test.go:109
Function
BenchmarkCount5
(b *testing.B)
hyperloglog_test.go:113
Function
BenchmarkCount6
(b *testing.B)
hyperloglog_test.go:117
Function
BenchmarkCount7
(b *testing.B)
hyperloglog_test.go:121
Function
BenchmarkCount8
(b *testing.B)
hyperloglog_test.go:125
Function
BenchmarkCount9
(b *testing.B)
hyperloglog_test.go:129
Method
Merge
Merge another HyperLogLog into this one. The number of registers in each must be the same.
hyperloglog.go:119
Function
TestHyperLogLogBig
(t *testing.T)
hyperloglog_test.go:83
Function
TestHyperLogLogSmall
(t *testing.T)
hyperloglog_test.go:79