constants

package
v0.0.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FunctionWrapperSuffix = "-fm"
	StkobjSuffix          = ".stkobj"
	FileSymPrefix         = "gofile.."
	GOTPCRELSuffix        = "·f"
	ABI0_SUFFIX           = ".abi0"
)

string match prefix/suffix

View Source
const (
	OsStdout           = "os.Stdout"
	DefaultPkgPath     = "main"
	RuntimeDeferReturn = "runtime.deferreturn"
)
View Source
const (
	InvalidOffset      = int(-1)
	InvalidHandleValue = ^uintptr(0)
)
View Source
const (
	PtrSize    = 4 << (^uintptr(0) >> 63)
	Uint32Size = int(unsafe.Sizeof(uint32(0)))
	IntSize    = int(unsafe.Sizeof(int(0)))
	UInt64Size = int(unsafe.Sizeof(uint64(0)))
	PageSize   = 1 << 12 //4096
)

size

View Source
const (
	TypeImportPathPrefix = "type:.importpath."
	TypeNameDataPrefix   = "type:.namedata."
	TypeDoubleDotPrefix  = "type:."
	TypePrefix           = "type:"
	ItabPrefix           = "go:itab."
	TypeStringPrefix     = "go:string."
)
View Source
const (
	CommandLinePkgPath = `command-line-arguments`
)
View Source
const (
	EmptyPkgPath = "<unlinkable>"
)
View Source
const EmptyString = ``
View Source
const InvalidMethodOff = -1
View Source
const InvalidTypeOff = 0
View Source
const UnReachableTypeOff = -1
View Source
const ZeroByte = byte(0x00)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL