(t reflect.Type)
| 117 | } |
| 118 | |
| 119 | func alignedSize(t reflect.Type) uintptr { |
| 120 | a := t.Align() |
| 121 | s := t.Size() |
| 122 | return align(uintptr(a), uintptr(s)) |
| 123 | } |
| 124 | |
| 125 | func align(align, size uintptr) uintptr { |
| 126 | if align != 0 && (size%align) != 0 { |
no test coverage detected
searching dependent graphs…