()
| 23 | // isHot/isCold reports whether l points to an entry in the hot/cold cache. |
| 24 | func (l location) isCold() bool { return l&0x80000000 == 0 } |
| 25 | func (l location) isHot() bool { return l&0x80000000 != 0 } |
| 26 | |
| 27 | // coldBucketIdx/coldCellIdx returns the bucket/cell index in cold cache. |
| 28 | func (l location) coldBucketIdx() int { return int(l >> 24) } |
no outgoing calls