Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdRoll/baker
/ FreeMem
Method
FreeMem
input/inpututils/compressedstream.go:371–374 ·
view source on GitHub ↗
(data *baker.Data)
Source
from the content-addressed store, hash-verified
369
}
370
371
func
(s *CompressedInput) FreeMem(data *baker.Data) {
372
data.Bytes = data.Bytes[:kChunkBuffer]
373
s.pool.Put(data)
374
}
375
376
func
(s *CompressedInput) Stats() baker.InputStats {
377
return
baker.InputStats{
Callers
nothing calls this directly
Calls
1
Put
Method · 0.80
Tested by
no test coverage detected