MCPcopy Create free account
hub / github.com/AdRoll/baker / init

Method init

pkg/buffercache/compressor.go:74–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74func (d *decompressor) init() {
75 d.buf = make([]byte, compressedBufferSize)
76}
77
78// uncompressSimple decompresses b and returns the resulting buffer.
79// The returned buffer is only valid until the next call to uncompress.

Callers 2

Benchmark_decompressorFunction · 0.95

Calls

no outgoing calls

Tested by 2

Benchmark_decompressorFunction · 0.76