internal/abi.Type.Align_ (field)
14 uses
internal/abi (current package)
type.go#L25: Align_ uint8 // alignment of variable with this type
type.go#L443: func (t *Type) Align() int { return int(t.Align_) }
reflect
type.go#L2428: offset := align(size, uintptr(ft.Align_))
type.go#L2432: if ft.Align_ > typalign {
type.go#L2433: typalign = ft.Align_
type.go#L2565: typ.Align_ = typalign
type.go#L2718: array.Align_ = typ.Align_
type.go#L2850: 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#L82: if hchanSize%maxAlign != 0 || elem.Align_ > maxAlign {
checkptr.go#L19: if elem.Pointers() && uintptr(p)&(uintptr(elem.Align_)-1) != 0 {
mfinal.go#L529: nret = alignUp(nret, uintptr(t.Align_)) + 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. |