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

Method coldBucketIdx

pkg/buffercache/location.go:28–28  ·  view source on GitHub ↗

coldBucketIdx/coldCellIdx returns the bucket/cell index in cold cache.

()

Source from the content-addressed store, hash-verified

26
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 {

Callers 4

moveToHotCacheMethod · 0.80
removeColdMethod · 0.80
assertKeyValueFunction · 0.80
assertColdLocationFunction · 0.80

Calls

no outgoing calls

Tested by 2

assertKeyValueFunction · 0.64
assertColdLocationFunction · 0.64