Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Bucketize (0.15 sec)

  1. src/runtime/map.go

    			oldbucket := bucket & it.h.oldbucketmask()
    			b = (*bmap)(add(h.oldbuckets, oldbucket*uintptr(t.BucketSize)))
    			if !evacuated(b) {
    				checkBucket = bucket
    			} else {
    				b = (*bmap)(add(it.buckets, bucket*uintptr(t.BucketSize)))
    				checkBucket = noCheck
    			}
    		} else {
    			b = (*bmap)(add(it.buckets, bucket*uintptr(t.BucketSize)))
    			checkBucket = noCheck
    		}
    		bucket++
    		if bucket == bucketShift(it.B) {
    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/reflect/type.go

    	}
    	if etyp.Size_ > abi.MapMaxElemBytes {
    		mt.ValueSize = uint8(goarch.PtrSize)
    		mt.Flags |= 2 // indirect value
    	} else {
    		mt.MapType.ValueSize = uint8(etyp.Size_)
    	}
    	mt.MapType.BucketSize = uint16(mt.Bucket.Size_)
    	if isReflexive(ktyp) {
    		mt.Flags |= 4
    	}
    	if needKeyUpdate(ktyp) {
    		mt.Flags |= 8
    	}
    	if hashMightPanic(ktyp) {
    		mt.Flags |= 16
    	}
    	mt.PtrToThis = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top