internal/abi.MapType.KeySize (field)
35 uses
internal/abi (current package)
type.go#L447: KeySize uint8 // size of key slot
reflect
type.go#L1689: mt.KeySize = uint8(goarch.PtrSize)
type.go#L1692: mt.KeySize = uint8(ktyp.Size_)
runtime
map.go#L441: k := add(unsafe.Pointer(b), dataOffset+i*uintptr(t.KeySize))
map.go#L446: e := add(unsafe.Pointer(b), dataOffset+bucketCnt*uintptr(t.KeySize)+i*uintptr(t.ValueSize))
map.go#L502: k := add(unsafe.Pointer(b), dataOffset+i*uintptr(t.KeySize))
map.go#L507: e := add(unsafe.Pointer(b), dataOffset+bucketCnt*uintptr(t.KeySize)+i*uintptr(t.ValueSize))
map.go#L546: k := add(unsafe.Pointer(b), dataOffset+i*uintptr(t.KeySize))
map.go#L551: e := add(unsafe.Pointer(b), dataOffset+bucketCnt*uintptr(t.KeySize)+i*uintptr(t.ValueSize))
map.go#L625: insertk = add(unsafe.Pointer(b), dataOffset+i*uintptr(t.KeySize))
map.go#L626: elem = add(unsafe.Pointer(b), dataOffset+bucketCnt*uintptr(t.KeySize)+i*uintptr(t.ValueSize))
map.go#L633: k := add(unsafe.Pointer(b), dataOffset+i*uintptr(t.KeySize))
map.go#L644: elem = add(unsafe.Pointer(b), dataOffset+bucketCnt*uintptr(t.KeySize)+i*uintptr(t.ValueSize))
map.go#L668: elem = add(insertk, bucketCnt*uintptr(t.KeySize))
map.go#L741: k := add(unsafe.Pointer(b), dataOffset+i*uintptr(t.KeySize))
map.go#L755: e := add(unsafe.Pointer(b), dataOffset+bucketCnt*uintptr(t.KeySize)+i*uintptr(t.ValueSize))
map.go#L921: k := add(unsafe.Pointer(b), dataOffset+uintptr(offi)*uintptr(t.KeySize))
map.go#L925: e := add(unsafe.Pointer(b), dataOffset+bucketCnt*uintptr(t.KeySize)+uintptr(offi)*uintptr(t.ValueSize))
map.go#L1181: x.e = add(x.k, bucketCnt*uintptr(t.KeySize))
map.go#L1189: y.e = add(y.k, bucketCnt*uintptr(t.KeySize))
map.go#L1194: e := add(k, bucketCnt*uintptr(t.KeySize))
map.go#L1195: for i := 0; i < bucketCnt; i, k, e = i+1, add(k, uintptr(t.KeySize)), add(e, uintptr(t.ValueSize)) {
map.go#L1245: dst.e = add(dst.k, bucketCnt*uintptr(t.KeySize))
map.go#L1263: dst.k = add(dst.k, uintptr(t.KeySize))
map.go#L1315: if t.Key.Size_ > maxKeySize && (!t.IndirectKey() || t.KeySize != uint8(goarch.PtrSize)) ||
map.go#L1316: t.Key.Size_ <= maxKeySize && (t.IndirectKey() || t.KeySize != uint8(t.Key.Size_)) {
map.go#L1477: srcK := add(unsafe.Pointer(src), dataOffset+uintptr(i)*uintptr(t.KeySize))
map.go#L1478: srcEle := add(unsafe.Pointer(src), dataOffset+bucketCnt*uintptr(t.KeySize)+uintptr(i)*uintptr(t.ValueSize))
map.go#L1479: dstK := add(unsafe.Pointer(dst), dataOffset+uintptr(pos)*uintptr(t.KeySize))
map.go#L1480: dstEle := add(unsafe.Pointer(dst), dataOffset+bucketCnt*uintptr(t.KeySize)+uintptr(pos)*uintptr(t.ValueSize))
map.go#L1579: srcK := add(unsafe.Pointer(srcBmap), dataOffset+i*uintptr(t.KeySize))
map.go#L1584: srcEle := add(unsafe.Pointer(srcBmap), dataOffset+bucketCnt*uintptr(t.KeySize)+i*uintptr(t.ValueSize))
map.go#L1647: k := add(unsafe.Pointer(b), dataOffset+offi*uintptr(t.KeySize))
map.go#L1654: typedmemmove(t.Key, add(s.array, uintptr(s.len)*uintptr(t.KeySize)), k)
map.go#L1712: ele := add(unsafe.Pointer(b), dataOffset+bucketCnt*uintptr(t.KeySize)+offi*uintptr(t.ValueSize))
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |