Documentation ¶
Index ¶
- func BTreeInt64Compare() uintptr
- func Sleep(nanos time.Duration)
- func SleepUnsafe(nanos time.Duration)
- type ART
- func (t *ART) Bytes() int64
- func (r *ART) Delete(key memory.Pointer, size int) memory.Pointer
- func (r *ART) DeleteBytes(key memory.Bytes) memory.Pointer
- func (r *ART) Find(key memory.Pointer, size int) Value
- func (r *ART) FindBytes(key memory.Bytes) Value
- func (r *ART) Free()
- func (r *ART) Insert(key memory.Pointer, size int, value Value) Value
- func (r *ART) InsertBytes(key memory.Bytes, value Value) Value
- func (r *ART) InsertNoReplace(key memory.Pointer, size int, value Value) Value
- func (r *ART) InsertNoReplaceBytes(key memory.Bytes, value Value) Value
- func (r *ART) InsertNoReplaceSlice(key []byte, value Value) Value
- func (r *ART) InsertNoReplaceString(key string, value Value) Value
- func (r *ART) InsertSlice(key []byte, value Value) Value
- func (r *ART) InsertString(key string, value Value) Value
- func (t *ART) Lock() *RWLock
- func (r *ART) Maximum() *Leaf
- func (r *ART) MinMax() (*Leaf, *Leaf)
- func (r *ART) Minimum() *Leaf
- func (t *ART) Size() int64
- type BTree
- func (r *BTree) Delete(key int64) uintptr
- func (r *BTree) DeleteHint(key int64, hint *uint64) uintptr
- func (m *BTree) Free()
- func (r *BTree) Get(key int64) uintptr
- func (r *BTree) GetHint(key int64, hint *uint64) uintptr
- func (r *BTree) Set(key int64, value uintptr) uintptr
- func (r *BTree) SetHint(key int64, value uintptr, hint *uint64) uintptr
- type BTreeI64
- type BTreeRecordInt64
- type Leaf
- type RWLock
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BTreeInt64Compare ¶
func BTreeInt64Compare() uintptr
func SleepUnsafe ¶
Types ¶
type ART ¶
func NewARTThreadSafe ¶
func (*ART) DeleteBytes ¶
func (r *ART) DeleteBytes(key memory.Bytes) memory.Pointer
func (*ART) InsertBytes ¶
func (*ART) InsertNoReplace ¶
func (*ART) InsertNoReplaceBytes ¶
func (*ART) InsertNoReplaceSlice ¶
func (*ART) InsertNoReplaceString ¶
type BTree ¶
type BTree C.struct_btree
type BTreeI64 ¶
type BTreeI64 C.struct_btree
type BTreeRecordInt64 ¶
type RWLock ¶
func (*RWLock) LockShared ¶
func (l *RWLock) LockShared()
func (*RWLock) LockSharedUnsafe ¶
func (l *RWLock) LockSharedUnsafe()
func (*RWLock) LockUnsafe ¶
func (l *RWLock) LockUnsafe()
func (*RWLock) UnlockShared ¶
func (l *RWLock) UnlockShared()
func (*RWLock) UnlockSharedUnsafe ¶
func (l *RWLock) UnlockSharedUnsafe()
func (*RWLock) UnlockUnsafe ¶
func (l *RWLock) UnlockUnsafe()
Click to show internal directories.
Click to hide internal directories.