MCPcopy Index your code
hub / github.com/CodisLabs/codis / available

Method available

pkg/utils/bufio2/bufio.go:223–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221}
222
223func (b *Writer) available() int {
224 return len(b.buf) - b.wpos
225}
226
227func (b *Writer) Write(p []byte) (nn int, err error) {
228 for b.err == nil && len(p) > b.available() {

Callers 3

WriteMethod · 0.95
WriteByteMethod · 0.95
WriteStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected