func (m *mapCounter) getPassWithOverflow(key string, base, inc int64) (int64, bool) {
if idx, ok := m.m[key]; ok {
count := max(base, prev+inc)
// inline simple case of updateHeap
m.heap[idx].Count = count
heap.Fix(m, idx)
return count, false
}
// not present, fall back to full updateHeap
count := max(base, inc)