container/list.List.Len (method)
14 uses
container/list (current package)
list.go#L66: func (l *List) Len() int { return l.len }
list.go#L226: for i, e := other.Len(), other.Front(); i > 0; i, e = i-1, e.Next() {
list.go#L235: for i, e := other.Len(), other.Back(); i > 0; i, e = i-1, e.Prev() {
crypto/tls
common.go#L1388: if c.q.Len() < c.capacity {
github.com/golang/groupcache/lru
lru.go#L68: if c.MaxEntries != 0 && c.ll.Len() > c.MaxEntries {
lru.go#L120: return c.ll.Len()
github.com/google/safehtml
stylesheet.go#L99: return stack.Len() == 0
github.com/jackc/pgconn/stmtcache
lru.go#L61: if c.l.Len() == c.cap {
lru.go#L81: for c.l.Len() > 0 {
lru.go#L125: return c.l.Len()
golang.org/x/sync/semaphore
semaphore.go#L42: if s.size-s.cur >= n && s.waiters.Len() == 0 {
semaphore.go#L89: success := s.size-s.cur >= n && s.waiters.Len() == 0
golang.org/x/text/unicode/bidi
bracket.go#L148: if p.openers.Len() == maxPairingDepth {
vendor/golang.org/x/text/unicode/bidi
bracket.go#L148: if p.openers.Len() == maxPairingDepth {
![]() |
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. |