internal/abi.Type.Size (method)
37 uses
internal/abi (current package)
type.go#L408: func (t *Type) Size() uintptr { return t.Size_ }
internal/reflectlite
swapper.go#L35: size := typ.Size()
value.go#L93: 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()
swapper.go#L36: size := typ.Size()
type.go#L549: func (t *rtype) Size() uintptr { return t.t.Size() }
type.go#L2730: esize := etyp.Size()
value.go#L109: if v.typ().Size() != goarch.PtrSize || !v.typ().Pointers() {
value.go#L487: if frametype.Size() != 0 {
value.go#L496: frameSize := frametype.Size()
value.go#L596: call(frametype, fn, stackArgs, uint32(frametype.Size()), uint32(abid.retOffset), uint32(frameSize), ®Args)
value.go#L621: if tv.Size() == 0 {
value.go#L725: if typ.Size() == 0 {
value.go#L738: if typ.Size() > 0 {
value.go#L800: if typ.Size() == 0 {
value.go#L1101: methodFrameSize := methodFrameType.Size()
value.go#L1113: call(methodFrameType, methodFn, methodFrame, uint32(methodFrameType.Size()), uint32(methodABI.retOffset), uint32(methodFrameSize), &methodRegs)
value.go#L1127: if retSize := methodFrameType.Size() - methodABI.retOffset; retSize > 0 {
value.go#L1408: offset := uintptr(i) * typ.Size()
value.go#L1428: val := arrayAt(s.Data, i, typ.Size(), "i < s.Len")
value.go#L1597: if v.typ().Equal != nil && v.typ().Size() <= maxZero {
value.go#L1620: if v.typ().Equal != nil && v.typ().Size() <= maxZero {
value.go#L1752: if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= maxValSize {
value.go#L2106: bitSize := v.typ().Size() * 8
value.go#L2119: bitSize := v.typ_.Size() * 8 // ok to use v.typ_ directly as Size doesn't escape
value.go#L2388: if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= maxValSize {
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#L3228: if t.Size() <= maxZero {
value.go#L3562: switch typ.Size() {
value.go#L3580: switch typ.Size() {
value.go#L3602: switch typ.Size() {
|
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. |