sum

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: 7 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

View Source
var Decimal128Size = encoding.Decimal128Size

Functions

This section is empty.

Types

type Decimal64Ring added in v0.5.0

type Decimal64Ring struct {
	Da  []byte
	Ns  []int64
	Vs  []types.Decimal64
	Typ types.Type
}

func NewDecimal64 added in v0.5.0

func NewDecimal64(typ types.Type) *Decimal64Ring

func (*Decimal64Ring) Add added in v0.5.0

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

func (*Decimal64Ring) BatchAdd added in v0.5.0

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

func (*Decimal64Ring) BatchFill added in v0.5.0

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

func (*Decimal64Ring) BulkFill added in v0.5.0

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

func (*Decimal64Ring) Count added in v0.5.0

func (r *Decimal64Ring) Count() int

func (*Decimal64Ring) Dup added in v0.5.0

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

func (*Decimal64Ring) Eval added in v0.5.0

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

func (*Decimal64Ring) Fill added in v0.5.0

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

what is this z?

func (*Decimal64Ring) Free added in v0.5.0

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

func (*Decimal64Ring) Grow added in v0.5.0

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

func (*Decimal64Ring) Grows added in v0.5.0

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

func (*Decimal64Ring) Mul added in v0.5.0

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

r[x] += a[y] * z

func (*Decimal64Ring) SetLength added in v0.5.0

func (r *Decimal64Ring) SetLength(n int)

func (*Decimal64Ring) Shrink added in v0.5.0

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

func (*Decimal64Ring) Shuffle added in v0.5.0

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

func (*Decimal64Ring) Size added in v0.5.0

func (r *Decimal64Ring) Size() int

func (*Decimal64Ring) String added in v0.5.0

func (r *Decimal64Ring) String() string

func (*Decimal64Ring) Type added in v0.5.0

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

type Decimal128Ring added in v0.5.0

type Decimal128Ring struct {
	Da  []byte
	Ns  []int64
	Vs  []types.Decimal128
	Typ types.Type
}

func NewDecimal128 added in v0.5.0

func NewDecimal128(typ types.Type) *Decimal128Ring

func (*Decimal128Ring) Add added in v0.5.0

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

func (*Decimal128Ring) BatchAdd added in v0.5.0

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

func (*Decimal128Ring) BatchFill added in v0.5.0

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

func (*Decimal128Ring) BulkFill added in v0.5.0

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

func (*Decimal128Ring) Count added in v0.5.0

func (r *Decimal128Ring) Count() int

func (*Decimal128Ring) Dup added in v0.5.0

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

func (*Decimal128Ring) Eval added in v0.5.0

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

func (*Decimal128Ring) Fill added in v0.5.0

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

what is this z?

func (*Decimal128Ring) Free added in v0.5.0

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

func (*Decimal128Ring) Grow added in v0.5.0

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

func (*Decimal128Ring) Grows added in v0.5.0

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

func (*Decimal128Ring) Mul added in v0.5.0

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

r[x] += a[y] * z

func (*Decimal128Ring) SetLength added in v0.5.0

func (r *Decimal128Ring) SetLength(n int)

func (*Decimal128Ring) Shrink added in v0.5.0

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

func (*Decimal128Ring) Shuffle added in v0.5.0

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

func (*Decimal128Ring) Size added in v0.5.0

func (r *Decimal128Ring) Size() int

func (*Decimal128Ring) String added in v0.5.0

func (r *Decimal128Ring) String() string

func (*Decimal128Ring) Type added in v0.5.0

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

type FloatRing

type FloatRing struct {
	Da  []byte
	Ns  []int64
	Vs  []float64
	Typ types.Type
}

func NewFloat

func NewFloat(typ types.Type) *FloatRing

func (*FloatRing) Add

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

func (*FloatRing) BatchAdd

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

func (*FloatRing) BatchFill

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

func (*FloatRing) BulkFill

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

func (*FloatRing) Count

func (r *FloatRing) Count() int

func (*FloatRing) Dup

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

func (*FloatRing) Eval

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

func (*FloatRing) Fill

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

func (*FloatRing) Free

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

func (*FloatRing) Grow

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

func (*FloatRing) Grows

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

func (*FloatRing) Mul

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

r[x] += a[y] * z

func (*FloatRing) SetLength

func (r *FloatRing) SetLength(n int)

func (*FloatRing) Shrink

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

func (*FloatRing) Shuffle

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

func (*FloatRing) Size

func (r *FloatRing) Size() int

func (*FloatRing) String

func (r *FloatRing) String() string

func (*FloatRing) Type

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

type IntRing

type IntRing struct {
	Da  []byte
	Ns  []int64
	Vs  []int64
	Typ types.Type
}

func NewInt

func NewInt(typ types.Type) *IntRing

func (*IntRing) Add

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

r[x] += a[y]

func (*IntRing) BatchAdd

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

func (*IntRing) BatchFill

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

func (*IntRing) BulkFill

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

func (*IntRing) Count

func (r *IntRing) Count() int

func (*IntRing) Dup

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

func (*IntRing) Eval

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

func (*IntRing) Fill

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

func (*IntRing) Free

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

func (*IntRing) Grow

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

func (*IntRing) Grows

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

func (*IntRing) Mul

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

r[x] += a[y] * z

func (*IntRing) SetLength

func (r *IntRing) SetLength(n int)

func (*IntRing) Shrink

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

func (*IntRing) Shuffle

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

func (*IntRing) Size

func (r *IntRing) Size() int

func (*IntRing) String

func (r *IntRing) String() string

func (*IntRing) Type

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

type UIntRing

type UIntRing struct {
	Da  []byte
	Ns  []int64
	Vs  []uint64
	Typ types.Type
}

func NewUint

func NewUint(typ types.Type) *UIntRing

func (*UIntRing) Add

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

func (*UIntRing) BatchAdd

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

func (*UIntRing) BatchFill

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

func (*UIntRing) BulkFill

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

func (*UIntRing) Count

func (r *UIntRing) Count() int

func (*UIntRing) Dup

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

func (*UIntRing) Eval

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

func (*UIntRing) Fill

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

func (*UIntRing) Free

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

func (*UIntRing) Grow

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

func (*UIntRing) Grows

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

func (*UIntRing) Mul

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

r[x] += a[y] * z

func (*UIntRing) SetLength

func (r *UIntRing) SetLength(n int)

func (*UIntRing) Shrink

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

func (*UIntRing) Shuffle

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

func (*UIntRing) Size

func (r *UIntRing) Size() int

func (*UIntRing) String

func (r *UIntRing) String() string

func (*UIntRing) Type

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

Jump to

Keyboard shortcuts

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