MCPcopy Create free account
hub / github.com/Shopify/goose / Cap

Method Cap

syncio/buffer.go:141–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139}
140
141func (rw *Buffer) Cap() int {
142 rw.l.RLock()
143 defer rw.l.RUnlock()
144 return rw.b.Cap()
145}
146
147var _ interface {
148 io.ReadWriter

Callers 4

TestBufferGrowthFunction · 0.95

Calls

no outgoing calls

Tested by 4

TestBufferGrowthFunction · 0.76