approxcd

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproxCountDistinctRing

type ApproxCountDistinctRing struct {
	Typ types.Type
	Sk  []*hll.Sketch
	Vs  []uint64
	Da  []byte
}

func NewApproxCountDistinct

func NewApproxCountDistinct(typ types.Type) *ApproxCountDistinctRing

func (*ApproxCountDistinctRing) Add

func (r *ApproxCountDistinctRing) Add(a interface{}, x, y int64)

func (*ApproxCountDistinctRing) BatchAdd

func (r *ApproxCountDistinctRing) BatchAdd(a interface{}, start int64, os []uint8, vps []uint64)

func (*ApproxCountDistinctRing) BatchFill

func (r *ApproxCountDistinctRing) BatchFill(start int64, os []uint8, vps []uint64, zs []int64, vec *vector.Vector)

func (*ApproxCountDistinctRing) BulkFill

func (r *ApproxCountDistinctRing) BulkFill(i int64, zs []int64, vec *vector.Vector)

func (*ApproxCountDistinctRing) Count

func (r *ApproxCountDistinctRing) Count() int

func (*ApproxCountDistinctRing) Dup

Create a ring with same type using interface

func (*ApproxCountDistinctRing) Eval

func (*ApproxCountDistinctRing) Fill

func (r *ApproxCountDistinctRing) Fill(i int64, sel, z int64, vec *vector.Vector)

func (*ApproxCountDistinctRing) Free

func (r *ApproxCountDistinctRing) Free(m *mheap.Mheap)

func (*ApproxCountDistinctRing) Grow

func (*ApproxCountDistinctRing) Grows

func (r *ApproxCountDistinctRing) Grows(size int, m *mheap.Mheap) error

func (*ApproxCountDistinctRing) Marshal

func (r *ApproxCountDistinctRing) Marshal(w io.Writer) error

func (*ApproxCountDistinctRing) Mul

func (r *ApproxCountDistinctRing) Mul(a interface{}, x, y, z int64)

func (*ApproxCountDistinctRing) SetLength

func (r *ApproxCountDistinctRing) SetLength(n int)

func (*ApproxCountDistinctRing) Shrink

func (r *ApproxCountDistinctRing) Shrink(sels []int64)

func (*ApproxCountDistinctRing) Shuffle

func (r *ApproxCountDistinctRing) Shuffle(_ []int64, _ *mheap.Mheap) error

func (*ApproxCountDistinctRing) Size

func (r *ApproxCountDistinctRing) Size() int

func (*ApproxCountDistinctRing) String

func (r *ApproxCountDistinctRing) String() string

func (*ApproxCountDistinctRing) Type

func (*ApproxCountDistinctRing) Unmarshal

func (r *ApproxCountDistinctRing) Unmarshal(data []byte) (left []byte, err error)

Unmarshal builds ApproxCountDistinctRing from `data` and bytes in `data` is allowed to be reused directly

func (*ApproxCountDistinctRing) UnmarshalWithProc

func (r *ApproxCountDistinctRing) UnmarshalWithProc(data []byte, proc *process.Process) (left []byte, err error)

UnmarshalWithProc builds ApproxCountDistinctRing from `data` and bytes in `data` is *not* allowed to be reused directly, new memory should be allocated in process instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL