strings.Builder.Grow (method)
15 uses
strings (current package)
builder.go#L77: func (b *Builder) Grow(n int) {
replace.go#L398: buf.Grow(match + len(r.value))
strings.go#L457: b.Grow(n)
strings.go#L504: b.Grow(len(s) + utf8.UTFMax)
strings.go#L585: b.Grow(n)
strings.go#L620: b.Grow(len(s))
strings.go#L660: b.Grow(len(s))
strings.go#L714: b.Grow(len(s) + len(replacement))
strings.go#L1079: b.Grow(len(s) + n*(len(new)-len(old)))
bufio
bufio.go#L504: buf.Grow(n)
encoding/asn1
asn1.go#L241: s.Grow(32)
encoding/hex
hex.go#L137: buf.Grow((1 + ((len(data) - 1) / 16)) * 79)
mime
encodedword.go#L57: buf.Grow(48)
net/http
cookie.go#L187: b.Grow(len(c.Name) + len(c.Value) + len(c.Domain) + len(c.Path) + extraCookieLength)
net/url
url.go#L254: t.Grow(len(s) - 2*n)
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |