Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 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)
  2. src/runtime/map_fast64.go

    	h.flags &^= hashWriting
    }
    
    func growWork_fast64(t *maptype, h *hmap, bucket uintptr) {
    	// make sure we evacuate the oldbucket corresponding
    	// to the bucket we're about to use
    	evacuate_fast64(t, h, bucket&h.oldbucketmask())
    
    	// evacuate one more oldbucket to make progress on growing
    	if h.growing() {
    		evacuate_fast64(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_fast64(t *maptype, h *hmap, oldbucket uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/runtime/map_fast32.go

    	h.flags &^= hashWriting
    }
    
    func growWork_fast32(t *maptype, h *hmap, bucket uintptr) {
    	// make sure we evacuate the oldbucket corresponding
    	// to the bucket we're about to use
    	evacuate_fast32(t, h, bucket&h.oldbucketmask())
    
    	// evacuate one more oldbucket to make progress on growing
    	if h.growing() {
    		evacuate_fast32(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_fast32(t *maptype, h *hmap, oldbucket uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/runtime/map_faststr.go

    	h.flags &^= hashWriting
    }
    
    func growWork_faststr(t *maptype, h *hmap, bucket uintptr) {
    	// make sure we evacuate the oldbucket corresponding
    	// to the bucket we're about to use
    	evacuate_faststr(t, h, bucket&h.oldbucketmask())
    
    	// evacuate one more oldbucket to make progress on growing
    	if h.growing() {
    		evacuate_faststr(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_faststr(t *maptype, h *hmap, oldbucket uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top