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

Method coldCellIdx

pkg/buffercache/location.go:29–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27// coldBucketIdx/coldCellIdx returns the bucket/cell index in cold cache.
28func (l location) coldBucketIdx() int { return int(l >> 24) }
29func (l location) coldCellIdx() int { return int(l & 0x00ffffff) }
30
31func (l location) String() string {
32 return fmt.Sprintf("0x%x", uint32(l))

Callers 3

moveToHotCacheMethod · 0.80
assertKeyValueFunction · 0.80
assertColdLocationFunction · 0.80

Calls

no outgoing calls

Tested by 2

assertKeyValueFunction · 0.64
assertColdLocationFunction · 0.64