Documentation
¶
Index ¶
- Variables
- type Addr
- func (a Addr) Bool() bool
- func (a Addr) Bytes() []byte
- func (a Addr) CopyBytes(src ...Addr)
- func (a Addr) CopyVector(v []Addr)
- func (a Addr) EqualBytes(b Addr) bool
- func (a Addr) EqualType(b Addr) bool
- func (a Addr) Int64() int64
- func (a Addr) Print(w io.Writer)
- func (a Addr) SetInt64(n int64)
- func (a Addr) SetVectorAt(i int, v Addr)
- func (a Addr) Size() uint32
- func (a Addr) Type() Type
- func (a Addr) TypeOf(t Type) bool
- func (a Addr) Vector() []Addr
- func (a Addr) VectorAt(i int) Addr
- func (a Addr) VectorLen() int
- type Memory
- func (b *Memory) Alloc(in interface{}) (Addr, error)
- func (b *Memory) AllocBytes(size uint32) Addr
- func (b *Memory) AllocBytesAddr(dat []byte) Addr
- func (b *Memory) AllocInt64(v int64) Addr
- func (b *Memory) AllocVector(size uint32) Addr
- func (b *Memory) CopyVector(elems ...Addr) Addr
- func (b *Memory) Reset()
- type Opt
- type Type
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Addr ¶
type Addr struct {
// contains filtered or unexported fields
}
func (Addr) CopyVector ¶
func (Addr) EqualBytes ¶
func (Addr) SetVectorAt ¶
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
func (*Memory) AllocBytes ¶
func (*Memory) AllocBytesAddr ¶
func (*Memory) AllocInt64 ¶
func (*Memory) AllocVector ¶
func (*Memory) CopyVector ¶
type Opt ¶ added in v1.1.0
type Opt func(*Memory)
func PreallocGrid ¶ added in v1.1.0
func PreallocHeap ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.