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

Method get

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

get returns the entry by key.

(key interface{})

Source from the content-addressed store, hash-verified

169 init()
170 // get returns the entry by key.
171 get(key interface{}) *Entry
172 // add stores an entry.
173 add(e *Entry)
174 // del removes an entry.

Callers 6

addMethod · 0.65
GetMethod · 0.65
StealthyGetMethod · 0.65
DelMethod · 0.65
newFastValuesCtxFunction · 0.65
GetMethod · 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