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

Method flushHot

pkg/buffercache/cache.go:180–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180func (c *BufferCache) flushHot() {
181 for _, buf := range c.hot.m {
182 c.flushBlocks(buf)
183 }
184 c.hot.m = make(map[string][]byte)
185 c.hot.cap = 0
186 c.m.removeHot()
187}
188
189func (c *BufferCache) decompressAndFlush(buf []byte, compressed bool) {
190 if !compressed {

Callers 2

FlushMethod · 0.95
putInHotMethod · 0.95

Calls 2

flushBlocksMethod · 0.95
removeHotMethod · 0.80

Tested by

no test coverage detected