strings.Builder.Len (method)
12 uses
strings (current package)
builder.go#L52: func (b *Builder) Len() int { return len(b.buf) }
strings.go#L538: for b.Len() < n {
strings.go#L539: if b.Len() <= n/2 {
strings.go#L542: b.WriteString(b.String()[:n-b.Len()])
github.com/evanw/esbuild/internal/bundler
linker.go#L2700: if sb.Len() > 0 {
linker.go#L2706: if sb.Len() == 0 {
go.opentelemetry.io/otel/api/correlation
correlation_context_propagator.go#L58: if headerValueBuilder.Len() > 0 {
golang.org/x/pkgsite/internal/testing/dbtest
dbtest.go#L53: if sb.Len() > 0 {
html/template
js.go#L214: if buf.Len() != 0 {
net/url
url.go#L836: if buf.Len() == 0 {
url.go#L977: if buf.Len() > 0 {
text/template
exec.go#L237: if b.Len() == 0 {
![]() |
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. |