MCPcopy Create free account

hub / github.com/cloudflare/golibs / types & classes

Types & classes46 in github.com/cloudflare/golibs

↓ 1 callersTypeAliaselslice
spacesaving/tools/perfect.go:19
↓ 1 callersTypeAliassseSlice
spacesaving/rate.go:164
StructBytePool
bytepool/bytepool.go:17
InterfaceCache
Cache interface is fulfilled by the LRUCache and MultiLRUCache implementations.
lrucache/cache.go:29
StructCircularBuffer
circularbuffer/circularbuffer.go:47
StructConn
Conn represents a connection to a kyoto tycoon endpoint. It uses a connection pool to efficiently communicate with the server. Conn is safe for concur
kt/kt.go:65
StructCount
spacesaving/count.go:11
StructElement
spacesaving/count.go:62
StructElement
spacesaving/tools/perfect.go:14
TypeAliasEncoding
kt/kt.go:712
StructError
Error is returned by all functions in this package.
kt/kt.go:45
StructEwma
ewma/ewma.go:19
StructEwmaRate
ewma/rate.go:13
StructFilter
Filter implements a token bucket filter.
tokenbucket/bucket.go:15
InterfaceGenericCache
lrucache/benchmark/main.go:21
StructKV
KV uses an explicit structure here rather than a map[string][]byte because we need ordered data.
kt/kt.go:622
StructLRUCache
LRUCache data structure. Never dereference it or copy it by value. Always use it through a pointer.
lrucache/lrucache.go:24
StructMCache
lrucache/benchmark/mcache.go:18
StructMultiLRUCache
MultiLRUCache data structure. Never dereference it or copy it by value. Always use it through a pointer.
lrucache/multilru.go:12
StructPool
A Pool is a set of temporary objects that may be individually saved and retrieved. Any item stored in the Pool may be removed automatically by the im
pool/pool.go:38
StructRate
spacesaving/rate.go:85
StructRateElement
spacesaving/rate.go:158
StructSimpleRate
spacesaving/srate.go:52
InterfaceStackGetter
An interface used to get items from the stack.
circularbuffer/circularbuffer.go:38
InterfaceStackPusher
An interface used to add things to the stack.
circularbuffer/circularbuffer.go:27
StructTrackedConn
TrackedConn is a wrapper around kt.Conn that will accept a prometheus counter vector, and keep track of number of IO operations made to KT.
kt/kt_metrics.go:12
StructVCache
lrucache/benchmark/vcache.go:9
StructValue
lrucache/benchmark/vcache.go:19
Structbucket
spacesaving/rate.go:23
StructcountBucket
spacesaving/count.go:5
FuncTypedecodefunc
decodefunc takes a byte slice and decodes the value in place. It returns a slice pointing into the original byte slice. It is used for decoding the in
kt/kt.go:848
Structelement
Element is an element of a linked list.
lrucache/list.go:48
Structentry
Every element in the cache is linked to three data structures: Table map, PriorityQueue heap ordered by expiry and a LruList list ordered by decreasin
lrucache/lrucache.go:14
StructidxEl
spacesaving/rate.go:32
Structitem
tokenbucket/bucket.go:9
Structlist
List represents a doubly linked list. The zero value for List is an empty list ready to use.
lrucache/list.go:81
FuncTypemakeCache
func(capacity uint64) lrucache.Cache
lrucache/benchmark/mcache.go:24
Structpool
bytepool/bytepool.go:12
TypeAliaspriorityQueue
lrucache/priorityqueue.go:7
StructsrateBucket
spacesaving/srate.go:11
StructsrateElement
spacesaving/srate.go:117
TypeAliassrateHeap
spacesaving/srate.go:22
StructssHeap
spacesaving/rate.go:37
StructtestTupleEwma
ewma/ewma_test.go:10
StructtestTupleRate
ewma/rate_test.go:10
StructunixDialer
kt/kt.go:294