Documentation ¶
Index ¶
- Constants
- func BytesFrom(p unsafe.Pointer, n int, c int) (r []byte)
- func FuncAddr(f interface{}) unsafe.Pointer
- func FuncName(p unsafe.Pointer) string
- func IsPtr(t *GoType) bool
- func MapClear(m interface{})
- func NoEscape(p unsafe.Pointer) unsafe.Pointer
- func StringFrom(p unsafe.Pointer, n int) (r string)
- func StringPtr(s string) unsafe.Pointer
- type BitVec
- type Bitmap
- type Frame
- type GoEface
- type GoIface
- type GoItab
- type GoMap
- type GoMapIterator
- type GoMapType
- type GoMethod
- type GoName
- type GoNameOffset
- type GoPtrType
- type GoSlice
- type GoSliceType
- type GoString
- type GoStructField
- type GoStructType
- type GoTextOffset
- type GoType
- type GoTypeOffset
- type GoUncommonType
- type Method
- type Stack
- type StackMap
- type StackMapBuilder
Constants ¶
View Source
const ( F_direct = 1 << 5 F_kind_mask = (1 << 5) - 1 )
View Source
const (
GoItabFuncBase = unsafe.Offsetof(GoItab{}.fn)
)
View Source
const (
MaxFastMap = 128
)
View Source
const (
T_uncommon = 1 << 0
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bitmap ¶
func (*Bitmap) AppendMany ¶
type GoEface ¶
func UnpackEface ¶
func UnpackEface(v interface{}) GoEface
type GoMapIterator ¶
type GoMapIterator struct { K unsafe.Pointer V unsafe.Pointer T *GoMapType H *GoMap Buckets unsafe.Pointer Bptr *unsafe.Pointer Overflow *[]unsafe.Pointer OldOverflow *[]unsafe.Pointer StartBucket uintptr Offset uint8 Wrapped bool B uint8 I uint8 Bucket uintptr CheckBucket uintptr }
func (*GoMapIterator) Next ¶
func (self *GoMapIterator) Next() bool
type GoMapType ¶
type GoMethod ¶ added in v0.1.2
type GoMethod struct { Name GoNameOffset Type GoTypeOffset IFunc GoTextOffset TFunc GoTextOffset }
type GoName ¶ added in v0.1.2
type GoName struct {
// contains filtered or unexported fields
}
func (GoName) IsExported ¶ added in v0.1.2
type GoNameOffset ¶ added in v0.1.2
type GoNameOffset int32
func (GoNameOffset) Resolve ¶ added in v0.1.2
func (self GoNameOffset) Resolve(vt *GoType) GoName
type GoSliceType ¶
type GoStructField ¶ added in v0.1.2
type GoStructType ¶ added in v0.1.2
type GoStructType struct { GoType PkgPath GoName Fields []GoStructField }
type GoTextOffset ¶ added in v0.1.2
type GoTextOffset int32
type GoType ¶
type GoType struct { Size uintptr PtrData uintptr Hash uint32 Flags uint8 Align uint8 FieldAlign uint8 KindFlags uint8 Equal func(unsafe.Pointer, unsafe.Pointer) bool GCData *byte Str GoNameOffset PtrToSelf GoTypeOffset }
func Dereference ¶ added in v0.1.4
func UnpackType ¶
func (*GoType) IsIndirect ¶
func (*GoType) IsUncommon ¶ added in v0.1.2
type GoTypeOffset ¶ added in v0.1.2
type GoTypeOffset int32
func (GoTypeOffset) Resolve ¶ added in v0.1.2
func (self GoTypeOffset) Resolve(vt *GoType) *GoType
type GoUncommonType ¶ added in v0.1.2
type GoUncommonType struct { PkgPath int32 NumMethod uint16 NumExported uint16 MethodOffset uint32 // contains filtered or unexported fields }
func (*GoUncommonType) Methods ¶ added in v0.1.2
func (self *GoUncommonType) Methods() []GoMethod
type StackMapBuilder ¶
type StackMapBuilder struct {
// contains filtered or unexported fields
}
func (*StackMapBuilder) AddField ¶
func (self *StackMapBuilder) AddField(ptr bool)
func (*StackMapBuilder) AddFields ¶
func (self *StackMapBuilder) AddFields(n int, ptr bool)
func (*StackMapBuilder) Build ¶
func (self *StackMapBuilder) Build() (p *StackMap)
Click to show internal directories.
Click to hide internal directories.