Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgryski/go-topk
/ functions
Functions
20 in github.com/dgryski/go-topk
⨍
Functions
20
◇
Types & classes
5
↓ 3 callers
Function
reduce
(x uint64, n int)
topk.go:94
↓ 2 callers
Method
Estimate
Estimate returns an estimate for the item x
topk.go:160
↓ 2 callers
Method
Insert
Insert adds an element to the stream to be tracked It returns an estimation for the just inserted element
topk.go:100
↓ 2 callers
Method
Keys
Keys returns the current estimates for the most frequent elements
topk.go:153
↓ 2 callers
Function
New
New returns a Stream estimating the top n most frequent elements
topk.go:86
↓ 1 callers
Method
Push
(x interface{})
topk.go:63
Method
GobDecode
(b []byte)
topk.go:195
Method
GobEncode
()
topk.go:177
Method
Len
()
topk.go:38
Method
Len
Implement the container/heap interface
topk.go:51
Method
Len
()
topk_test.go:19
Method
Less
(i, j int)
topk.go:39
Method
Less
(i, j int)
topk.go:52
Method
Less
Actually 'Greater', since we want decreasing
topk_test.go:22
Method
Pop
()
topk.go:69
Method
Swap
(i, j int)
topk.go:42
Method
Swap
(i, j int)
topk.go:55
Method
Swap
(i, j int)
topk_test.go:26
Function
TestTopK
(t *testing.T)
topk_test.go:28
Function
main
()
cmd/topk-fss/main.go:16