reflect.Type.Size (method)
10 uses
reflect (current package)
map.go#L70: mt.SlotSize = slot.Size()
map.go#L100: if ktyp.Size() > abi.MapMaxKeyBytes {
map.go#L103: if etyp.Size() > abi.MapMaxElemBytes {
type.go#L106: Size() uintptr
type.go#L2263: return field.Offset+field.Type.Size() != t.Field(i+1).Offset
type.go#L2265: return field.Offset+field.Type.Size() != t.Size()
encoding/asn1
asn1.go#L670: elemSize := uint64(elemType.Size())
asn1.go#L943: if val.Type().Size() == 4 {
encoding/binary
binary.go#L755: return int(t.Size())
![]() |
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. |