Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for oldbucketmask (0.18 sec)

  1. src/runtime/map.go

    	return bucketShift(oldB)
    }
    
    // oldbucketmask provides a mask that can be applied to calculate n % noldbuckets().
    func (h *hmap) oldbucketmask() uintptr {
    	return h.noldbuckets() - 1
    }
    
    func growWork(t *maptype, h *hmap, bucket uintptr) {
    	// make sure we evacuate the oldbucket corresponding
    	// to the bucket we're about to use
    	evacuate(t, h, bucket&h.oldbucketmask())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top