Documentation
¶
Index ¶
- Constants
- type AElement
- func (e *AElement) Base() *Element
- func (ae *AElement) Commit()
- func (e *AElement) Free()
- func (ae *AElement) InitValue()
- func (at *AElement) Insert(e *AElement) *AElement
- func (e *AElement) List() *AList
- func (e *AElement) Next() *AElement
- func (e *AElement) Prev() *AElement
- func (e *AElement) Remove() bool
- func (ae *AElement) Value() interface{}
- type AList
- type Element
- func (e *Element) Commit()
- func (e *Element) DumpPicks() string
- func (e *Element) Free()
- func (e *Element) InitValue()
- func (e *Element) IsPicked(i interface{}) bool
- func (e *Element) List() *List
- func (e *Element) Next() *Element
- func (e *Element) Prev() *Element
- func (e *Element) Value() interface{}
- func (e *Element) ValueWithCast() interface{}
- type List
- func (l *List) Back() *Element
- func (l *List) Cap() int
- func (l *List) ElemByValue(v interface{}) (elm *Element)
- func (l *List) Front() *Element
- func (l *List) GetDataPtr() uintptr
- func (l *List) GetElement() *Element
- func (l *List) Inf() interface{}
- func (l *List) Init(first_value interface{}, value_len int) *List
- func (l *List) InsertLast() *Element
- func (l *List) InsertNewElem(at *Element) *Element
- func (l *List) Pick_ptr(e *Element)
- func (l *List) SetCastFunc(f func(val interface{}) interface{})
- func (l *List) TypeOfValue_inf() reflect.Type
- func (l *List) Value() interface{}
Constants ¶
View Source
const (
DEFAULT_BUF_SIZE = 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AElement ¶
type AElement struct {
// contains filtered or unexported fields
}
AElement is an element of alias linked list.
type AList ¶
type AList struct { Len int // contains filtered or unexported fields }
func (*AList) ElemByValue ¶
func (*AList) SizeOfParentCache ¶
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
func (*Element) ValueWithCast ¶
func (e *Element) ValueWithCast() interface{}
type List ¶
type List struct { Used *Element Freed *Element SizeElm int64 SizeData int64 Used_idx int64 Value_inf interface{} Len int // contains filtered or unexported fields }
func (*List) ElemByValue ¶
func (*List) GetDataPtr ¶
func (*List) GetElement ¶
func (*List) InsertLast ¶
func (*List) InsertNewElem ¶
func (*List) SetCastFunc ¶
func (l *List) SetCastFunc(f func(val interface{}) interface{})
func (*List) TypeOfValue_inf ¶
Click to show internal directories.
Click to hide internal directories.