Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/goose
/ Grow
Method
Grow
syncio/buffer.go:112–116 ·
view source on GitHub ↗
(n int)
Source
from the content-addressed store, hash-verified
110
}
111
112
func
(rw *Buffer) Grow(n int) {
113
rw.l.Lock()
114
rw.b.Grow(n)
115
rw.l.Unlock()
116
}
117
118
func
(rw *Buffer) String() string {
119
if
rw == nil {
Callers
2
TestGrow
Function · 0.95
TestGrowOverflow
Function · 0.95
Calls
no outgoing calls
Tested by
2
TestGrow
Function · 0.76
TestGrowOverflow
Function · 0.76