internal/abi.Type.Align_ (field)
23 uses
internal/abi (current package)
type.go#L25: Align_ uint8 // alignment of variable with this type
type.go#L411: func (t *Type) Align() int { return int(t.Align_) }
reflect
type.go#L1975: if size&uintptr(ktyp.Align_-1) != 0 || size&uintptr(etyp.Align_-1) != 0 {
type.go#L2010: Align_: goarch.PtrSize,
type.go#L2354: offset := align(size, uintptr(ft.Align_))
type.go#L2358: if ft.Align_ > typalign {
type.go#L2359: typalign = ft.Align_
type.go#L2487: typ.Align_ = typalign
type.go#L2670: array.Align_ = typ.Align_
type.go#L2817: Align_: goarch.PtrSize,
runtime
arena.go#L473: v, ok := s.userArenaChunkFree.takeFromBack(size, typ.Align_)
arena.go#L478: v, ok := s.userArenaChunkFree.takeFromFront(size, typ.Align_)
chan.go#L79: if hchanSize%maxAlign != 0 || elem.Align_ > maxAlign {
checkptr.go#L19: if elem.PtrBytes != 0 && uintptr(p)&(uintptr(elem.Align_)-1) != 0 {
map.go#L1323: if t.Key.Align_ > bucketCnt {
map.go#L1326: if t.Elem.Align_ > bucketCnt {
map.go#L1329: if t.Key.Size_%uintptr(t.Key.Align_) != 0 {
map.go#L1332: if t.Elem.Size_%uintptr(t.Elem.Align_) != 0 {
map.go#L1338: if dataOffset%uintptr(t.Key.Align_) != 0 {
map.go#L1341: if dataOffset%uintptr(t.Elem.Align_) != 0 {
mfinal.go#L476: nret = alignUp(nret, uintptr(t.Align_)) + uintptr(t.Size_)
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |