internal/abi.MapType.Elem (field)
42 uses
internal/abi (current package)
type.go#L356: return tt.Elem
type.go#L443: Elem *Type
reflect
type.go#L1667: if mt.Key == ktyp && mt.Elem == etyp {
type.go#L1682: mt.Elem = etyp
value.go#L1752: if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= maxValSize {
value.go#L1768: typ := tt.Elem
value.go#L1895: vtype := t.Elem
value.go#L1919: vtype := t.Elem
value.go#L2388: if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= maxValSize {
value.go#L2395: elem = elem.assignTo("reflect.Value.SetMapIndex", tt.Elem, nil)
value.go#L2418: elem = elem.assignTo("reflect.Value.SetMapIndex", tt.Elem, nil)
runtime
map.go#L678: vmem := newobject(t.Elem)
map.go#L758: } else if t.Elem.PtrBytes != 0 {
map.go#L759: memclrHasPointers(e, t.Elem.Size_)
map.go#L761: memclrNoHeapPointers(e, t.Elem.Size_)
map.go#L1256: typedmemmove(t.Elem, dst.e, e)
map.go#L1319: if t.Elem.Size_ > maxElemSize && (!t.IndirectElem() || t.ValueSize != uint8(goarch.PtrSize)) ||
map.go#L1320: t.Elem.Size_ <= maxElemSize && (t.IndirectElem() || t.ValueSize != uint8(t.Elem.Size_)) {
map.go#L1326: if t.Elem.Align_ > bucketCnt {
map.go#L1332: if t.Elem.Size_%uintptr(t.Elem.Align_) != 0 {
map.go#L1341: if dataOffset%uintptr(t.Elem.Align_) != 0 {
map.go#L1371: typedmemmove(t.Elem, p, elem)
map.go#L1377: typedmemmove(t.Elem, p, elem)
map.go#L1491: typedmemmove(t.Elem, dstEle, srcEle)
map.go#L1589: typedmemmove(t.Elem, dstEle, srcEle)
map.go#L1719: typedmemmove(t.Elem, add(s.array, uintptr(s.len)*uintptr(t.ValueSize)), ele)
map_fast32.go#L311: if t.Elem.PtrBytes != 0 {
map_fast32.go#L312: memclrHasPointers(e, t.Elem.Size_)
map_fast32.go#L314: memclrNoHeapPointers(e, t.Elem.Size_)
map_fast32.go#L438: typedmemmove(t.Elem, dst.e, e)
map_fast64.go#L313: if t.Elem.PtrBytes != 0 {
map_fast64.go#L314: memclrHasPointers(e, t.Elem.Size_)
map_fast64.go#L316: memclrNoHeapPointers(e, t.Elem.Size_)
map_fast64.go#L446: typedmemmove(t.Elem, dst.e, e)
map_faststr.go#L339: if t.Elem.PtrBytes != 0 {
map_faststr.go#L340: memclrHasPointers(e, t.Elem.Size_)
map_faststr.go#L342: memclrNoHeapPointers(e, t.Elem.Size_)
map_faststr.go#L461: typedmemmove(t.Elem, dst.e, e)
type.go#L426: return typesEqual(mt.Key, mv.Key, seen) && typesEqual(mt.Elem, mv.Elem, seen)
|
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. |