mirror of
https://github.com/golang/go
synced 2024-11-18 13:44:48 -07:00
runtime: gofmt -w -s
Change-Id: I954b0300554786b7026996a21acfec3b6f205e75 Reviewed-on: https://go-review.googlesource.com/41512 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> Reviewed-by: Marvin Stenger <marvin.stenger94@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
3fa133f482
commit
42c5f3993b
@ -5,7 +5,7 @@
|
||||
package runtime
|
||||
|
||||
const (
|
||||
_ARM64_FEATURE_HAS_CRC32 = 0x80
|
||||
_ARM64_FEATURE_HAS_CRC32 = 0x80
|
||||
)
|
||||
|
||||
var randomNumber uint32
|
||||
@ -19,8 +19,8 @@ func archauxv(tag, val uintptr) {
|
||||
// it as a byte array.
|
||||
randomNumber = uint32(startupRandomData[4]) | uint32(startupRandomData[5])<<8 |
|
||||
uint32(startupRandomData[6])<<16 | uint32(startupRandomData[7])<<24
|
||||
case _AT_HWCAP:
|
||||
supportCRC32 = val & _ARM64_FEATURE_HAS_CRC32 != 0
|
||||
case _AT_HWCAP:
|
||||
supportCRC32 = val&_ARM64_FEATURE_HAS_CRC32 != 0
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user