internal/abi.MapType.Bucket (field)
26 uses
internal/abi (current package)
type.go#L471: Bucket *Type // internal type representing a hash bucket
reflect
type.go#L1844: mt.Bucket = bucketOf(ktyp, etyp)
type.go#L1861: mt.MapType.BucketSize = uint16(mt.Bucket.Size_)
runtime
map.go#L256: ovf = (*bmap)(newobject(t.Bucket))
map.go#L259: if !t.Bucket.Pointers() {
map.go#L319: mem, overflow := math.MulUintptr(uintptr(hint), t.Bucket.Size_)
map.go#L369: sz := t.Bucket.Size_ * nbuckets
map.go#L370: up := roundupsize(sz, !t.Bucket.Pointers())
map.go#L372: nbuckets = up / t.Bucket.Size_
map.go#L377: buckets = newarray(t.Bucket, int(nbuckets))
map.go#L383: size := t.Bucket.Size_ * nbuckets
map.go#L384: if t.Bucket.Pointers() {
map.go#L641: h.buckets = newobject(t.Bucket) // newarray(t.Bucket, 1)
map.go#L896: if !t.Bucket.Pointers() {
map.go#L1354: if h.flags&oldIterator == 0 && t.Bucket.Pointers() {
map.go#L1700: dst.buckets = newobject(t.Bucket)
map.go#L1702: typedmemmove(t.Bucket, dst.buckets, src.buckets)
map.go#L1707: dst.buckets = newobject(t.Bucket)
map_fast32.go#L130: h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
map_fast32.go#L229: h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
map_fast32.go#L478: if h.flags&oldIterator == 0 && t.Bucket.Pointers() {
map_fast64.go#L130: h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
map_fast64.go#L231: h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
map_fast64.go#L488: if h.flags&oldIterator == 0 && t.Bucket.Pointers() {
map_faststr.go#L241: h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
map_faststr.go#L492: if h.flags&oldIterator == 0 && t.Bucket.Pointers() {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |