func slices.Grow
7 uses
slices (current package)
slices.go#L407: func Grow[S ~[]E, E any](s S, n int) S {
slices.go#L481: newslice := Grow[S](nil, size)
encoding/base64
base64.go#L200: dst = slices.Grow(dst, n)
base64.go#L420: dst = slices.Grow(dst, n)
encoding/binary
binary.go#L1016: buf = slices.Grow(buf, n)[:l+n]
encoding/hex
hex.go#L59: dst = slices.Grow(dst, n)
hex.go#L120: dst = slices.Grow(dst, 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. |