go2hx

manual

github

Module: stdgo.internal.abi

(view library index)

Overview

Index

Constants

import stdgo.internal.abi.Abi
final argsSizeUnknown:stdgo.GoUInt64 = ((0i64 : stdgo.GoUInt64))

ArgsSizeUnknown is set in Func.argsize to mark all functions whose argument size is unknown (C vararg functions, and assembly code without an explicit specification). This value is generated by the compiler, assembler, or linker.

final array:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final bool_:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final bothDir:stdgo.internal.abi.ChanDir = ((3 : stdgo.internal.abi.Abi.ChanDir))

chan

final chan:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final complex128:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final complex64:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final effectiveFloatRegSize:stdgo.GoUInt64 = ((0i64 : stdgo.GoUInt64))

EffectiveFloatRegSize describes the width of floating point registers on the current platform from the ABI's perspective.

Since Go only supports 32-bit and 64-bit floating point primitives, this number should be either 0, 4, or 8. 0 indicates no floating point registers for the ABI or that floating point values will be passed via the softfloat ABI.

For platforms that support larger floating point register widths, such as x87's 80-bit "registers" (not that we support x87 currently), use 8.

final float32:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final float64:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final floatArgRegs:stdgo.GoUInt64 = ((0i64 : stdgo.GoUInt64))

FloatArgRegs is the number of registers dedicated to passing floating-point argument values. Result registers are identical to argument registers, so this number is used for those too.

final func:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final funcFlagAsm:stdgo.internal.abi.FuncFlag = ((4 : stdgo.internal.abi.Abi.FuncFlag))

FuncFlagAsm indicates that a function was implemented in assembly.

final funcFlagSPWrite:stdgo.internal.abi.FuncFlag = ((4 : stdgo.internal.abi.Abi.FuncFlag))

FuncFlagSPWrite indicates a function that writes an arbitrary value to SP (any write other than adding or subtracting a constant amount). The traceback routines cannot encode such changes into the pcsp tables, so the function traceback cannot safely unwind past SPWrite functions. Stopping at an SPWrite function is considered to be an incomplete unwinding of the stack. In certain contexts (in particular garbage collector stack scans) that is a fatal error.

final funcFlagTopFrame:stdgo.internal.abi.FuncFlag = ((4 : stdgo.internal.abi.Abi.FuncFlag))

FuncFlagTopFrame indicates a function that appears at the top of its stack. The traceback routine stop at such a function and consider that a successful, complete traversal of the stack. Examples of TopFrame functions include goexit, which appears at the top of a user goroutine stack, and mstart, which appears at the top of a system goroutine stack.

final funcIDNormal:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))

not a special function

final funcIDWrapper:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))

any autogenerated code (hash/eq algorithms, method wrappers, etc.)

final funcID_abort:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_asmcgocall:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_asyncPreempt:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_cgocallback:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_debugCallV2:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_gcBgMarkWorker:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_goexit:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_gogo:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_gopanic:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_handleAsyncEvent:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_mcall:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_morestack:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_mstart:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_panicwrap:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_rt0_go:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_runfinq:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_runtime_main:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_sigpanic:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_systemstack:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcID_systemstack_switch:stdgo.internal.abi.FuncID = ((21 : stdgo.internal.abi.Abi.FuncID))
final funcdata_ArgInfo:stdgo.GoUInt64 = ((5i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final funcdata_ArgLiveInfo:stdgo.GoUInt64 = ((6i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final funcdata_ArgsPointerMaps:stdgo.GoUInt64 = ((0i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final funcdata_InlTree:stdgo.GoUInt64 = ((3i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final funcdata_LocalsPointerMaps:stdgo.GoUInt64 = ((1i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final funcdata_OpenCodedDeferInfo:stdgo.GoUInt64 = ((4i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final funcdata_StackObjects:stdgo.GoUInt64 = ((2i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final funcdata_WrapInfo:stdgo.GoUInt64 = ((7i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final int16:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final int32:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final int64:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final int8:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final intArgRegs:stdgo.GoUInt64 = ((0i64 : stdgo.GoUInt64))

IntArgRegs is the number of registers dedicated to passing integer argument values. Result registers are identical to argument registers, so this number is used for those too.

final int_:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final interface_:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final invalid:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final invalidDir:stdgo.internal.abi.ChanDir = ((0 : stdgo.internal.abi.Abi.ChanDir))
final kindDirectIface:stdgo.GoUInt64 = ((32i64 : stdgo.GoUInt64))

TODO (khr, drchase) why aren't these in TFlag? Investigate, fix if possible.

final kindGCProg:stdgo.GoUInt64 = ((64i64 : stdgo.GoUInt64))

Type.gc points to GC program

final kindMask:stdgo.GoUInt64 = ((31i64 : stdgo.GoUInt64))
final mapBucketCount:stdgo.GoUInt64 = ((8i64 : stdgo.GoUInt64))

Map constants common to several packages runtime/runtime-gdb.py:MapTypePrinter contains its own copy

final mapBucketCountBits:stdgo.GoUInt64 = ((3i64 : stdgo.GoUInt64))

Map constants common to several packages runtime/runtime-gdb.py:MapTypePrinter contains its own copy

log2 of number of elements in a bucket.

final mapMaxElemBytes:stdgo.GoUInt64 = ((128i64 : stdgo.GoUInt64))

Map constants common to several packages runtime/runtime-gdb.py:MapTypePrinter contains its own copy

Must fit in a uint8.

final mapMaxKeyBytes:stdgo.GoUInt64 = ((128i64 : stdgo.GoUInt64))

Map constants common to several packages runtime/runtime-gdb.py:MapTypePrinter contains its own copy

Must fit in a uint8.

final map_:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final pcdata_ArgLiveIndex:stdgo.GoUInt64 = ((3i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final pcdata_InlTreeIndex:stdgo.GoUInt64 = ((2i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final pcdata_StackMapIndex:stdgo.GoUInt64 = ((1i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final pcdata_UnsafePoint:stdgo.GoUInt64 = ((0i64 : stdgo.GoUInt64))

IDs for PCDATA and FUNCDATA tables in Go binaries.

These must agree with ../../../runtime/funcdata.h.

final pointer:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final recvDir:stdgo.internal.abi.ChanDir = ((2 : stdgo.internal.abi.Abi.ChanDir))

\<-chan

final sendDir:stdgo.internal.abi.ChanDir = ((2 : stdgo.internal.abi.Abi.ChanDir))

chan\<-

final slice:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final stackBig:stdgo.GoUInt64 = ((4096i64 : stdgo.GoUInt64))

Functions that need frames \<= StackBig can assume that neither SP-framesize nor stackGuard-StackSmall will underflow, and thus use a more efficient check. In order to ensure this, StackBig must be \<= the size of the unmapped space at zero.

final stackNosplitBase:stdgo.GoUInt64 = ((800i64 : stdgo.GoUInt64))

StackNosplitBase is the base maximum number of bytes that a chain of NOSPLIT functions can use.

This value must be multiplied by the stack guard multiplier, so do not use it directly. See runtime/stack.go:stackNosplit and cmd/internal/objabi/stack.go:StackNosplit.

final stackSmall:stdgo.GoUInt64 = ((128i64 : stdgo.GoUInt64))

After a stack split check the SP is allowed to be StackSmall bytes below the stack guard.

Functions that need frames \<= StackSmall can perform the stack check using a single comparison directly between the stack guard and the SP because we ensure that StackSmall bytes of stack space are available beyond the stack guard.

final string:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final struct_:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final tflagExtraStar:stdgo.internal.abi.TFlag = ((2 : stdgo.internal.abi.Abi.TFlag))

TFlagExtraStar means the name in the str field has an extraneous '\' prefix. This is because for most types T in a program, the type \T also exists and reusing the str data saves binary size.

final tflagNamed:stdgo.internal.abi.TFlag = ((4 : stdgo.internal.abi.Abi.TFlag))

TFlagNamed means the type has a name.

final tflagRegularMemory:stdgo.internal.abi.TFlag = ((8 : stdgo.internal.abi.Abi.TFlag))

TFlagRegularMemory means that equal and hash functions can treat this type as a single region of t.size bytes.

final tflagUncommon:stdgo.internal.abi.TFlag = ((1 : stdgo.internal.abi.Abi.TFlag))

TFlagUncommon means that there is a data with a type, UncommonType, just beyond the shared-per-type common data. That is, the data for struct types will store their UncommonType at one offset, the data for interface types will store their UncommonType at a different offset. UncommonType is always accessed via a pointer that is computed using trust-us-we-are-the-implementors pointer arithmetic.

For example, if t.Kind() == Struct and t.tflag&TFlagUncommon != 0, then t has UncommonType data and it can be accessed as:

	type structTypeUncommon struct {
		structType
		u UncommonType
	}
	u := &(*structTypeUncommon)(unsafe.Pointer(t)).u
final uint:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final uint16:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final uint32:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final uint64:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final uint8:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final uintptr:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))
final unsafePointRestart1:stdgo.GoUInt64 = ((0i64 : stdgo.GoUInt64))

UnsafePointRestart1(2) apply on a sequence of instructions, within which if an async preemption happens, we should back off the PC to the start of the sequence when resuming. We need two so we can distinguish the start/end of the sequence in case that two sequences are next to each other.

final unsafePointRestart2:stdgo.GoUInt64 = ((0i64 : stdgo.GoUInt64))

Special values for the PCDATA_UnsafePoint table.

final unsafePointRestartAtEntry:stdgo.GoUInt64 = ((0i64 : stdgo.GoUInt64))

Like UnsafePointRestart1, but back to function entry if async preempted.

final unsafePointSafe:stdgo.GoUInt64 = ((0i64 : stdgo.GoUInt64))

Special values for the PCDATA_UnsafePoint table.

Safe for async preemption

final unsafePointUnsafe:stdgo.GoUInt64 = ((0i64 : stdgo.GoUInt64))

Special values for the PCDATA_UnsafePoint table.

Unsafe for async preemption

final unsafePointer:stdgo.internal.abi.Kind = ((26u32 : stdgo.internal.abi.Abi.Kind))

Variables

import stdgo.internal.abi.Abi
var _kindNames:stdgo.Slice<stdgo.GoString>

Functions

import stdgo.internal.abi.Abi

function _addChecked

function _addChecked(_p:stdgo.unsafe.UnsafePointer, _x:stdgo.GoUIntptr, _whySafe:stdgo.GoString):stdgo.unsafe.UnsafePointer

addChecked returns p+x.

The whySafe string is ignored, so that the function still inlines as efficiently as p+x, but all call sites should use the string to record why the addition is safe, which is to say why the addition does not cause x to advance to the very end of p's allocation and therefore point incorrectly at the next block in memory.

(view code)

function _assertIsAPowerOfTwo

function _assertIsAPowerOfTwo(_x:stdgo.GoUInt8):Void

(view code)

function _unsafeSliceFor

function _unsafeSliceFor(_b:stdgo.Pointer<stdgo.GoByte>, _l:stdgo.GoInt):stdgo.Slice<stdgo.GoByte>

(view code)

function _unsafeStringFor

function _unsafeStringFor(_b:stdgo.Pointer<stdgo.GoByte>, _l:stdgo.GoInt):stdgo.GoString

(view code)

function _writeVarint

function _writeVarint(_buf:stdgo.Slice<stdgo.GoByte>, _n:stdgo.GoInt):stdgo.GoInt

writeVarint writes n to buf in varint form. Returns the number of bytes written. n must be nonnegative. Writes at most 10 bytes.

(view code)

function commonOffset

function commonOffset(_ptrSize:stdgo.GoInt, _twoWordAlignSlices:Bool):stdgo.internal.abi.Offset

CommonOffset returns the Offset to the data after the common portion of type data structures.

(view code)

function commonSize

function commonSize(_ptrSize:stdgo.GoInt):stdgo.GoInt

CommonSize returns sizeof(Type) for a compilation target with a given ptrSize

(view code)

function funcPCABI0

function funcPCABI0(_f:stdgo.AnyInterface):stdgo.GoUIntptr

FuncPCABI0 returns the entry PC of the function f, which must be a direct reference of a function defined as ABI0. Otherwise it is a compile-time error.

Implemented as a compile intrinsic.

(view code)

function funcPCABIInternal

function funcPCABIInternal(_f:stdgo.AnyInterface):stdgo.GoUIntptr

FuncPCABIInternal returns the entry PC of the function f. If f is a direct reference of a function, it must be defined as ABIInternal. Otherwise it is a compile-time error. If f is not a direct reference of a defined function, it assumes that f is a func value. Otherwise the behavior is undefined.

Implemented as a compile intrinsic.

(view code)

function imethodSize

function imethodSize(_ptrSize:stdgo.GoInt):stdgo.GoInt

IMethodSize returns sizeof(IMethod) for a compilation target with a given ptrSize

(view code)

function initializedOffset

function initializedOffset(_off:stdgo.GoInt, _align:stdgo.GoUInt8, _ptrSize:stdgo.GoUInt8, _twoWordAlignSlices:Bool):stdgo.internal.abi.Offset

InitializedOffset returns a new Offset with specified offset, alignment, pointer size, and slice alignment.

(view code)

function kindOff

function kindOff(_ptrSize:stdgo.GoInt):stdgo.GoInt

KindOff returns the offset of Type.Kind_ for a compilation target with a given ptrSize

(view code)

function newName

function newName(_n:stdgo.GoString, _tag:stdgo.GoString, _exported:Bool, _embedded:Bool):stdgo.internal.abi.Name

(view code)

function newOffset

function newOffset(_ptrSize:stdgo.GoUInt8, _twoWordAlignSlices:Bool):stdgo.internal.abi.Offset

NewOffset returns a new Offset with offset 0 and alignment 1.

(view code)

function ptrBytesOff

function ptrBytesOff(_ptrSize:stdgo.GoInt):stdgo.GoInt

PtrBytes returns the offset of Type.PtrBytes for a compilation target with a given ptrSize

(view code)

function sizeOff

function sizeOff(_ptrSize:stdgo.GoInt):stdgo.GoInt

SizeOff returns the offset of Type.Size_ for a compilation target with a given ptrSize

(view code)

function structFieldSize

function structFieldSize(_ptrSize:stdgo.GoInt):stdgo.GoInt

StructFieldSize returns sizeof(StructField) for a compilation target with a given ptrSize

(view code)

function tflagOff

function tflagOff(_ptrSize:stdgo.GoInt):stdgo.GoInt

TFlagOff returns the offset of Type.TFlag for a compilation target with a given ptrSize

(view code)

function uncommonSize

function uncommonSize():stdgo.GoUInt64

UncommonSize returns sizeof(UncommonType). This currently does not depend on ptrSize. This exported function is in an internal package, so it may change to depend on ptrSize in the future.

(view code)

Classes

import stdgo.internal.abi.*

class ArrayType

ArrayType represents a fixed array type.

var elem:stdgo.Ref<stdgo.internal.abi.Type_>
var len:stdgo.GoUIntptr
var slice:stdgo.Ref<stdgo.internal.abi.Type_>
var type:stdgo.internal.abi.Type_

ArrayType function align

function align():stdgo.GoInt

(view code)

ArrayType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

ArrayType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

ArrayType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

ArrayType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

ArrayType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

ArrayType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

ArrayType function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

ArrayType function hasName

function hasName():Bool

(view code)

ArrayType function ifaceIndir

function ifaceIndir():Bool

(view code)

ArrayType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

ArrayType function isDirectIface

function isDirectIface():Bool

(view code)

ArrayType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

ArrayType function kind

function kind():stdgo.internal.abi.Kind

(view code)

ArrayType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

ArrayType function new

function new(?type:stdgo.internal.abi.Type_, ?elem:stdgo.Ref<stdgo.internal.abi.Type_>, ?slice:stdgo.Ref<stdgo.internal.abi.Type_>, ?len:stdgo.GoUIntptr):Void

(view code)

ArrayType function numMethod

function numMethod():stdgo.GoInt

(view code)

ArrayType function pointers

function pointers():Bool

(view code)

ArrayType function size

function size():stdgo.GoUIntptr

(view code)

ArrayType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

ArrayType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

ArrayType function align

function align():stdgo.GoInt

(view code)

ArrayType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

ArrayType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

ArrayType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

ArrayType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

ArrayType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

ArrayType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

ArrayType function gcSlice

function gcSlice( _begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

ArrayType function hasName

function hasName():Bool

(view code)

ArrayType function ifaceIndir

function ifaceIndir():Bool

(view code)

ArrayType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

ArrayType function isDirectIface

function isDirectIface():Bool

(view code)

ArrayType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

ArrayType function kind

function kind():stdgo.internal.abi.Kind

(view code)

ArrayType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

ArrayType function numMethod

function numMethod():stdgo.GoInt

(view code)

ArrayType function pointers

function pointers():Bool

(view code)

ArrayType function size

function size():stdgo.GoUIntptr

(view code)

ArrayType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

ArrayType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class ChanType

ChanType represents a channel type

var dir:stdgo.internal.abi.ChanDir
var elem:stdgo.Ref<stdgo.internal.abi.Type_>
var type:stdgo.internal.abi.Type_

ChanType function align

function align():stdgo.GoInt

(view code)

ChanType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

ChanType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

ChanType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

ChanType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

ChanType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

ChanType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

ChanType function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

ChanType function hasName

function hasName():Bool

(view code)

ChanType function ifaceIndir

function ifaceIndir():Bool

(view code)

ChanType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

ChanType function isDirectIface

function isDirectIface():Bool

(view code)

ChanType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

ChanType function kind

function kind():stdgo.internal.abi.Kind

(view code)

ChanType function len

function len():stdgo.GoInt

(view code)

ChanType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

ChanType function new

function new(?type:stdgo.internal.abi.Type_, ?elem:stdgo.Ref<stdgo.internal.abi.Type_>, ?dir:Null<stdgo.internal.abi.ChanDir>):Void

(view code)

ChanType function numMethod

function numMethod():stdgo.GoInt

(view code)

ChanType function pointers

function pointers():Bool

(view code)

ChanType function size

function size():stdgo.GoUIntptr

(view code)

ChanType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

ChanType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

ChanType function align

function align():stdgo.GoInt

(view code)

ChanType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

ChanType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

ChanType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

ChanType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

ChanType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

ChanType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

ChanType function gcSlice

function gcSlice( _begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

ChanType function hasName

function hasName():Bool

(view code)

ChanType function ifaceIndir

function ifaceIndir():Bool

(view code)

ChanType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

ChanType function isDirectIface

function isDirectIface():Bool

(view code)

ChanType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

ChanType function kind

function kind():stdgo.internal.abi.Kind

(view code)

ChanType function len

function len():stdgo.GoInt

(view code)

ChanType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

ChanType function numMethod

function numMethod():stdgo.GoInt

(view code)

ChanType function pointers

function pointers():Bool

(view code)

ChanType function size

function size():stdgo.GoUIntptr

(view code)

ChanType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

ChanType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class FuncType

funcType represents a function type.

A *Type for each in and out parameter is stored in an array that directly follows the funcType (and possibly its uncommonType). So a function type with one method, one input, and one output is:

	struct {
		funcType
		uncommonType
		[2]*rtype    // [0] is in, [1] is out
	}
var inCount:stdgo.GoUInt16
var outCount:stdgo.GoUInt16
var type:stdgo.internal.abi.Type_

FuncType function align

function align():stdgo.GoInt

(view code)

FuncType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

FuncType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

FuncType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

FuncType function elem

function elem():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

FuncType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

FuncType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

FuncType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

FuncType function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

FuncType function hasName

function hasName():Bool

(view code)

FuncType function ifaceIndir

function ifaceIndir():Bool

(view code)

FuncType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

FuncType function isDirectIface

function isDirectIface():Bool

(view code)

FuncType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

FuncType function kind

function kind():stdgo.internal.abi.Kind

(view code)

FuncType function len

function len():stdgo.GoInt

(view code)

FuncType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

FuncType function new

function new(?type:stdgo.internal.abi.Type_, ?inCount:stdgo.GoUInt16, ?outCount:stdgo.GoUInt16):Void

(view code)

FuncType function numMethod

function numMethod():stdgo.GoInt

(view code)

FuncType function pointers

function pointers():Bool

(view code)

FuncType function size

function size():stdgo.GoUIntptr

(view code)

FuncType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

FuncType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

FuncType function align

function align():stdgo.GoInt

(view code)

FuncType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

FuncType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

FuncType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

FuncType function elem

function elem():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

FuncType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

FuncType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

FuncType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

FuncType function gcSlice

function gcSlice( _begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

FuncType function hasName

function hasName():Bool

(view code)

FuncType function ifaceIndir

function ifaceIndir():Bool

(view code)

FuncType function inSlice

function inSlice():stdgo.Slice<stdgo.Ref<stdgo.internal.abi.Type_>>

(view code)

FuncType function in_

function in_( _i:stdgo.GoInt):stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

FuncType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

FuncType function isDirectIface

function isDirectIface():Bool

(view code)

FuncType function isVariadic

function isVariadic():Bool

(view code)

FuncType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

FuncType function kind

function kind():stdgo.internal.abi.Kind

(view code)

FuncType function len

function len():stdgo.GoInt

(view code)

FuncType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

FuncType function numIn

function numIn():stdgo.GoInt

(view code)

FuncType function numMethod

function numMethod():stdgo.GoInt

(view code)

FuncType function numOut

function numOut():stdgo.GoInt

(view code)

FuncType function out

function out( _i:stdgo.GoInt):stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

FuncType function outSlice

function outSlice():stdgo.Slice<stdgo.Ref<stdgo.internal.abi.Type_>>

(view code)

FuncType function pointers

function pointers():Bool

(view code)

FuncType function size

function size():stdgo.GoUIntptr

(view code)

FuncType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

FuncType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class Imethod

Imethod represents a method on an interface type

var name:stdgo.internal.abi.NameOff
var typ:stdgo.internal.abi.TypeOff

Imethod function new

function new(?name:Null<stdgo.internal.abi.NameOff>, ?typ:Null<stdgo.internal.abi.TypeOff>):Void

(view code)

class InterfaceType

var methods:stdgo.Slice<stdgo.internal.abi.Imethod>
var pkgPath:stdgo.internal.abi.Name
var type:stdgo.internal.abi.Type_

InterfaceType function align

function align():stdgo.GoInt

(view code)

InterfaceType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

InterfaceType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

InterfaceType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

InterfaceType function elem

function elem():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

InterfaceType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

InterfaceType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

InterfaceType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

InterfaceType function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

InterfaceType function hasName

function hasName():Bool

(view code)

InterfaceType function ifaceIndir

function ifaceIndir():Bool

(view code)

InterfaceType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

InterfaceType function isDirectIface

function isDirectIface():Bool

(view code)

InterfaceType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

InterfaceType function kind

function kind():stdgo.internal.abi.Kind

(view code)

InterfaceType function len

function len():stdgo.GoInt

(view code)

InterfaceType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

InterfaceType function new

function new(?type:stdgo.internal.abi.Type_, ?pkgPath:stdgo.internal.abi.Name, ?methods:stdgo.Slice<stdgo.internal.abi.Imethod>):Void

(view code)

InterfaceType function pointers

function pointers():Bool

(view code)

InterfaceType function size

function size():stdgo.GoUIntptr

(view code)

InterfaceType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

InterfaceType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

InterfaceType function align

function align():stdgo.GoInt

(view code)

InterfaceType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

InterfaceType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

InterfaceType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

InterfaceType function elem

function elem():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

InterfaceType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

InterfaceType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

InterfaceType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

InterfaceType function gcSlice

function gcSlice( _begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

InterfaceType function hasName

function hasName():Bool

(view code)

InterfaceType function ifaceIndir

function ifaceIndir():Bool

(view code)

InterfaceType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

InterfaceType function isDirectIface

function isDirectIface():Bool

(view code)

InterfaceType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

InterfaceType function kind

function kind():stdgo.internal.abi.Kind

(view code)

InterfaceType function len

function len():stdgo.GoInt

(view code)

InterfaceType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

InterfaceType function numMethod

function numMethod():stdgo.GoInt

NumMethod returns the number of interface methods in the type's method set.

(view code)

InterfaceType function pointers

function pointers():Bool

(view code)

InterfaceType function size

function size():stdgo.GoUIntptr

(view code)

InterfaceType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

InterfaceType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class MapType

var bucket:stdgo.Ref<stdgo.internal.abi.Type_>
var bucketSize:stdgo.GoUInt16
var elem:stdgo.Ref<stdgo.internal.abi.Type_>
var flags:stdgo.GoUInt32
var key:stdgo.Ref<stdgo.internal.abi.Type_>
var keySize:stdgo.GoUInt8
var type:stdgo.internal.abi.Type_
var valueSize:stdgo.GoUInt8

MapType function align

function align():stdgo.GoInt

(view code)

MapType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

MapType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

MapType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

MapType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

MapType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

MapType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

MapType function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

MapType function hasName

function hasName():Bool

(view code)

MapType function hasher

function hasher(:stdgo.unsafe.UnsafePointer, :stdgo.GoUIntptr):stdgo.GoUIntptr

function for hashing keys (ptr to key, seed) -\> hash

MapType function ifaceIndir

function ifaceIndir():Bool

(view code)

MapType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

MapType function isDirectIface

function isDirectIface():Bool

(view code)

MapType function kind

function kind():stdgo.internal.abi.Kind

(view code)

MapType function len

function len():stdgo.GoInt

(view code)

MapType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

MapType function new

function new(?type:stdgo.internal.abi.Type_, ?key:stdgo.Ref<stdgo.internal.abi.Type_>, ?elem:stdgo.Ref<stdgo.internal.abi.Type_>, ?bucket:stdgo.Ref<stdgo.internal.abi.Type_>, ?hasher:(:stdgo.unsafe.UnsafePointer, :stdgo.GoUIntptr):stdgo.GoUIntptr, ?keySize:stdgo.GoUInt8, ?valueSize:stdgo.GoUInt8, ?bucketSize:stdgo.GoUInt16, ?flags:stdgo.GoUInt32):Void

(view code)

MapType function numMethod

function numMethod():stdgo.GoInt

(view code)

MapType function pointers

function pointers():Bool

(view code)

MapType function size

function size():stdgo.GoUIntptr

(view code)

MapType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

MapType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

MapType function align

function align():stdgo.GoInt

(view code)

MapType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

MapType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

MapType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

MapType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

MapType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

MapType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

MapType function gcSlice

function gcSlice( _begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

MapType function hasName

function hasName():Bool

(view code)

MapType function hashMightPanic

function hashMightPanic():Bool

(view code)

MapType function ifaceIndir

function ifaceIndir():Bool

(view code)

MapType function indirectElem

function indirectElem():Bool

(view code)

MapType function indirectKey

function indirectKey():Bool

Note: flag values must match those used in the TMAP case in ../cmd/compile/internal/reflectdata/reflect.go:writeType.

(view code)

MapType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

MapType function isDirectIface

function isDirectIface():Bool

(view code)

MapType function kind

function kind():stdgo.internal.abi.Kind

(view code)

MapType function len

function len():stdgo.GoInt

(view code)

MapType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

MapType function needKeyUpdate

function needKeyUpdate():Bool

(view code)

MapType function numMethod

function numMethod():stdgo.GoInt

(view code)

MapType function pointers

function pointers():Bool

(view code)

MapType function reflexiveKey

function reflexiveKey():Bool

(view code)

MapType function size

function size():stdgo.GoUIntptr

(view code)

MapType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

MapType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class Method

Method on non-interface type

var ifn:stdgo.internal.abi.TextOff
var mtyp:stdgo.internal.abi.TypeOff
var name:stdgo.internal.abi.NameOff
var tfn:stdgo.internal.abi.TextOff

Method function new

function new(?name:Null<stdgo.internal.abi.NameOff>, ?mtyp:Null<stdgo.internal.abi.TypeOff>, ?ifn:Null<stdgo.internal.abi.TextOff>, ?tfn:Null<stdgo.internal.abi.TextOff>):Void

(view code)

class Name

var bytes:stdgo.Pointer<stdgo.GoUInt8>

Name function new

function new(?bytes:stdgo.Pointer<stdgo.GoUInt8>):Void

(view code)

Name function data

function data( _off:stdgo.GoInt):stdgo.Pointer<stdgo.GoByte>

Data does pointer arithmetic on n's Bytes, and that arithmetic is asserted to be safe because the runtime made the call (other packages use DataChecked)

(view code)

Name function dataChecked

function dataChecked( _off:stdgo.GoInt, _whySafe:stdgo.GoString):stdgo.Pointer<stdgo.GoByte>

DataChecked does pointer arithmetic on n's Bytes, and that arithmetic is asserted to be safe for the reason in whySafe (which can appear in a backtrace, etc.)

(view code)

Name function hasTag

function hasTag():Bool

HasTag returns true iff there is tag data following this name

(view code)

Name function isBlank

function isBlank():Bool

IsBlank indicates whether n is "_".

(view code)

Name function isEmbedded

function isEmbedded():Bool

IsEmbedded returns true iff n is embedded (an anonymous field).

(view code)

Name function isExported

function isExported():Bool

IsExported returns "is n exported?"

(view code)

Name function name

function name():stdgo.GoString

Name returns the tag string for n, or empty if there is none.

(view code)

Name function readVarint

function readVarint( _off:stdgo.GoInt):{
	_1:stdgo.GoInt;
	_0:stdgo.GoInt;
}

ReadVarint parses a varint as encoded by encoding/binary. It returns the number of encoded bytes and the encoded value.

(view code)

Name function tag

function tag():stdgo.GoString

Tag returns the tag string for n, or empty if there is none.

(view code)

class Offset

Offset is for computing offsets of type data structures at compile/link time; the target platform may not be the host platform. Its state includes the current offset, necessary alignment for the sequence of types, and the size of pointers and alignment of slices, interfaces, and strings (this is for tearing- resistant access to these types, if/when that is supported).

var _align:stdgo.GoUInt8
var _off:stdgo.GoUInt64
var _ptrSize:stdgo.GoUInt8
var _sliceAlign:stdgo.GoUInt8

Offset function new

function new(?_off:stdgo.GoUInt64, ?_align:stdgo.GoUInt8, ?_ptrSize:stdgo.GoUInt8, ?_sliceAlign:stdgo.GoUInt8):Void

(view code)

Offset function \align\

function _align_( _a:stdgo.GoUInt8):stdgo.internal.abi.Offset

(view code)

Offset function _plus

function _plus( _x:stdgo.GoUInt64):stdgo.internal.abi.Offset

plus returns the offset obtained by appending a power-of-2-sized-and-aligned object to o.

(view code)

Offset function align

function align( _a:stdgo.GoUInt8):stdgo.internal.abi.Offset

Align returns the offset obtained by aligning offset to a multiple of a. a must be a power of two.

(view code)

Offset function d16

function d16():stdgo.internal.abi.Offset

D16 returns the offset obtained by appending a 16-bit field to o.

(view code)

Offset function d32

function d32():stdgo.internal.abi.Offset

D32 returns the offset obtained by appending a 32-bit field to o.

(view code)

Offset function d64

function d64():stdgo.internal.abi.Offset

D64 returns the offset obtained by appending a 64-bit field to o.

(view code)

Offset function d8

function d8():stdgo.internal.abi.Offset

D8 returns the offset obtained by appending an 8-bit field to o.

(view code)

Offset function interface_

function interface_():stdgo.internal.abi.Offset

Interface returns the offset obtained by appending an interface field to o.

(view code)

Offset function offset

function offset():stdgo.GoUInt64

Offset returns the struct-aligned offset (size) of o. This is at least as large as the current internal offset; it may be larger.

(view code)

Offset function p

function p():stdgo.internal.abi.Offset

D64 returns the offset obtained by appending a pointer field to o.

(view code)

Offset function plusUncommon

function plusUncommon():stdgo.internal.abi.Offset

(view code)

Offset function slice

function slice():stdgo.internal.abi.Offset

Slice returns the offset obtained by appending a slice field to o.

(view code)

Offset function string

function string():stdgo.internal.abi.Offset

String returns the offset obtained by appending a string field to o.

(view code)

class PtrType

var elem:stdgo.Ref<stdgo.internal.abi.Type_>
var type:stdgo.internal.abi.Type_

PtrType function align

function align():stdgo.GoInt

(view code)

PtrType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

PtrType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

PtrType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

PtrType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

PtrType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

PtrType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

PtrType function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

PtrType function hasName

function hasName():Bool

(view code)

PtrType function ifaceIndir

function ifaceIndir():Bool

(view code)

PtrType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

PtrType function isDirectIface

function isDirectIface():Bool

(view code)

PtrType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

PtrType function kind

function kind():stdgo.internal.abi.Kind

(view code)

PtrType function len

function len():stdgo.GoInt

(view code)

PtrType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

PtrType function new

function new(?type:stdgo.internal.abi.Type_, ?elem:stdgo.Ref<stdgo.internal.abi.Type_>):Void

(view code)

PtrType function numMethod

function numMethod():stdgo.GoInt

(view code)

PtrType function pointers

function pointers():Bool

(view code)

PtrType function size

function size():stdgo.GoUIntptr

(view code)

PtrType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

PtrType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

PtrType function align

function align():stdgo.GoInt

(view code)

PtrType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

PtrType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

PtrType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

PtrType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

PtrType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

PtrType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

PtrType function gcSlice

function gcSlice( _begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

PtrType function hasName

function hasName():Bool

(view code)

PtrType function ifaceIndir

function ifaceIndir():Bool

(view code)

PtrType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

PtrType function isDirectIface

function isDirectIface():Bool

(view code)

PtrType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

PtrType function kind

function kind():stdgo.internal.abi.Kind

(view code)

PtrType function len

function len():stdgo.GoInt

(view code)

PtrType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

PtrType function numMethod

function numMethod():stdgo.GoInt

(view code)

PtrType function pointers

function pointers():Bool

(view code)

PtrType function size

function size():stdgo.GoUIntptr

(view code)

PtrType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

PtrType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class RegArgs

RegArgs is a struct that has space for each argument and return value register on the current architecture.

Assembly code knows the layout of the first two fields of RegArgs.

RegArgs also contains additional space to hold pointers when it may not be safe to keep them only in the integer register space otherwise.

var floats:stdgo.GoArray<stdgo.GoUInt64>
var ints:stdgo.GoArray<stdgo.GoUIntptr>

Values in these slots should be precisely the bit-by-bit representation of how they would appear in a register.

This means that on big endian arches, integer values should be in the top bits of the slot. Floats are usually just directly represented, but some architectures treat narrow width floating point values specially (e.g. they're promoted first, or they need to be NaN-boxed).

var ptrs:stdgo.GoArray<stdgo.unsafe.UnsafePointer>

Ptrs is a space that duplicates Ints but with pointer type, used to make pointers passed or returned in registers visible to the GC by making the type unsafe.Pointer.

var returnIsPtr:stdgo.internal.abi.IntArgRegBitmap

ReturnIsPtr is a bitmap that indicates which registers contain or will contain pointers on the return path from a reflectcall. The i'th bit indicates whether the i'th register contains or will contain a valid Go pointer.

RegArgs function new

function new(?ints:stdgo.GoArray<stdgo.GoUIntptr>, ?floats:stdgo.GoArray<stdgo.GoUInt64>, ?ptrs:stdgo.GoArray<stdgo.unsafe.UnsafePointer>, ?returnIsPtr:Null<stdgo.internal.abi.IntArgRegBitmap>):Void

(view code)

RegArgs function dump

function dump():Void

(view code)

RegArgs function intRegArgAddr

function intRegArgAddr( _reg:stdgo.GoInt, _argSize:stdgo.GoUIntptr):stdgo.unsafe.UnsafePointer

IntRegArgAddr returns a pointer inside of r.Ints[reg] that is appropriately offset for an argument of size argSize.

argSize must be non-zero, fit in a register, and a power-of-two.

This method is a helper for dealing with the endianness of different CPU architectures, since sub-word-sized arguments in big endian architectures need to be "aligned" to the upper edge of the register to be interpreted by the CPU correctly.

(view code)

class SliceType

var elem:stdgo.Ref<stdgo.internal.abi.Type_>
var type:stdgo.internal.abi.Type_

SliceType function align

function align():stdgo.GoInt

(view code)

SliceType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

SliceType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

SliceType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

SliceType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

SliceType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

SliceType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

SliceType function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

SliceType function hasName

function hasName():Bool

(view code)

SliceType function ifaceIndir

function ifaceIndir():Bool

(view code)

SliceType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

SliceType function isDirectIface

function isDirectIface():Bool

(view code)

SliceType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

SliceType function kind

function kind():stdgo.internal.abi.Kind

(view code)

SliceType function len

function len():stdgo.GoInt

(view code)

SliceType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

SliceType function new

function new(?type:stdgo.internal.abi.Type_, ?elem:stdgo.Ref<stdgo.internal.abi.Type_>):Void

(view code)

SliceType function numMethod

function numMethod():stdgo.GoInt

(view code)

SliceType function pointers

function pointers():Bool

(view code)

SliceType function size

function size():stdgo.GoUIntptr

(view code)

SliceType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

SliceType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

SliceType function align

function align():stdgo.GoInt

(view code)

SliceType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

SliceType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

SliceType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

SliceType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

SliceType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

SliceType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

SliceType function gcSlice

function gcSlice( _begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

SliceType function hasName

function hasName():Bool

(view code)

SliceType function ifaceIndir

function ifaceIndir():Bool

(view code)

SliceType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

SliceType function isDirectIface

function isDirectIface():Bool

(view code)

SliceType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

SliceType function kind

function kind():stdgo.internal.abi.Kind

(view code)

SliceType function len

function len():stdgo.GoInt

(view code)

SliceType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

SliceType function numMethod

function numMethod():stdgo.GoInt

(view code)

SliceType function pointers

function pointers():Bool

(view code)

SliceType function size

function size():stdgo.GoUIntptr

(view code)

SliceType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

SliceType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class StructField

var name:stdgo.internal.abi.Name
var offset:stdgo.GoUIntptr
var typ:stdgo.Ref<stdgo.internal.abi.Type_>

StructField function new

function new(?name:stdgo.internal.abi.Name, ?typ:stdgo.Ref<stdgo.internal.abi.Type_>, ?offset:stdgo.GoUIntptr):Void

(view code)

StructField function embedded

function embedded():Bool

(view code)

class StructType

var fields:stdgo.Slice<stdgo.internal.abi.StructField>
var pkgPath:stdgo.internal.abi.Name
var type:stdgo.internal.abi.Type_

StructType function align

function align():stdgo.GoInt

(view code)

StructType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

StructType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

StructType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

StructType function elem

function elem():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

StructType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

StructType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

StructType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

StructType function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

StructType function hasName

function hasName():Bool

(view code)

StructType function ifaceIndir

function ifaceIndir():Bool

(view code)

StructType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

StructType function isDirectIface

function isDirectIface():Bool

(view code)

StructType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

StructType function kind

function kind():stdgo.internal.abi.Kind

(view code)

StructType function len

function len():stdgo.GoInt

(view code)

StructType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

StructType function new

function new(?type:stdgo.internal.abi.Type_, ?pkgPath:stdgo.internal.abi.Name, ?fields:stdgo.Slice<stdgo.internal.abi.StructField>):Void

(view code)

StructType function numMethod

function numMethod():stdgo.GoInt

(view code)

StructType function pointers

function pointers():Bool

(view code)

StructType function size

function size():stdgo.GoUIntptr

(view code)

StructType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

StructType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

StructType function align

function align():stdgo.GoInt

(view code)

StructType function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

StructType function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

StructType function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

StructType function elem

function elem():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

StructType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

StructType function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

StructType function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

StructType function gcSlice

function gcSlice( _begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

StructType function hasName

function hasName():Bool

(view code)

StructType function ifaceIndir

function ifaceIndir():Bool

(view code)

StructType function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

StructType function isDirectIface

function isDirectIface():Bool

(view code)

StructType function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

StructType function kind

function kind():stdgo.internal.abi.Kind

(view code)

StructType function len

function len():stdgo.GoInt

(view code)

StructType function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

StructType function numMethod

function numMethod():stdgo.GoInt

(view code)

StructType function pointers

function pointers():Bool

(view code)

StructType function size

function size():stdgo.GoUIntptr

(view code)

StructType function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

StructType function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class T\uncommon\42\\\localname\__u

var _u:stdgo.internal.abi.UncommonType
var ptrType:stdgo.internal.abi.PtrType

T\uncommon\42\\\localname\__u function align

function align():stdgo.GoInt

(view code)

T\uncommon\42\\\localname\__u function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

T\uncommon\42\\\localname\__u function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

T\uncommon\42\\\localname\__u function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\42\\\localname\__u function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

T\uncommon\42\\\localname\__u function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

T\uncommon\42\\\localname\__u function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

T\uncommon\42\\\localname\__u function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

T\uncommon\42\\\localname\__u function hasName

function hasName():Bool

(view code)

T\uncommon\42\\\localname\__u function ifaceIndir

function ifaceIndir():Bool

(view code)

T\uncommon\42\\\localname\__u function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

T\uncommon\42\\\localname\__u function isDirectIface

function isDirectIface():Bool

(view code)

T\uncommon\42\\\localname\__u function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\42\\\localname\__u function kind

function kind():stdgo.internal.abi.Kind

(view code)

T\uncommon\42\\\localname\__u function len

function len():stdgo.GoInt

(view code)

T\uncommon\42\\\localname\__u function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

T\uncommon\42\\\localname\__u function new

function new(?ptrType:stdgo.internal.abi.PtrType, ?_u:stdgo.internal.abi.UncommonType):Void

(view code)

T\uncommon\42\\\localname\__u function numMethod

function numMethod():stdgo.GoInt

(view code)

T\uncommon\42\\\localname\__u function pointers

function pointers():Bool

(view code)

T\uncommon\42\\\localname\__u function size

function size():stdgo.GoUIntptr

(view code)

T\uncommon\42\\\localname\__u function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

T\uncommon\42\\\localname\__u function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class T\uncommon\43\\\localname\__u

var _u:stdgo.internal.abi.UncommonType
var funcType:stdgo.internal.abi.FuncType

T\uncommon\43\\\localname\__u function align

function align():stdgo.GoInt

(view code)

T\uncommon\43\\\localname\__u function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

T\uncommon\43\\\localname\__u function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

T\uncommon\43\\\localname\__u function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\43\\\localname\__u function elem

function elem():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\43\\\localname\__u function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

T\uncommon\43\\\localname\__u function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

T\uncommon\43\\\localname\__u function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

T\uncommon\43\\\localname\__u function hasName

function hasName():Bool

(view code)

T\uncommon\43\\\localname\__u function ifaceIndir

function ifaceIndir():Bool

(view code)

T\uncommon\43\\\localname\__u function inSlice

function inSlice():stdgo.Slice<stdgo.Ref<stdgo.internal.abi.Type_>>

(view code)

T\uncommon\43\\\localname\_\u function in\

function in_(_i:stdgo.GoInt):stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\43\\\localname\__u function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

T\uncommon\43\\\localname\__u function isDirectIface

function isDirectIface():Bool

(view code)

T\uncommon\43\\\localname\__u function isVariadic

function isVariadic():Bool

(view code)

T\uncommon\43\\\localname\__u function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\43\\\localname\__u function kind

function kind():stdgo.internal.abi.Kind

(view code)

T\uncommon\43\\\localname\__u function len

function len():stdgo.GoInt

(view code)

T\uncommon\43\\\localname\__u function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

T\uncommon\43\\\localname\__u function new

function new(?funcType:stdgo.internal.abi.FuncType, ?_u:stdgo.internal.abi.UncommonType):Void

(view code)

T\uncommon\43\\\localname\__u function numIn

function numIn():stdgo.GoInt

(view code)

T\uncommon\43\\\localname\__u function numMethod

function numMethod():stdgo.GoInt

(view code)

T\uncommon\43\\\localname\__u function numOut

function numOut():stdgo.GoInt

(view code)

T\uncommon\43\\\localname\__u function out

function out(_i:stdgo.GoInt):stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\43\\\localname\__u function outSlice

function outSlice():stdgo.Slice<stdgo.Ref<stdgo.internal.abi.Type_>>

(view code)

T\uncommon\43\\\localname\__u function pointers

function pointers():Bool

(view code)

T\uncommon\43\\\localname\__u function size

function size():stdgo.GoUIntptr

(view code)

T\uncommon\43\\\localname\__u function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

T\uncommon\43\\\localname\__u function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class T\uncommon\44\\\localname\__u

var _u:stdgo.internal.abi.UncommonType
var sliceType:stdgo.internal.abi.SliceType

T\uncommon\44\\\localname\__u function align

function align():stdgo.GoInt

(view code)

T\uncommon\44\\\localname\__u function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

T\uncommon\44\\\localname\__u function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

T\uncommon\44\\\localname\__u function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\44\\\localname\__u function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

T\uncommon\44\\\localname\__u function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

T\uncommon\44\\\localname\__u function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

T\uncommon\44\\\localname\__u function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

T\uncommon\44\\\localname\__u function hasName

function hasName():Bool

(view code)

T\uncommon\44\\\localname\__u function ifaceIndir

function ifaceIndir():Bool

(view code)

T\uncommon\44\\\localname\__u function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

T\uncommon\44\\\localname\__u function isDirectIface

function isDirectIface():Bool

(view code)

T\uncommon\44\\\localname\__u function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\44\\\localname\__u function kind

function kind():stdgo.internal.abi.Kind

(view code)

T\uncommon\44\\\localname\__u function len

function len():stdgo.GoInt

(view code)

T\uncommon\44\\\localname\__u function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

T\uncommon\44\\\localname\__u function new

function new(?sliceType:stdgo.internal.abi.SliceType, ?_u:stdgo.internal.abi.UncommonType):Void

(view code)

T\uncommon\44\\\localname\__u function numMethod

function numMethod():stdgo.GoInt

(view code)

T\uncommon\44\\\localname\__u function pointers

function pointers():Bool

(view code)

T\uncommon\44\\\localname\__u function size

function size():stdgo.GoUIntptr

(view code)

T\uncommon\44\\\localname\__u function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

T\uncommon\44\\\localname\__u function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class T\uncommon\45\\\localname\__u

var _u:stdgo.internal.abi.UncommonType
var arrayType:stdgo.internal.abi.ArrayType

T\uncommon\45\\\localname\__u function align

function align():stdgo.GoInt

(view code)

T\uncommon\45\\\localname\__u function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

T\uncommon\45\\\localname\__u function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\45\\\localname\__u function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

T\uncommon\45\\\localname\__u function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

T\uncommon\45\\\localname\__u function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

T\uncommon\45\\\localname\__u function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

T\uncommon\45\\\localname\__u function hasName

function hasName():Bool

(view code)

T\uncommon\45\\\localname\__u function ifaceIndir

function ifaceIndir():Bool

(view code)

T\uncommon\45\\\localname\__u function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

T\uncommon\45\\\localname\__u function isDirectIface

function isDirectIface():Bool

(view code)

T\uncommon\45\\\localname\__u function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\45\\\localname\__u function kind

function kind():stdgo.internal.abi.Kind

(view code)

T\uncommon\45\\\localname\__u function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

T\uncommon\45\\\localname\__u function new

function new(?arrayType:stdgo.internal.abi.ArrayType, ?_u:stdgo.internal.abi.UncommonType):Void

(view code)

T\uncommon\45\\\localname\__u function numMethod

function numMethod():stdgo.GoInt

(view code)

T\uncommon\45\\\localname\__u function pointers

function pointers():Bool

(view code)

T\uncommon\45\\\localname\__u function size

function size():stdgo.GoUIntptr

(view code)

T\uncommon\45\\\localname\__u function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

T\uncommon\45\\\localname\__u function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class T\uncommon\46\\\localname\__u

var _u:stdgo.internal.abi.UncommonType
var chanType:stdgo.internal.abi.ChanType

T\uncommon\46\\\localname\__u function align

function align():stdgo.GoInt

(view code)

T\uncommon\46\\\localname\__u function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

T\uncommon\46\\\localname\__u function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

T\uncommon\46\\\localname\__u function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\46\\\localname\__u function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

T\uncommon\46\\\localname\__u function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

T\uncommon\46\\\localname\__u function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

T\uncommon\46\\\localname\__u function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

T\uncommon\46\\\localname\__u function hasName

function hasName():Bool

(view code)

T\uncommon\46\\\localname\__u function ifaceIndir

function ifaceIndir():Bool

(view code)

T\uncommon\46\\\localname\__u function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

T\uncommon\46\\\localname\__u function isDirectIface

function isDirectIface():Bool

(view code)

T\uncommon\46\\\localname\__u function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\46\\\localname\__u function kind

function kind():stdgo.internal.abi.Kind

(view code)

T\uncommon\46\\\localname\__u function len

function len():stdgo.GoInt

(view code)

T\uncommon\46\\\localname\__u function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

T\uncommon\46\\\localname\__u function new

function new(?chanType:stdgo.internal.abi.ChanType, ?_u:stdgo.internal.abi.UncommonType):Void

(view code)

T\uncommon\46\\\localname\__u function numMethod

function numMethod():stdgo.GoInt

(view code)

T\uncommon\46\\\localname\__u function pointers

function pointers():Bool

(view code)

T\uncommon\46\\\localname\__u function size

function size():stdgo.GoUIntptr

(view code)

T\uncommon\46\\\localname\__u function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

T\uncommon\46\\\localname\__u function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class T\uncommon\47\\\localname\__u

var _u:stdgo.internal.abi.UncommonType
var mapType:stdgo.internal.abi.MapType

T\uncommon\47\\\localname\__u function align

function align():stdgo.GoInt

(view code)

T\uncommon\47\\\localname\__u function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

T\uncommon\47\\\localname\__u function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

T\uncommon\47\\\localname\__u function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\47\\\localname\__u function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

T\uncommon\47\\\localname\__u function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

T\uncommon\47\\\localname\__u function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

T\uncommon\47\\\localname\__u function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

T\uncommon\47\\\localname\__u function hasName

function hasName():Bool

(view code)

T\uncommon\47\\\localname\__u function hashMightPanic

function hashMightPanic():Bool

(view code)

T\uncommon\47\\\localname\__u function ifaceIndir

function ifaceIndir():Bool

(view code)

T\uncommon\47\\\localname\__u function indirectElem

function indirectElem():Bool

(view code)

T\uncommon\47\\\localname\__u function indirectKey

function indirectKey():Bool

(view code)

T\uncommon\47\\\localname\__u function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

T\uncommon\47\\\localname\__u function isDirectIface

function isDirectIface():Bool

(view code)

T\uncommon\47\\\localname\__u function kind

function kind():stdgo.internal.abi.Kind

(view code)

T\uncommon\47\\\localname\__u function len

function len():stdgo.GoInt

(view code)

T\uncommon\47\\\localname\__u function needKeyUpdate

function needKeyUpdate():Bool

(view code)

T\uncommon\47\\\localname\__u function new

function new(?mapType:stdgo.internal.abi.MapType, ?_u:stdgo.internal.abi.UncommonType):Void

(view code)

T\uncommon\47\\\localname\__u function numMethod

function numMethod():stdgo.GoInt

(view code)

T\uncommon\47\\\localname\__u function pointers

function pointers():Bool

(view code)

T\uncommon\47\\\localname\__u function reflexiveKey

function reflexiveKey():Bool

(view code)

T\uncommon\47\\\localname\__u function size

function size():stdgo.GoUIntptr

(view code)

T\uncommon\47\\\localname\__u function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

T\uncommon\47\\\localname\__u function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class T\uncommon\48\\\localname\__u

var _u:stdgo.internal.abi.UncommonType
var interfaceType:stdgo.internal.abi.InterfaceType

T\uncommon\48\\\localname\__u function align

function align():stdgo.GoInt

(view code)

T\uncommon\48\\\localname\__u function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

T\uncommon\48\\\localname\__u function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

T\uncommon\48\\\localname\__u function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\48\\\localname\__u function elem

function elem():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\48\\\localname\__u function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

T\uncommon\48\\\localname\__u function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

T\uncommon\48\\\localname\__u function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

T\uncommon\48\\\localname\__u function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

T\uncommon\48\\\localname\__u function hasName

function hasName():Bool

(view code)

T\uncommon\48\\\localname\__u function ifaceIndir

function ifaceIndir():Bool

(view code)

T\uncommon\48\\\localname\__u function isDirectIface

function isDirectIface():Bool

(view code)

T\uncommon\48\\\localname\__u function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\48\\\localname\__u function kind

function kind():stdgo.internal.abi.Kind

(view code)

T\uncommon\48\\\localname\__u function len

function len():stdgo.GoInt

(view code)

T\uncommon\48\\\localname\__u function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

T\uncommon\48\\\localname\__u function new

function new(?interfaceType:stdgo.internal.abi.InterfaceType, ?_u:stdgo.internal.abi.UncommonType):Void

(view code)

T\uncommon\48\\\localname\__u function numMethod

function numMethod():stdgo.GoInt

(view code)

T\uncommon\48\\\localname\__u function pointers

function pointers():Bool

(view code)

T\uncommon\48\\\localname\__u function size

function size():stdgo.GoUIntptr

(view code)

T\uncommon\48\\\localname\__u function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

T\uncommon\48\\\localname\__u function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class T\uncommon\49\\\localname\__u

var _u:stdgo.internal.abi.UncommonType
var type:stdgo.internal.abi.Type_

T\uncommon\49\\\localname\__u function align

function align():stdgo.GoInt

(view code)

T\uncommon\49\\\localname\__u function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

(view code)

T\uncommon\49\\\localname\__u function chanDir

function chanDir():stdgo.internal.abi.ChanDir

(view code)

T\uncommon\49\\\localname\__u function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\49\\\localname\__u function elem

function elem():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\49\\\localname\__u function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

T\uncommon\49\\\localname\__u function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

T\uncommon\49\\\localname\__u function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

(view code)

T\uncommon\49\\\localname\__u function gcSlice

function gcSlice(_begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoUInt8>

(view code)

T\uncommon\49\\\localname\__u function hasName

function hasName():Bool

(view code)

T\uncommon\49\\\localname\__u function ifaceIndir

function ifaceIndir():Bool

(view code)

T\uncommon\49\\\localname\__u function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

(view code)

T\uncommon\49\\\localname\__u function isDirectIface

function isDirectIface():Bool

(view code)

T\uncommon\49\\\localname\__u function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

T\uncommon\49\\\localname\__u function kind

function kind():stdgo.internal.abi.Kind

(view code)

T\uncommon\49\\\localname\__u function len

function len():stdgo.GoInt

(view code)

T\uncommon\49\\\localname\__u function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

(view code)

T\uncommon\49\\\localname\__u function new

function new(?type:stdgo.internal.abi.Type_, ?_u:stdgo.internal.abi.UncommonType):Void

(view code)

T\uncommon\49\\\localname\__u function numMethod

function numMethod():stdgo.GoInt

(view code)

T\uncommon\49\\\localname\__u function pointers

function pointers():Bool

(view code)

T\uncommon\49\\\localname\__u function size

function size():stdgo.GoUIntptr

(view code)

T\uncommon\49\\\localname\__u function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

(view code)

T\uncommon\49\\\localname\__u function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

(view code)

class Type_

Type is the runtime representation of a Go type.

Type is also referenced implicitly (in the form of expressions involving constants and arch.PtrSize) in cmd/compile/internal/reflectdata/reflect.go and cmd/link/internal/ld/decodesym.go (e.g. data[2*arch.PtrSize+4] references the TFlag field) unsafe.OffsetOf(Type{}.TFlag) cannot be used directly in those places because it varies with cross compilation and experiments.

var align_:stdgo.GoUInt8
var fieldAlign_:stdgo.GoUInt8
var gcdata:stdgo.Pointer<stdgo.GoUInt8>

GCData stores the GC type data for the garbage collector. If the KindGCProg bit is set in kind, GCData is a GC program. Otherwise it is a ptrmask bitmap. See mbitmap.go for details.

var hash:stdgo.GoUInt32
var kind_:stdgo.GoUInt8
var ptrBytes:stdgo.GoUIntptr
var ptrToThis:stdgo.internal.abi.TypeOff
var size_:stdgo.GoUIntptr
var str:stdgo.internal.abi.NameOff
var tflag:stdgo.internal.abi.TFlag

Type_ function equal

function equal(:stdgo.unsafe.UnsafePointer, :stdgo.unsafe.UnsafePointer):Bool

function for comparing objects of this type (ptr to object A, ptr to object B) -\> ==?

Type_ function new

function new(?size_:stdgo.GoUIntptr, ?ptrBytes:stdgo.GoUIntptr, ?hash:stdgo.GoUInt32, ?tflag:Null<stdgo.internal.abi.TFlag>, ?align_:stdgo.GoUInt8, ?fieldAlign_:stdgo.GoUInt8, ?kind_:stdgo.GoUInt8, ?equal:(:stdgo.unsafe.UnsafePointer, :stdgo.unsafe.UnsafePointer):Bool, ?gcdata:stdgo.Pointer<stdgo.GoUInt8>, ?str:Null<stdgo.internal.abi.NameOff>, ?ptrToThis:Null<stdgo.internal.abi.TypeOff>):Void

(view code)

Type_ function align

function align():stdgo.GoInt

Align returns the alignment of data with type t.

(view code)

Type_ function arrayType

function arrayType():stdgo.Ref<stdgo.internal.abi.ArrayType>

ArrayType returns t cast to a *ArrayType, or nil if its tag does not match.

(view code)

Type_ function chanDir

function chanDir():stdgo.internal.abi.ChanDir

ChanDir returns the direction of t if t is a channel type, otherwise InvalidDir (0).

(view code)

Type_ function common

function common():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

Type_ function elem

function elem():stdgo.Ref<stdgo.internal.abi.Type_>

Elem returns the element type for t if t is an array, channel, map, pointer, or slice, otherwise nil.

(view code)

Type_ function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

Type_ function fieldAlign

function fieldAlign():stdgo.GoInt

(view code)

Type_ function funcType

function funcType():stdgo.Ref<stdgo.internal.abi.FuncType>

FuncType returns t cast to a *FuncType, or nil if its tag does not match.

(view code)

Type_ function gcSlice

function gcSlice( _begin:stdgo.GoUIntptr, _end:stdgo.GoUIntptr):stdgo.Slice<stdgo.GoByte>

(view code)

Type_ function hasName

function hasName():Bool

(view code)

Type_ function ifaceIndir

function ifaceIndir():Bool

IfaceIndir reports whether t is stored indirectly in an interface value.

(view code)

Type_ function interfaceType

function interfaceType():stdgo.Ref<stdgo.internal.abi.InterfaceType>

InterfaceType returns t cast to a *InterfaceType, or nil if its tag does not match.

(view code)

Type_ function isDirectIface

function isDirectIface():Bool

isDirectIface reports whether t is stored directly in an interface value.

(view code)

Type_ function key

function key():stdgo.Ref<stdgo.internal.abi.Type_>

(view code)

Type_ function kind

function kind():stdgo.internal.abi.Kind

(view code)

Type_ function len

function len():stdgo.GoInt

Len returns the length of t if t is an array type, otherwise 0

(view code)

Type_ function mapType

function mapType():stdgo.Ref<stdgo.internal.abi.MapType>

MapType returns t cast to a *MapType, or nil if its tag does not match.

(view code)

Type_ function numMethod

function numMethod():stdgo.GoInt

(view code)

Type_ function pointers

function pointers():Bool

(view code)

Type_ function size

function size():stdgo.GoUIntptr

Size returns the size of data with type t.

(view code)

Type_ function structType

function structType():stdgo.Ref<stdgo.internal.abi.StructType>

StructType returns t cast to a *StructType, or nil if its tag does not match.

(view code)

Type_ function uncommon

function uncommon():stdgo.Ref<stdgo.internal.abi.UncommonType>

Uncommon returns a pointer to T's "uncommon" data if there is any, otherwise nil

(view code)

class UncommonType

UncommonType is present only for defined types or types with methods (if T is a defined type, the uncommonTypes for T and *T have methods). Using a pointer to this struct reduces the overall size required to describe a non-defined type with no methods.

var __1:stdgo.GoUInt32
var mcount:stdgo.GoUInt16
var moff:stdgo.GoUInt32
var pkgPath:stdgo.internal.abi.NameOff
var xcount:stdgo.GoUInt16

UncommonType function new

function new(?pkgPath:Null<stdgo.internal.abi.NameOff>, ?mcount:stdgo.GoUInt16, ?xcount:stdgo.GoUInt16, ?moff:stdgo.GoUInt32, ?__1:stdgo.GoUInt32):Void

(view code)

UncommonType function exportedMethods

function exportedMethods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

UncommonType function methods

function methods():stdgo.Slice<stdgo.internal.abi.Method>

(view code)

Typedefs

import stdgo.internal.abi.*

typedef ChanDir

typedef ChanDir = stdgo.GoInt;

typedef FuncFlag

typedef FuncFlag = stdgo.GoUInt8;

A FuncFlag records bits about a function, passed to the runtime.

typedef FuncID

typedef FuncID = stdgo.GoUInt8;

A FuncID identifies particular functions that need to be treated specially by the runtime. Note that in some situations involving plugins, there may be multiple copies of a particular special runtime function.

typedef IntArgRegBitmap

typedef IntArgRegBitmap = stdgo.GoArray<stdgo.GoUInt8>;

IntArgRegBitmap is a bitmap large enough to hold one bit per integer argument/return register.

typedef Kind

typedef Kind = stdgo.GoUInt;

A Kind represents the specific kind of type that a Type represents. The zero Kind is not a valid kind.

typedef NameOff

typedef NameOff = stdgo.GoInt32;

NameOff is the offset to a name from moduledata.types. See resolveNameOff in runtime.

typedef TFlag

typedef TFlag = stdgo.GoUInt8;

TFlag is used by a Type to signal what extra type information is available in the memory directly following the Type value.

typedef TextOff

typedef TextOff = stdgo.GoInt32;

TextOff is an offset from the top of a text section. See (rtype).textOff in runtime.

typedef TypeOff

typedef TypeOff = stdgo.GoInt32;

TypeOff is the offset to a type from moduledata.types. See resolveTypeOff in runtime.