Documentation ¶
Index ¶
- Constants
- func BytesFrom(p unsafe.Pointer, n int, c int) (r []byte)
- func FuncAddr(f interface{}) unsafe.Pointer
- func GrowSlice(s interface{}, cap int)
- 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)
- type BitVec
- type Bitmap
- type Frame
- type GoEface
- type GoIface
- type GoItab
- type GoMap
- type GoMapIterator
- type GoMapType
- type GoPtrType
- type GoSlice
- type GoSliceType
- type GoString
- type GoType
- 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
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bitmap ¶
func (*Bitmap) AppendMany ¶
type GoEface ¶
func UnpackEface ¶
func UnpackEface(v interface{}) (r 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 GoSliceType ¶
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 int32 PtrToSelf int32 }
func UnpackType ¶
func (*GoType) IsIndirect ¶
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.