bytes.Buffer.Len (method, view implemented interface methods)
26 uses
bytes (current package)
buffer.go#L73: func (b *Buffer) Len() int { return len(b.buf) - b.off }
buffer.go#L88: if n < 0 || n > b.Len() {
buffer.go#L118: m := b.Len()
buffer.go#L238: if nBytes := b.Len(); nBytes > 0 {
buffer.go#L320: m := b.Len()
crypto/tls
conn.go#L609: if err == io.ErrUnexpectedEOF && c.rawInput.Len() == 0 {
conn.go#L678: if c.vers == VersionTLS13 && typ != recordTypeHandshake && c.hand.Len() > 0 {
conn.go#L711: if c.hand.Len() > 0 {
conn.go#L790: if c.rawInput.Len() >= n {
conn.go#L793: needs := n - c.rawInput.Len()
conn.go#L1007: for c.hand.Len() < 4 {
conn.go#L1019: for c.hand.Len() < 4+n {
conn.go#L1279: for c.hand.Len() > 0 {
conn.go#L1295: if n != 0 && c.input.Len() == 0 && c.rawInput.Len() > 0 &&
encoding/json
indent.go#L18: origLen := dst.Len()
indent.go#L82: origLen := dst.Len()
net/http
h2_bundle.go#L2831: buf.Truncate(buf.Len() - 1) // remove trailing comma
request.go#L890: req.ContentLength = int64(v.Len())
src.elv.sh/pkg/eval/vals
repr_helpers.go#L21: if b.buf.Len() == 0 {
repr_helpers.go#L27: } else if b.buf.Len() > 1 {
repr_helpers.go#L36: if b.buf.Len() == 0 {
src.elv.sh/pkg/ui
text_segment.go#L46: if buf.Len() == 0 {
vendor/golang.org/x/net/http2/hpack
hpack.go#L236: if d.saveBuf.Len() > 0 {
hpack.go#L253: if d.saveBuf.Len() == 0 {
huffman.go#L67: if maxLen != 0 && buf.Len() == maxLen {
huffman.go#L87: if maxLen != 0 && buf.Len() == maxLen {
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)