bitxor

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitXorRing

type BitXorRing struct {
	Typ        types.Type
	Data       []byte
	Values     []uint64
	NullCounts []int64
}

func NewBitXor

func NewBitXor(typ types.Type) *BitXorRing

func (*BitXorRing) Add

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

func (*BitXorRing) BatchAdd

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

func (*BitXorRing) BatchFill

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

func (*BitXorRing) BulkFill

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

func (*BitXorRing) Count

func (r *BitXorRing) Count() int

func (*BitXorRing) Dup

func (r *BitXorRing) Dup() ring.Ring

the error is because that BitXorRing hasn't implement the Ring interface

func (*BitXorRing) Eval

func (r *BitXorRing) Eval(zs []int64) *vector.Vector

func (BitXorRing) Fill

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

func (*BitXorRing) Free

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

func (*BitXorRing) Grow

func (r *BitXorRing) Grow(m *mheap.Mheap) error

func (*BitXorRing) Grows

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

func (*BitXorRing) Mul

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

func (*BitXorRing) SetLength

func (r *BitXorRing) SetLength(len int)

func (*BitXorRing) Shrink

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

The sels must be sorted,otherwise the implement below is wrong

func (*BitXorRing) Shuffle

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

not used now.

func (*BitXorRing) Size

func (r *BitXorRing) Size() int

func (*BitXorRing) String

func (r *BitXorRing) String() string

func (*BitXorRing) Type

func (r *BitXorRing) Type() types.Type

Jump to

Keyboard shortcuts

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