internal/abi.SwissMapType.Key (field)
63 uses
internal/abi (current package)
map_swiss.go#L34: Key *Type
type.go#L476: return (*mapType)(unsafe.Pointer(t)).Key
internal/reflectlite
type.go#L330: return toType(tt.Key)
internal/runtime/maps
group.go#L341: newKey := newobject(typ.Key)
group.go#L342: typedmemmove(typ.Key, newKey, oldKey)
map.go#L457: if typ.Key.Equal(key, slotKey) {
map.go#L547: if typ.Key.Equal(key, slotKey) {
map.go#L549: typedmemmove(typ.Key, slotKey, key)
map.go#L575: kmem := newobject(typ.Key)
map.go#L579: typedmemmove(typ.Key, slotKey, key)
map.go#L697: if typ.Key.Equal(key, slotKey) {
map.go#L703: } else if typ.Key.Pointers() {
map.go#L705: typedmemclr(typ.Key, slotKey)
map.go#L828: return mapKeyError2(t.Key, p)
runtime_swiss.go#L45: race.ReadObjectPC(typ.Key, key, callerpc, pc)
runtime_swiss.go#L48: msan.Read(key, typ.Key.Size_)
runtime_swiss.go#L51: asan.Read(key, typ.Key.Size_)
runtime_swiss.go#L94: if typ.Key.Equal(key, slotKey) {
runtime_swiss.go#L119: race.ReadObjectPC(typ.Key, key, callerpc, pc)
runtime_swiss.go#L122: msan.Read(key, typ.Key.Size_)
runtime_swiss.go#L125: asan.Read(key, typ.Key.Size_)
runtime_swiss.go#L168: if typ.Key.Equal(key, slotKey) {
runtime_swiss.go#L196: race.ReadObjectPC(typ.Key, key, callerpc, pc)
runtime_swiss.go#L199: msan.Read(key, typ.Key.Size_)
runtime_swiss.go#L202: asan.Read(key, typ.Key.Size_)
runtime_swiss.go#L262: if typ.Key.Equal(key, slotKey) {
runtime_swiss.go#L264: typedmemmove(typ.Key, slotKey, key)
runtime_swiss.go#L303: kmem := newobject(typ.Key)
runtime_swiss.go#L307: typedmemmove(typ.Key, slotKey, key)
table.go#L207: if typ.Key.Equal(key, slotKey) {
table.go#L240: if typ.Key.Equal(key, slotKey) {
table.go#L286: if typ.Key.Equal(key, slotKey) {
table.go#L288: typedmemmove(typ.Key, slotKey, key)
table.go#L338: kmem := newobject(typ.Key)
table.go#L342: typedmemmove(typ.Key, slotKey, key)
table.go#L402: typedmemmove(typ.Key, slotKey, key)
table.go#L436: if typ.Key.Equal(key, slotKey) {
table.go#L443: } else if typ.Key.Pointers() {
table.go#L446: typedmemclr(typ.Key, slotKey)
table.go#L528: if !typ.Key.Equal(key, key) {
table.go#L761: if it.clearSeq == it.m.clearSeq && !it.typ.Key.Equal(key, key) {
table.go#L822: if it.clearSeq == it.m.clearSeq && !it.typ.Key.Equal(key, key) {
table_debug.go#L44: if !typ.Key.Equal(key, key) {
table_debug.go#L51: dump(key, typ.Key.Size_)
table_debug.go#L114: dump(g.key(typ, j), typ.Key.Size_)
reflect
map_swiss.go#L27: return toType(tt.Key)
map_swiss.go#L54: if mt.Key == ktyp && mt.Elem == etyp {
map_swiss.go#L70: mt.Key = ktyp
map_swiss.go#L159: if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= abi.SwissMapMaxElemBytes {
map_swiss.go#L163: key = key.assignTo("reflect.Value.MapIndex", tt.Key, nil)
map_swiss.go#L213: keyType := tt.Key
map_swiss.go#L266: ktype := t.Key
map_swiss.go#L291: ktype := t.Key
map_swiss.go#L413: if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= abi.SwissMapMaxElemBytes {
map_swiss.go#L431: key = key.assignTo("reflect.Value.SetMapIndex", tt.Key, nil)
runtime
map_swiss.go#L144: raceReadObjectPC(t.Key, key, callerpc, pc)
map_swiss.go#L147: msanread(key, t.Key.Size_)
map_swiss.go#L150: asanread(key, t.Key.Size_)
map_swiss.go#L210: if t.Key.Equal == nil {
type.go#L611: return typesEqual(mt.Key, mv.Key, seen) && typesEqual(mt.Elem, mv.Elem, seen)