Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ Reset
Method
Reset
pkg/cortexpb/codec_test.go:27–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
func
(w *wrappedBufferPool) Reset() {
28
w.getCount = 0
29
w.putCount = 0
30
}
31
32
func
TestNoopBufferWhenNotReleasableMessage(t *testing.T) {
33
codec := &cortexCodec{
Callers
1
TestNoopBufferWhenNotReleasableMessage
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected