Documentation ¶
Index ¶
- Variables
- type Aggregator
- type FixedMap
- type FixedMapIterator
- type FixedSet
- type FixedSetIterator
- type Int64HashMap
- func (ht *Int64HashMap) Cardinality() uint64
- func (ht *Int64HashMap) FindBatch(n int, hashes []uint64, keysPtr unsafe.Pointer, values []uint64)
- func (ht *Int64HashMap) FindBatchInBucket(n int, hashes []uint64, keysPtr unsafe.Pointer, values []uint64, ...)
- func (ht *Int64HashMap) FindBatchWithRing(n int, zValues []int64, hashes []uint64, keysPtr unsafe.Pointer, ...)
- func (ht *Int64HashMap) FindBatchWithRingInBucket(n int, zValues []int64, hashes []uint64, keysPtr unsafe.Pointer, ...)
- func (ht *Int64HashMap) Free(m *mpool.MPool)
- func (ht *Int64HashMap) Init(m *mpool.MPool) (err error)
- func (ht *Int64HashMap) InsertBatch(n int, hashes []uint64, keysPtr unsafe.Pointer, values []uint64, ...) error
- func (ht *Int64HashMap) InsertBatchInBucket(n int, hashes []uint64, keysPtr unsafe.Pointer, values []uint64, ...) error
- func (ht *Int64HashMap) InsertBatchWithRing(n int, zValues []int64, hashes []uint64, keysPtr unsafe.Pointer, ...) error
- func (ht *Int64HashMap) InsertBatchWithRingInBucket(n int, zValues []int64, hashes []uint64, keysPtr unsafe.Pointer, ...) error
- func (ht *Int64HashMap) ResizeOnDemand(n int, m *mpool.MPool) error
- func (ht *Int64HashMap) Size() int64
- type Int64HashMapCell
- type Int64HashMapIterator
- type StringHashMap
- func (ht *StringHashMap) Cardinality() uint64
- func (ht *StringHashMap) FindHashStateBatch(states [][3]uint64, values []uint64)
- func (ht *StringHashMap) FindString24Batch(states [][3]uint64, keys [][3]uint64, values []uint64)
- func (ht *StringHashMap) FindString32Batch(states [][3]uint64, keys [][4]uint64, values []uint64)
- func (ht *StringHashMap) FindString40Batch(states [][3]uint64, keys [][5]uint64, values []uint64)
- func (ht *StringHashMap) FindStringBatch(states [][3]uint64, keys [][]byte, values []uint64)
- func (ht *StringHashMap) FindStringBatchInBucket(states [][3]uint64, keys [][]byte, values []uint64, inBuckets []uint8, ...)
- func (ht *StringHashMap) FindStringBatchWithRing(states [][3]uint64, zValues []int64, keys [][]byte, values []uint64)
- func (ht *StringHashMap) FindStringBatchWithRingInBucket(states [][3]uint64, zValues []int64, keys [][]byte, values []uint64, ...)
- func (ht *StringHashMap) Free(m *mpool.MPool)
- func (ht *StringHashMap) Init(m *mpool.MPool) (err error)
- func (ht *StringHashMap) InsertStringBatch(states [][3]uint64, keys [][]byte, values []uint64, m *mpool.MPool) error
- func (ht *StringHashMap) InsertStringBatchInBucket(states [][3]uint64, keys [][]byte, values []uint64, ibucket, nbucket uint64, ...) error
- func (ht *StringHashMap) InsertStringBatchWithRing(zValues []int64, states [][3]uint64, keys [][]byte, values []uint64, ...) error
- func (ht *StringHashMap) InsertStringBatchWithRingInBucket(zValues []int64, states [][3]uint64, keys [][]byte, values []uint64, ...) error
- func (ht *StringHashMap) ResizeOnDemand(n uint64, m *mpool.MPool) error
- func (ht *StringHashMap) Size() int64
- type StringHashMapCell
- type StringHashMapIterator
- type StringRef
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Int64BatchHash = wyhashInt64Batch Int64HashWithFixedSeed = wyhash64WithFixedSeed BytesBatchGenHashStates = wyhashBytesBatch Int192BatchGenHashStates = wyhashInt192Batch Int256BatchGenHashStates = wyhashInt256Batch Int320BatchGenHashStates = wyhashInt320Batch )
View Source
var StrKeyPadding [16]byte
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
type FixedMap ¶
type FixedMap struct {
// contains filtered or unexported fields
}
func (*FixedMap) Cardinality ¶
type FixedMapIterator ¶
type FixedMapIterator struct {
// contains filtered or unexported fields
}
func (*FixedMapIterator) Init ¶
func (it *FixedMapIterator) Init(ht *FixedMap)
type FixedSet ¶
type FixedSet struct {
// contains filtered or unexported fields
}
func (*FixedSet) Cardinality ¶
type FixedSetIterator ¶
type FixedSetIterator struct {
// contains filtered or unexported fields
}
func (*FixedSetIterator) Init ¶
func (it *FixedSetIterator) Init(ht *FixedSet)
func (*FixedSetIterator) Next ¶
func (it *FixedSetIterator) Next() (key uint32, err error)
type Int64HashMap ¶
type Int64HashMap struct {
// contains filtered or unexported fields
}
func (*Int64HashMap) Cardinality ¶
func (ht *Int64HashMap) Cardinality() uint64
func (*Int64HashMap) FindBatchInBucket ¶ added in v0.6.0
func (*Int64HashMap) FindBatchWithRing ¶
func (*Int64HashMap) FindBatchWithRingInBucket ¶ added in v0.6.0
func (*Int64HashMap) Free ¶ added in v0.6.0
func (ht *Int64HashMap) Free(m *mpool.MPool)
func (*Int64HashMap) InsertBatch ¶
func (*Int64HashMap) InsertBatchInBucket ¶ added in v0.6.0
func (*Int64HashMap) InsertBatchWithRing ¶
func (*Int64HashMap) InsertBatchWithRingInBucket ¶ added in v0.6.0
func (*Int64HashMap) ResizeOnDemand ¶ added in v1.0.0
func (ht *Int64HashMap) ResizeOnDemand(n int, m *mpool.MPool) error
func (*Int64HashMap) Size ¶ added in v0.7.0
func (ht *Int64HashMap) Size() int64
type Int64HashMapCell ¶
type Int64HashMapIterator ¶
type Int64HashMapIterator struct {
// contains filtered or unexported fields
}
func (*Int64HashMapIterator) Init ¶
func (it *Int64HashMapIterator) Init(ht *Int64HashMap)
func (*Int64HashMapIterator) Next ¶
func (it *Int64HashMapIterator) Next() (cell *Int64HashMapCell, err error)
type StringHashMap ¶
type StringHashMap struct {
// contains filtered or unexported fields
}
func (*StringHashMap) Cardinality ¶
func (ht *StringHashMap) Cardinality() uint64
func (*StringHashMap) FindHashStateBatch ¶
func (ht *StringHashMap) FindHashStateBatch(states [][3]uint64, values []uint64)
func (*StringHashMap) FindString24Batch ¶
func (ht *StringHashMap) FindString24Batch(states [][3]uint64, keys [][3]uint64, values []uint64)
func (*StringHashMap) FindString32Batch ¶
func (ht *StringHashMap) FindString32Batch(states [][3]uint64, keys [][4]uint64, values []uint64)
func (*StringHashMap) FindString40Batch ¶
func (ht *StringHashMap) FindString40Batch(states [][3]uint64, keys [][5]uint64, values []uint64)
func (*StringHashMap) FindStringBatch ¶
func (ht *StringHashMap) FindStringBatch(states [][3]uint64, keys [][]byte, values []uint64)
func (*StringHashMap) FindStringBatchInBucket ¶ added in v0.6.0
func (*StringHashMap) FindStringBatchWithRing ¶
func (ht *StringHashMap) FindStringBatchWithRing(states [][3]uint64, zValues []int64, keys [][]byte, values []uint64)
func (*StringHashMap) FindStringBatchWithRingInBucket ¶ added in v0.6.0
func (*StringHashMap) Free ¶ added in v0.6.0
func (ht *StringHashMap) Free(m *mpool.MPool)
func (*StringHashMap) InsertStringBatch ¶
func (*StringHashMap) InsertStringBatchInBucket ¶ added in v0.6.0
func (*StringHashMap) InsertStringBatchWithRing ¶
func (*StringHashMap) InsertStringBatchWithRingInBucket ¶ added in v0.6.0
func (*StringHashMap) ResizeOnDemand ¶ added in v1.0.0
func (ht *StringHashMap) ResizeOnDemand(n uint64, m *mpool.MPool) error
func (*StringHashMap) Size ¶ added in v0.7.0
func (ht *StringHashMap) Size() int64
type StringHashMapCell ¶
type StringHashMapIterator ¶
type StringHashMapIterator struct {
// contains filtered or unexported fields
}
func (*StringHashMapIterator) Init ¶
func (it *StringHashMapIterator) Init(ht *StringHashMap)
func (*StringHashMapIterator) Next ¶
func (it *StringHashMapIterator) Next() (cell *StringHashMapCell, err error)
Click to show internal directories.
Click to hide internal directories.