Documentation ¶
Overview ¶
package sys contains system- and configuration- and architecture-specific constants used by the runtime.
Index ¶
Constants ¶
View Source
const PtrSize = 4 << (^uintptr(0) >> 63) // unsafe.Sizeof(uintptr(0)) but an ideal const
View Source
const RegSize = 4 << (^Uintreg(0) >> 63) // unsafe.Sizeof(uintreg(0)) but an ideal const
View Source
const SpAlign = 1*(1-GoarchArm64) + 16*GoarchArm64 // SP alignment: 1 normally, 16 for ARM64
Variables ¶
View Source
var DefaultGoroot string // set at link time
Functions ¶
func Bswap64 ¶
Bswap64 returns its input with byte order reversed 0x0102030405060708 -> 0x0807060504030201
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.