internal/abi.PtrType.Elem (field)
16 uses
internal/abi (current package)
type.go#L362: return tt.Elem
type.go#L480: Elem *Type // slice element type
reflect
type.go#L1851: repr = append(repr, stringFor((*sliceType)(unsafe.Pointer(t)).Elem)...)
type.go#L2085: if slice.Elem == typ {
type.go#L2098: slice.Elem = typ
value.go#L1427: typ := tt.Elem
value.go#L2518: s.Data = arrayAt(base, i, typ.Elem.Size(), "i < cap")
value.go#L2570: s.Data = arrayAt(base, i, typ.Elem.Size(), "i < k <= cap")
value.go#L2866: typedarrayclear(st.Elem, sh.Data, sh.Len)
runtime
arena.go#L171: et := (*slicetype)(unsafe.Pointer(t)).Elem
arena.go#L291: typ = (*slicetype)(unsafe.Pointer(typ)).Elem
cgocall.go#L525: if st.Elem.PtrBytes == 0 {
cgocall.go#L529: cgoCheckArg(st.Elem, p, true, false, msg)
cgocall.go#L530: p = add(p, st.Elem.Size_)
type.go#L434: return typesEqual(st.Elem, sv.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. |