github.com/jackc/pgconn/stmtcache.LRU.l (field)
10 uses
github.com/jackc/pgconn/stmtcache (current package)
lru.go#L21: l *list.List
lru.go#L38: l: list.New(),
lru.go#L57: c.l.MoveToFront(el)
lru.go#L61: if c.l.Len() == c.cap {
lru.go#L73: el := c.l.PushFront(psd)
lru.go#L81: for c.l.Len() > 0 {
lru.go#L113: c.l.Remove(elem)
lru.go#L125: return c.l.Len()
lru.go#L149: oldest := c.l.Back()
lru.go#L150: c.l.Remove(oldest)
![]() |
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. |