(t reflect.Type)
| 851 | } |
| 852 | |
| 853 | func alignedSize(t reflect.Type) uintptr { |
| 854 | a := t.Align() |
| 855 | s := t.Size() |
| 856 | return align(uintptr(a), uintptr(s)) |
| 857 | } |
| 858 | |
| 859 | func align(align, size uintptr) uintptr { |
| 860 | if align != 0 && (size%align) != 0 { |
no test coverage detected
searching dependent graphs…