MCPcopy 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
112func (rw *Buffer) Grow(n int) {
113 rw.l.Lock()
114 rw.b.Grow(n)
115 rw.l.Unlock()
116}
117
118func (rw *Buffer) String() string {
119 if rw == nil {

Callers 2

TestGrowFunction · 0.95
TestGrowOverflowFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestGrowFunction · 0.76
TestGrowOverflowFunction · 0.76