internal/abi.Type.Align_ (field)
23 uses
internal/abi (current package)
type.go#L25: Align_ uint8 // alignment of variable with this type
type.go#L438: func (t *Type) Align() int { return int(t.Align_) }
reflect
type.go#L2126: if size&uintptr(ktyp.Align_-1) != 0 || size&uintptr(etyp.Align_-1) != 0 {
type.go#L2161: Align_: goarch.PtrSize,
type.go#L2507: offset := align(size, uintptr(ft.Align_))
type.go#L2511: if ft.Align_ > typalign {
type.go#L2512: typalign = ft.Align_
type.go#L2644: typ.Align_ = typalign
type.go#L2828: array.Align_ = typ.Align_
type.go#L2988: Align_: goarch.PtrSize,
runtime
arena.go#L485: v, ok := s.userArenaChunkFree.takeFromBack(size, typ.Align_)
arena.go#L490: v, ok := s.userArenaChunkFree.takeFromFront(size, typ.Align_)
chan.go#L80: if hchanSize%maxAlign != 0 || elem.Align_ > maxAlign {
checkptr.go#L19: if elem.Pointers() && uintptr(p)&(uintptr(elem.Align_)-1) != 0 {
map.go#L1422: if t.Key.Align_ > abi.MapBucketCount {
map.go#L1425: if t.Elem.Align_ > abi.MapBucketCount {
map.go#L1428: if t.Key.Size_%uintptr(t.Key.Align_) != 0 {
map.go#L1431: if t.Elem.Size_%uintptr(t.Elem.Align_) != 0 {
map.go#L1437: if dataOffset%uintptr(t.Key.Align_) != 0 {
map.go#L1440: if dataOffset%uintptr(t.Elem.Align_) != 0 {
mfinal.go#L504: nret = alignUp(nret, uintptr(t.Align_)) + t.Size_
![]() |
The pages are generated with Golds v0.7.6. (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. |