runtime.hmap.B (field)
53 uses
runtime (current package)
map.go#L120: B uint8 // log_2 of # of buckets (can hold up to loadFactor * 2^B items)
map.go#L230: if h.B < 16 {
map.go#L237: mask := uint32(1)<<(h.B-15) - 1
map.go#L321: h.B = B
map.go#L326: if h.B != 0 {
map.go#L328: h.buckets, nextOverflow = makeBucketArray(t, h.B, nil)
map.go#L414: m := bucketMask(h.B)
map.go#L472: m := bucketMask(h.B)
map.go#L516: m := bucketMask(h.B)
map.go#L598: bucket := hash & bucketMask(h.B)
map.go#L647: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map.go#L711: bucket := hash & bucketMask(h.B)
map.go#L819: it.B = h.B
map.go#L833: if h.B > 31-bucketCntBits {
map.go#L836: it.startBucket = r & bucketMask(h.B)
map.go#L837: it.offset = uint8(r >> h.B & (bucketCnt - 1))
map.go#L874: if h.growing() && it.B == h.B {
map.go#L1013: _, nextOverflow := makeBucketArray(t, h.B, h.buckets)
map.go#L1031: if !overLoadFactor(h.count+1, h.B) {
map.go#L1036: newbuckets, nextOverflow := makeBucketArray(t, h.B+bigger, nil)
map.go#L1043: h.B += bigger
map.go#L1101: oldB := h.B
map_fast32.go#L24: if h.B == 0 {
map_fast32.go#L29: m := bucketMask(h.B)
map_fast32.go#L64: if h.B == 0 {
map_fast32.go#L69: m := bucketMask(h.B)
map_fast32.go#L113: bucket := hash & bucketMask(h.B)
map_fast32.go#L155: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast32.go#L203: bucket := hash & bucketMask(h.B)
map_fast32.go#L245: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast32.go#L289: bucket := hash & bucketMask(h.B)
map_fast64.go#L24: if h.B == 0 {
map_fast64.go#L29: m := bucketMask(h.B)
map_fast64.go#L64: if h.B == 0 {
map_fast64.go#L69: m := bucketMask(h.B)
map_fast64.go#L113: bucket := hash & bucketMask(h.B)
map_fast64.go#L155: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast64.go#L203: bucket := hash & bucketMask(h.B)
map_fast64.go#L245: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast64.go#L289: bucket := hash & bucketMask(h.B)
map_faststr.go#L24: if h.B == 0 {
map_faststr.go#L80: m := bucketMask(h.B)
map_faststr.go#L119: if h.B == 0 {
map_faststr.go#L175: m := bucketMask(h.B)
map_faststr.go#L224: bucket := hash & bucketMask(h.B)
map_faststr.go#L271: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_faststr.go#L315: bucket := hash & bucketMask(h.B)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |