MCPcopy Create free account
hub / github.com/cortexproject/cortex / genBytes

Function genBytes

pkg/chunk/cache/fifo_cache_test.go:234–240  ·  view source on GitHub ↗
(n uint8)

Source from the content-addressed store, hash-verified

232}
233
234func genBytes(n uint8) []byte {
235 arr := make([]byte, n)
236 for i := range arr {
237 arr[i] = byte(i)
238 }
239 return arr
240}
241
242func TestBytesParsing(t *testing.T) {
243 tests := []struct {

Callers 1

TestFifoCacheExpiryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected