MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / init

Method init

pkg/util/cache/cache.go:169–169  ·  view source on GitHub ↗

init initializes or clears all entries.

()

Source from the content-addressed store, hash-verified

167type cacheStore interface {
168 // init initializes or clears all entries.
169 init()
170 // get returns the entry by key.
171 get(key interface{}) *Entry
172 // add stores an entry.

Callers 7

initMethod · 0.65
ClearMethod · 0.65
NewUnorderedCacheFunction · 0.65
NewOrderedCacheFunction · 0.65
NewIntervalCacheFunction · 0.65
parseMethod · 0.65
WithFastValuesPreallocFunction · 0.65

Implementers 3

UnorderedCachepkg/util/cache/cache.go
OrderedCachepkg/util/cache/cache.go
IntervalCachepkg/util/cache/cache.go

Calls

no outgoing calls

Tested by

no test coverage detected