MCPcopy 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
371func (s *CompressedInput) FreeMem(data *baker.Data) {
372 data.Bytes = data.Bytes[:kChunkBuffer]
373 s.pool.Put(data)
374}
375
376func (s *CompressedInput) Stats() baker.InputStats {
377 return baker.InputStats{

Callers

nothing calls this directly

Calls 1

PutMethod · 0.80

Tested by

no test coverage detected