internal/abi.Type.Size (method)
44 uses
internal/abi (current package)
type.go#L440: func (t *Type) Size() uintptr { return t.Size_ }
internal/reflectlite
swapper.go#L35: size := typ.Size()
value.go#L105: if v.typ().Size() != goarch.PtrSize || !v.typ().Pointers() {
reflect
abi.go#L128: if t.Size() == 0 {
abi.go#L153: a.stackAssign(t.Size(), uintptr(t.Align()))
abi.go#L201: return a.assignIntN(offset, t.Size(), 1, 0b1)
abi.go#L203: return a.assignIntN(offset, t.Size(), 1, 0b0)
abi.go#L212: return a.assignFloatN(offset, t.Size(), 1)
abi.go#L425: spill += arg.Size()
map.go#L69: mt.GroupSize = mt.Group.Size()
map.go#L152: if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= abi.MapMaxElemBytes {
map.go#L402: if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= abi.MapMaxElemBytes {
swapper.go#L36: size := typ.Size()
type.go#L609: func (t *rtype) Size() uintptr { return t.t.Size() }
type.go#L2751: esize := etyp.Size()
value.go#L113: if v.typ().Size() != goarch.PtrSize || !v.typ().Pointers() {
value.go#L477: if frametype.Size() != 0 {
value.go#L486: frameSize := frametype.Size()
value.go#L586: call(frametype, fn, stackArgs, uint32(frametype.Size()), uint32(abid.retOffset), uint32(frameSize), ®Args)
value.go#L611: if tv.Size() == 0 {
value.go#L715: if typ.Size() == 0 {
value.go#L728: if typ.Size() > 0 {
value.go#L790: if typ.Size() == 0 {
value.go#L1091: methodFrameSize := methodFrameType.Size()
value.go#L1103: call(methodFrameType, methodFn, methodFrame, uint32(methodFrameType.Size()), uint32(methodABI.retOffset), uint32(methodFrameSize), &methodRegs)
value.go#L1117: if retSize := methodFrameType.Size() - methodABI.retOffset; retSize > 0 {
value.go#L1285: if fl&flagIndir == 0 && typ.Size() == 0 {
value.go#L1408: offset := uintptr(i) * typ.Size()
value.go#L1428: val := arrayAt(s.Data, i, typ.Size(), "i < s.Len")
value.go#L1684: if typ.Equal != nil && typ.Size() <= abi.ZeroValSize {
value.go#L1693: return isZero(unsafe.Slice(((*byte)(v.ptr)), typ.Size()))
value.go#L1715: if typ.Equal != nil && typ.Size() <= abi.ZeroValSize {
value.go#L1722: return isZero(unsafe.Slice(((*byte)(v.ptr)), typ.Size()))
value.go#L2000: bitSize := v.typ().Size() * 8
value.go#L2013: bitSize := v.typ_.Size() * 8 // ok to use v.typ_ directly as Size doesn't escape
value.go#L2373: s.Data = arrayAt(base, i, typ.Elem.Size(), "i < cap")
value.go#L2425: s.Data = arrayAt(base, i, typ.Elem.Size(), "i < k <= cap")
value.go#L3139: if t.Size() <= abi.ZeroValSize {
value.go#L3470: switch typ.Size() {
value.go#L3488: switch typ.Size() {
value.go#L3510: switch typ.Size() {
runtime
tracetype.go#L69: w.varint(uint64(typ.Size()))
unique
clone.go#L85: offset += etyp.Size()
handle.go#L36: if typ.Size() == 0 {
 |
The pages are generated with Golds v0.8.4. (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. |