internal/abi.Type.Size (method)
43 uses
internal/abi (current package)
type.go#L446: func (t *Type) Size() uintptr { return t.Size_ }
internal/reflectlite
swapper.go#L35: size := typ.Size()
value.go#L103: 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_swiss.go#L76: mt.GroupSize = mt.Group.Size()
map_swiss.go#L159: if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= abi.SwissMapMaxElemBytes {
map_swiss.go#L413: if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= abi.SwissMapMaxElemBytes {
swapper.go#L36: size := typ.Size()
type.go#L577: func (t *rtype) Size() uintptr { return t.t.Size() }
type.go#L2663: esize := etyp.Size()
value.go#L112: if v.typ().Size() != goarch.PtrSize || !v.typ().Pointers() {
value.go#L475: if frametype.Size() != 0 {
value.go#L484: frameSize := frametype.Size()
value.go#L584: call(frametype, fn, stackArgs, uint32(frametype.Size()), uint32(abid.retOffset), uint32(frameSize), ®Args)
value.go#L609: if tv.Size() == 0 {
value.go#L713: if typ.Size() == 0 {
value.go#L726: if typ.Size() > 0 {
value.go#L788: if typ.Size() == 0 {
value.go#L1089: methodFrameSize := methodFrameType.Size()
value.go#L1101: call(methodFrameType, methodFn, methodFrame, uint32(methodFrameType.Size()), uint32(methodABI.retOffset), uint32(methodFrameSize), &methodRegs)
value.go#L1115: if retSize := methodFrameType.Size() - methodABI.retOffset; retSize > 0 {
value.go#L1402: offset := uintptr(i) * typ.Size()
value.go#L1422: val := arrayAt(s.Data, i, typ.Size(), "i < s.Len")
value.go#L1593: if typ.Equal != nil && typ.Size() <= abi.ZeroValSize {
value.go#L1602: return isZero(unsafe.Slice(((*byte)(v.ptr)), typ.Size()))
value.go#L1621: if typ.Equal != nil && typ.Size() <= abi.ZeroValSize {
value.go#L1628: return isZero(unsafe.Slice(((*byte)(v.ptr)), typ.Size()))
value.go#L1899: bitSize := v.typ().Size() * 8
value.go#L1912: bitSize := v.typ_.Size() * 8 // ok to use v.typ_ directly as Size doesn't escape
value.go#L2272: s.Data = arrayAt(base, i, typ.Elem.Size(), "i < cap")
value.go#L2324: s.Data = arrayAt(base, i, typ.Elem.Size(), "i < k <= cap")
value.go#L2996: if t.Size() <= abi.ZeroValSize {
value.go#L3327: switch typ.Size() {
value.go#L3345: switch typ.Size() {
value.go#L3367: switch typ.Size() {
runtime
tracetype.go#L68: w.varint(uint64(typ.Size()))
unique
clone.go#L85: offset += etyp.Size()
handle.go#L39: if typ.Size() == 0 {