internal/abi.SliceType.Elem (field)
16 uses
internal/abi (current package)
type.go#L389: return tt.Elem
type.go#L507: Elem *Type // slice element type
reflect
type.go#L2012: repr = append(repr, stringFor((*sliceType)(unsafe.Pointer(t)).Elem)...)
type.go#L2236: if slice.Elem == typ {
type.go#L2249: slice.Elem = typ
value.go#L1421: typ := tt.Elem
value.go#L2574: s.Data = arrayAt(base, i, typ.Elem.Size(), "i < cap")
value.go#L2626: s.Data = arrayAt(base, i, typ.Elem.Size(), "i < k <= cap")
value.go#L2938: typedarrayclear(st.Elem, sh.Data, sh.Len)
runtime
arena.go#L173: et := (*slicetype)(unsafe.Pointer(t)).Elem
arena.go#L303: typ = (*slicetype)(unsafe.Pointer(typ)).Elem
cgocall.go#L643: if !st.Elem.Pointers() {
cgocall.go#L647: cgoCheckArg(st.Elem, p, true, false, msg)
cgocall.go#L648: p = add(p, st.Elem.Size_)
type.go#L452: return typesEqual(st.Elem, sv.Elem, seen)
 |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |