github.com/golang/groupcache/lru.Cache.ll (field)
11 uses
github.com/golang/groupcache/lru (current package)
lru.go#L32: ll *list.List
lru.go#L50: ll: list.New(),
lru.go#L59: c.ll = list.New()
lru.go#L62: c.ll.MoveToFront(ee)
lru.go#L66: ele := c.ll.PushFront(&entry{key, value})
lru.go#L68: if c.MaxEntries != 0 && c.ll.Len() > c.MaxEntries {
lru.go#L79: c.ll.MoveToFront(ele)
lru.go#L100: ele := c.ll.Back()
lru.go#L107: c.ll.Remove(e)
lru.go#L120: return c.ll.Len()
lru.go#L131: c.ll = 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. |