MCPcopy 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
84func newWriter(n int, b *bytes.Buffer) *Writer {
85 return &Writer{wr: b, buf: make([]byte, n)}
86}
87
88func TestWrite(t *testing.T) {
89 for n := 1; n < 20; n++ {

Callers 3

TestWriteFunction · 0.85
TestWriteBytesFunction · 0.85
TestWriteStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected