github.com/golang/groupcache/lru.Cache.cache (field)
15 uses
github.com/golang/groupcache/lru (current package)
lru.go#L33: cache map[interface{}]*list.Element
lru.go#L51: cache: make(map[interface{}]*list.Element),
lru.go#L57: if c.cache == nil {
lru.go#L58: c.cache = make(map[interface{}]*list.Element)
lru.go#L61: if ee, ok := c.cache[key]; ok {
lru.go#L67: c.cache[key] = ele
lru.go#L75: if c.cache == nil {
lru.go#L78: if ele, hit := c.cache[key]; hit {
lru.go#L87: if c.cache == nil {
lru.go#L90: if ele, hit := c.cache[key]; hit {
lru.go#L97: if c.cache == nil {
lru.go#L109: delete(c.cache, kv.key)
lru.go#L117: if c.cache == nil {
lru.go#L126: for _, e := range c.cache {
lru.go#L132: c.cache = nil
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |