Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
223
func
(b *Writer) available() int {
224
return
len(b.buf) - b.wpos
225
}
226
227
func
(b *Writer) Write(p []byte) (nn int, err error) {
228
for
b.err == nil && len(p) > b.available() {
Callers
3
Write
Method · 0.95
WriteByte
Method · 0.95
WriteString
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected