Documentation ¶
Index ¶
- type CountRing
- func (r *CountRing) Add(a interface{}, x, y int64)
- func (r *CountRing) BatchAdd(a interface{}, start int64, os []uint8, vps []uint64)
- func (r *CountRing) BatchFill(start int64, os []uint8, vps []uint64, zs []int64, vec *vector.Vector)
- func (r *CountRing) BulkFill(i int64, zs []int64, vec *vector.Vector)
- func (r *CountRing) Count() int
- func (r *CountRing) Dup() ring.Ring
- func (r *CountRing) Eval(_ []int64) *vector.Vector
- func (r *CountRing) Fill(i int64, sel, z int64, vec *vector.Vector)
- func (r *CountRing) Free(m *mheap.Mheap)
- func (r *CountRing) Grow(m *mheap.Mheap) error
- func (r *CountRing) Grows(size int, m *mheap.Mheap) error
- func (r *CountRing) Mul(a interface{}, x, y, z int64)
- func (r *CountRing) SetLength(n int)
- func (r *CountRing) Shrink(sels []int64)
- func (r *CountRing) Shuffle(_ []int64, _ *mheap.Mheap) error
- func (r *CountRing) Size() int
- func (r *CountRing) String() string
- func (r *CountRing) Type() types.Type
- type DistCountRing
- func (r *DistCountRing) Add(a interface{}, x, y int64)
- func (r *DistCountRing) BatchAdd(a interface{}, start int64, os []uint8, vps []uint64)
- func (r *DistCountRing) BatchFill(start int64, os []uint8, vps []uint64, zs []int64, vec *vector.Vector)
- func (r *DistCountRing) BulkFill(i int64, zs []int64, vec *vector.Vector)
- func (r *DistCountRing) Count() int
- func (r *DistCountRing) Dup() ring.Ring
- func (r *DistCountRing) Eval(_ []int64) *vector.Vector
- func (r *DistCountRing) Fill(i int64, sel, z int64, vec *vector.Vector)
- func (r *DistCountRing) Free(m *mheap.Mheap)
- func (r *DistCountRing) Grow(m *mheap.Mheap) error
- func (r *DistCountRing) Grows(size int, m *mheap.Mheap) error
- func (r *DistCountRing) Mul(a interface{}, x, y, z int64)
- func (r *DistCountRing) SetLength(n int)
- func (r *DistCountRing) Shrink(sels []int64)
- func (r *DistCountRing) Shuffle(_ []int64, _ *mheap.Mheap) error
- func (r *DistCountRing) Size() int
- func (r *DistCountRing) String() string
- func (r *DistCountRing) Type() types.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistCountRing ¶ added in v0.5.0
func NewDistinctCount ¶ added in v0.5.0
func NewDistinctCount(typ types.Type) *DistCountRing
func (*DistCountRing) Add ¶ added in v0.5.0
func (r *DistCountRing) Add(a interface{}, x, y int64)
func (*DistCountRing) BatchAdd ¶ added in v0.5.0
func (r *DistCountRing) BatchAdd(a interface{}, start int64, os []uint8, vps []uint64)
func (*DistCountRing) BulkFill ¶ added in v0.5.0
func (r *DistCountRing) BulkFill(i int64, zs []int64, vec *vector.Vector)
func (*DistCountRing) Count ¶ added in v0.5.0
func (r *DistCountRing) Count() int
func (*DistCountRing) Dup ¶ added in v0.5.0
func (r *DistCountRing) Dup() ring.Ring
func (*DistCountRing) Fill ¶ added in v0.5.0
func (r *DistCountRing) Fill(i int64, sel, z int64, vec *vector.Vector)
func (*DistCountRing) Free ¶ added in v0.5.0
func (r *DistCountRing) Free(m *mheap.Mheap)
func (*DistCountRing) Grows ¶ added in v0.5.0
func (r *DistCountRing) Grows(size int, m *mheap.Mheap) error
func (*DistCountRing) Mul ¶ added in v0.5.0
func (r *DistCountRing) Mul(a interface{}, x, y, z int64)
r[x] += a[y] * z
func (*DistCountRing) SetLength ¶ added in v0.5.0
func (r *DistCountRing) SetLength(n int)
func (*DistCountRing) Shrink ¶ added in v0.5.0
func (r *DistCountRing) Shrink(sels []int64)
func (*DistCountRing) Shuffle ¶ added in v0.5.0
func (r *DistCountRing) Shuffle(_ []int64, _ *mheap.Mheap) error
func (*DistCountRing) Size ¶ added in v0.5.0
func (r *DistCountRing) Size() int
func (*DistCountRing) String ¶ added in v0.5.0
func (r *DistCountRing) String() string
func (*DistCountRing) Type ¶ added in v0.5.0
func (r *DistCountRing) Type() types.Type
Click to show internal directories.
Click to hide internal directories.