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

Method Len

syncio/buffer.go:135–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133}
134
135func (rw *Buffer) Len() int {
136 rw.l.RLock()
137 defer rw.l.RUnlock()
138 return rw.b.Len()
139}
140
141func (rw *Buffer) Cap() int {
142 rw.l.RLock()

Callers 7

TestCommandForceKillsFunction · 0.95
TestMixedReadsAndWritesFunction · 0.95
checkFunction · 0.45
ResponseBodyMethod · 0.45
submitToSplunkMethod · 0.45

Calls

no outgoing calls

Tested by 5

TestCommandForceKillsFunction · 0.76
TestMixedReadsAndWritesFunction · 0.76
checkFunction · 0.36