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

Method Get

pkg/cortexpb/codec_test.go:17–20  ·  view source on GitHub ↗
(length int)

Source from the content-addressed store, hash-verified

15}
16
17func (w *wrappedBufferPool) Get(length int) *[]byte {
18 w.getCount++
19 return w.inner.Get(length)
20}
21
22func (w *wrappedBufferPool) Put(b *[]byte) {
23 w.putCount++

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected