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

Function init

syncio/buffer_test.go:22–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20func (r *negativeReader) Read([]byte) (int, error) { return -1, nil }
21
22func init() {
23 testBytes = make([]byte, N)
24 for i := 0; i < N; i++ {
25 testBytes[i] = 'a' + byte(i%26)
26 }
27 testString = string(testBytes)
28}
29
30// Verify that contents of buf match the string s.
31func check(t *testing.T, testname string, buf *Buffer, s string) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected