strings.Builder.Grow (method)
17 uses
strings (current package)
builder.go#L69: func (b *Builder) Grow(n int) {
replace.go#L398: buf.Grow(match + len(r.value))
strings.go#L451: b.Grow(n)
strings.go#L498: b.Grow(len(s) + utf8.UTFMax)
strings.go#L617: b.Grow(n)
strings.go#L652: b.Grow(len(s))
strings.go#L692: b.Grow(len(s))
strings.go#L746: b.Grow(len(s) + len(replacement))
strings.go#L1105: b.Grow(len(s) + n*(len(new)-len(old)))
bufio
bufio.go#L501: buf.Grow(n)
crypto/x509
oid.go#L282: b.Grow(32)
encoding/asn1
asn1.go#L241: s.Grow(32)
encoding/hex
hex.go#L155: buf.Grow((1 + ((len(data) - 1) / 16)) * 79)
mime
encodedword.go#L57: buf.Grow(48)
net/http
cookie.go#L235: b.Grow(len(c.Name) + len(c.Value) + len(c.Domain) + len(c.Path) + extraCookieLength)
net/url
url.go#L255: t.Grow(len(s) - 2*n)
url.go#L845: buf.Grow(n)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |