internal/abi.SwissMapType.Key (field)
60 uses
internal/abi (current package)
map_swiss.go#L34: Key *Type
type.go#L480: return (*mapType)(unsafe.Pointer(t)).Key
internal/reflectlite
type.go#L330: return toType(tt.Key)
internal/runtime/maps
map.go#L457: if typ.Key.Equal(key, slotKey) {
map.go#L543: if typ.Key.Equal(key, slotKey) {
map.go#L545: typedmemmove(typ.Key, slotKey, key)
map.go#L571: kmem := newobject(typ.Key)
map.go#L575: typedmemmove(typ.Key, slotKey, key)
map.go#L691: if typ.Key.Equal(key, slotKey) {
map.go#L697: } else if typ.Key.Pointers() {
map.go#L699: typedmemclr(typ.Key, slotKey)
runtime_swiss.go#L48: race.ReadObjectPC(typ.Key, key, callerpc, pc)
runtime_swiss.go#L51: msan.Read(key, typ.Key.Size_)
runtime_swiss.go#L54: asan.Read(key, typ.Key.Size_)
runtime_swiss.go#L97: if typ.Key.Equal(key, slotKey) {
runtime_swiss.go#L122: race.ReadObjectPC(typ.Key, key, callerpc, pc)
runtime_swiss.go#L125: msan.Read(key, typ.Key.Size_)
runtime_swiss.go#L128: asan.Read(key, typ.Key.Size_)
runtime_swiss.go#L171: if typ.Key.Equal(key, slotKey) {
runtime_swiss.go#L199: race.ReadObjectPC(typ.Key, key, callerpc, pc)
runtime_swiss.go#L202: msan.Read(key, typ.Key.Size_)
runtime_swiss.go#L205: asan.Read(key, typ.Key.Size_)
runtime_swiss.go#L265: if typ.Key.Equal(key, slotKey) {
runtime_swiss.go#L267: typedmemmove(typ.Key, slotKey, key)
runtime_swiss.go#L306: kmem := newobject(typ.Key)
runtime_swiss.go#L310: 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#L333: kmem := newobject(typ.Key)
table.go#L337: typedmemmove(typ.Key, slotKey, key)
table.go#L397: typedmemmove(typ.Key, slotKey, key)
table.go#L430: if typ.Key.Equal(key, slotKey) {
table.go#L437: } else if typ.Key.Pointers() {
table.go#L440: typedmemclr(typ.Key, slotKey)
table.go#L652: if it.clearSeq == it.m.clearSeq && !it.typ.Key.Equal(key, key) {
table.go#L713: 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
alg.go#L256: return mapKeyError2(t.Key, p)
map_swiss.go#L149: raceReadObjectPC(t.Key, key, callerpc, pc)
map_swiss.go#L152: msanread(key, t.Key.Size_)
map_swiss.go#L155: asanread(key, t.Key.Size_)
map_swiss.go#L215: if t.Key.Equal == nil {
type.go#L606: return typesEqual(mt.Key, mv.Key, seen) && typesEqual(mt.Elem, mv.Elem, seen)