strings.Builder.Grow (method)
17 uses
strings (current package)
builder.go#L76: func (b *Builder) Grow(n int) {
strings.go#L434: b.Grow(n)
strings.go#L481: b.Grow(len(s) + utf8.UTFMax)
strings.go#L536: b.Grow(n)
strings.go#L566: b.Grow(len(s))
strings.go#L596: b.Grow(len(s))
strings.go#L643: b.Grow(len(s) + len(replacement))
strings.go#L938: b.Grow(len(s) + n*(len(new)-len(old)))
bufio
bufio.go#L486: buf.Grow(n)
encoding/hex
hex.go#L129: buf.Grow((1 + ((len(data) - 1) / 16)) * 79)
html/template
css.go#L173: b.Grow(len(s))
html.go#L150: b.Grow(len(s))
html.go#L161: b.Grow(len(s))
js.go#L274: b.Grow(len(s))
mime
encodedword.go#L57: buf.Grow(48)
net/http
cookie.go#L179: b.Grow(len(c.Name) + len(c.Value) + len(c.Domain) + len(c.Path) + extraCookieLength)
net/url
url.go#L253: t.Grow(len(s) - 2*n)
![]() |
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. |