Lines Matching refs:oldbucket
647 oldbucket := bucket & (uintptr(1)<<(it.B-1) - 1)
648 b = (*bmap)(add(h.oldbuckets, oldbucket*uintptr(t.bucketsize)))
674 // oldbucket has not been evacuated yet. Or at least, it wasn't
676 // through the oldbucket, skipping any keys that will go
677 // to the other new bucket (each oldbucket expands to two
684 // If the item in the oldbucket is not destined for
789 // make sure we evacuate the oldbucket corresponding
793 // evacuate one more oldbucket to make progress on growing
799 func evacuate(t *maptype, h *hmap, oldbucket uintptr) {
800 b := (*bmap)(add(h.oldbuckets, oldbucket*uintptr(t.bucketsize)))
807 x := (*bmap)(add(h.buckets, oldbucket*uintptr(t.bucketsize)))
808 y := (*bmap)(add(h.buckets, (oldbucket+newbit)*uintptr(t.bucketsize)))
911 b = (*bmap)(add(h.oldbuckets, oldbucket*uintptr(t.bucketsize)))
917 if oldbucket == h.nevacuate {
918 h.nevacuate = oldbucket + 1
919 if oldbucket+1 == newbit { // newbit == # of oldbuckets