Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodisLabs/codis
/ newWriter
Function
newWriter
pkg/utils/bufio2/bufio_test.go:84–86 ·
view source on GitHub ↗
(n int, b *bytes.Buffer)
Source
from the content-addressed store, hash-verified
82
}
83
84
func
newWriter(n int, b *bytes.Buffer) *Writer {
85
return
&Writer{wr: b, buf: make([]byte, n)}
86
}
87
88
func
TestWrite(t *testing.T) {
89
for
n := 1; n < 20; n++ {
Callers
3
TestWrite
Function · 0.85
TestWriteBytes
Function · 0.85
TestWriteString
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected