internal/abi.Type.Elem (method)
50 uses
internal/abi (current package)
type.go#L346: func (t *Type) Elem() *Type {
internal/reflectlite
type.go#L316: et := t.Elem()
type.go#L563: return T.Len() == V.Len() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L569: if V.ChanDir() == abi.BothDir && haveIdenticalType(T.Elem(), V.Elem(), cmpTags) {
type.go#L574: return V.ChanDir() == T.ChanDir() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L605: return haveIdenticalType(T.Key(), V.Key(), cmpTags) && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L608: return haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
reflect
type.go#L701: et := t.Elem()
type.go#L1079: ntyp = ntyp.Elem()
type.go#L1361: return V.ChanDir() == abi.BothDir && (nameFor(T) == "" || nameFor(V) == "") && haveIdenticalType(T.Elem(), V.Elem(), true)
type.go#L1420: return T.Len() == V.Len() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L1423: return V.ChanDir() == T.ChanDir() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L1454: return haveIdenticalType(T.Key(), V.Key(), cmpTags) && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L1457: return haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L2202: elem := ft.Elem()
value.go#L321: if v.typ().Elem().Kind() != abi.Uint8 {
value.go#L327: if v.typ().Elem().Kind() != abi.Uint8 {
value.go#L344: if v.typ().Elem().Kind() != abi.Int32 {
value.go#L1181: if v.typ().Elem().Kind() == abi.Array {
value.go#L1182: return v.typ().Elem().Len()
value.go#L1316: if v.Kind() == Pointer && v.typ().Elem().Kind() == abi.Struct {
value.go#L1339: if v.Kind() == Ptr && v.typ().Elem().Kind() == abi.Struct {
value.go#L1341: return Value{}, errors.New("reflect: indirection through nil pointer to embedded struct field " + nameFor(v.typ().Elem()))
value.go#L1725: if v.typ().Elem().Kind() == abi.Array {
value.go#L1726: return v.typ().Elem().Len()
value.go#L2296: if v.typ().Elem().Kind() != abi.Int32 {
value.go#L2832: t := v.typ().Elem()
value.go#L2919: stringCopy = sk == String && dst.typ().Elem().Kind() == abi.Uint8
value.go#L2926: de := dst.typ().Elem()
value.go#L2928: se := src.typ().Elem()
value.go#L3500: if dst.Kind() == abi.Slice && pkgPathFor(dst.Elem()) == "" {
value.go#L3501: switch Kind(dst.Elem().Kind()) {
value.go#L3510: if dst.Kind() == abi.String && pkgPathFor(src.Elem()) == "" {
value.go#L3511: switch Kind(src.Elem().Kind()) {
value.go#L3520: if dst.Kind() == abi.Pointer && dst.Elem().Kind() == abi.Array && src.Elem() == dst.Elem().Elem() {
value.go#L3525: if dst.Kind() == abi.Array && src.Elem() == dst.Elem() {
|
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. |