max

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: 9 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 Decimal128Max = types.Decimal128Max
View Source
var Decimal128Min = types.Decimal128Min
View Source
var Decimal128Size = encoding.Decimal128Size
View Source
var Decimal64Size = encoding.Decimal64Size

Functions

func BoolBig added in v0.5.0

func BoolBig(a, b bool) bool

Types

type BoolRing added in v0.5.0

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

func NewBool added in v0.5.0

func NewBool(typ types.Type) *BoolRing

func (*BoolRing) Add added in v0.5.0

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

func (*BoolRing) BatchAdd added in v0.5.0

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

func (*BoolRing) BatchFill added in v0.5.0

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

func (*BoolRing) BulkFill added in v0.5.0

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

func (*BoolRing) Count added in v0.5.0

func (r *BoolRing) Count() int

func (*BoolRing) Dup added in v0.5.0

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

func (*BoolRing) Eval added in v0.5.0

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

func (*BoolRing) Fill added in v0.5.0

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

func (*BoolRing) Free added in v0.5.0

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

func (*BoolRing) Grow added in v0.5.0

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

func (*BoolRing) Grows added in v0.5.0

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

func (*BoolRing) Mul added in v0.5.0

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

func (*BoolRing) SetLength added in v0.5.0

func (r *BoolRing) SetLength(n int)

func (*BoolRing) Shrink added in v0.5.0

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

func (*BoolRing) Shuffle added in v0.5.0

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

func (*BoolRing) Size added in v0.5.0

func (r *BoolRing) Size() int

func (*BoolRing) String added in v0.5.0

func (r *BoolRing) String() string

func (*BoolRing) Type added in v0.5.0

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

type DateRing

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

func NewDate

func NewDate(typ types.Type) *DateRing

func (*DateRing) Add

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

func (*DateRing) BatchAdd

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

func (*DateRing) BatchFill

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

func (*DateRing) BulkFill

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

func (*DateRing) Count

func (r *DateRing) Count() int

func (*DateRing) Dup

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

func (*DateRing) Eval

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

func (*DateRing) Fill

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

func (*DateRing) Free

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

func (*DateRing) Grow

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

func (*DateRing) Grows

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

func (*DateRing) Mul

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

func (*DateRing) SetLength

func (r *DateRing) SetLength(n int)

func (*DateRing) Shrink

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

func (*DateRing) Shuffle

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

func (*DateRing) Size

func (r *DateRing) Size() int

func (*DateRing) String

func (r *DateRing) String() string

func (*DateRing) Type

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

type DatetimeRing

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

func NewDatetime

func NewDatetime(typ types.Type) *DatetimeRing

func (*DatetimeRing) Add

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

func (*DatetimeRing) BatchAdd

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

func (*DatetimeRing) BatchFill

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

func (*DatetimeRing) BulkFill

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

func (*DatetimeRing) Count

func (r *DatetimeRing) Count() int

func (*DatetimeRing) Dup

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

func (*DatetimeRing) Eval

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

func (*DatetimeRing) Fill

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

func (*DatetimeRing) Free

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

func (*DatetimeRing) Grow

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

func (*DatetimeRing) Grows

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

func (*DatetimeRing) Mul

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

func (*DatetimeRing) SetLength

func (r *DatetimeRing) SetLength(n int)

func (*DatetimeRing) Shrink

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

func (*DatetimeRing) Shuffle

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

func (*DatetimeRing) Size

func (r *DatetimeRing) Size() int

func (*DatetimeRing) String

func (r *DatetimeRing) String() string

func (*DatetimeRing) Type

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

type Decimal64Ring added in v0.5.0

type Decimal64Ring struct {
	Es  []bool // isempty
	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)

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)

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 {
	Es  []bool // isempty
	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)

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)

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 Float32Ring

type Float32Ring struct {
	Es  []bool // isempty
	Da  []byte
	Ns  []int64
	Vs  []float32
	Typ types.Type
}

func NewFloat32

func NewFloat32(typ types.Type) *Float32Ring

func (*Float32Ring) Add

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

func (*Float32Ring) BatchAdd

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

func (*Float32Ring) BatchFill

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

func (*Float32Ring) BulkFill

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

func (*Float32Ring) Count

func (r *Float32Ring) Count() int

func (*Float32Ring) Dup

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

func (*Float32Ring) Eval

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

func (*Float32Ring) Fill

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

func (*Float32Ring) Free

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

func (*Float32Ring) Grow

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

func (*Float32Ring) Grows

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

func (*Float32Ring) Mul

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

func (*Float32Ring) SetLength

func (r *Float32Ring) SetLength(n int)

func (*Float32Ring) Shrink

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

func (*Float32Ring) Shuffle

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

func (*Float32Ring) Size

func (r *Float32Ring) Size() int

func (*Float32Ring) String

func (r *Float32Ring) String() string

func (*Float32Ring) Type

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

type Float64Ring

type Float64Ring struct {
	Es  []bool // isempty
	Da  []byte
	Ns  []int64
	Vs  []float64
	Typ types.Type
}

func NewFloat64

func NewFloat64(typ types.Type) *Float64Ring

func (*Float64Ring) Add

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

func (*Float64Ring) BatchAdd

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

func (*Float64Ring) BatchFill

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

func (*Float64Ring) BulkFill

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

func (*Float64Ring) Count

func (r *Float64Ring) Count() int

func (*Float64Ring) Dup

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

func (*Float64Ring) Eval

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

func (*Float64Ring) Fill

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

func (*Float64Ring) Free

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

func (*Float64Ring) Grow

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

func (*Float64Ring) Grows

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

func (*Float64Ring) Mul

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

func (*Float64Ring) SetLength

func (r *Float64Ring) SetLength(n int)

func (*Float64Ring) Shrink

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

func (*Float64Ring) Shuffle

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

func (*Float64Ring) Size

func (r *Float64Ring) Size() int

func (*Float64Ring) String

func (r *Float64Ring) String() string

func (*Float64Ring) Type

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

type Int8Ring

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

func NewInt8

func NewInt8(typ types.Type) *Int8Ring

func (*Int8Ring) Add

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

func (*Int8Ring) BatchAdd

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

func (*Int8Ring) BatchFill

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

func (*Int8Ring) BulkFill

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

func (*Int8Ring) Count

func (r *Int8Ring) Count() int

func (*Int8Ring) Dup

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

func (*Int8Ring) Eval

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

func (*Int8Ring) Fill

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

func (*Int8Ring) Free

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

func (*Int8Ring) Grow

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

func (*Int8Ring) Grows

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

func (*Int8Ring) Mul

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

func (*Int8Ring) SetLength

func (r *Int8Ring) SetLength(n int)

func (*Int8Ring) Shrink

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

func (*Int8Ring) Shuffle

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

func (*Int8Ring) Size

func (r *Int8Ring) Size() int

func (*Int8Ring) String

func (r *Int8Ring) String() string

func (*Int8Ring) Type

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

type Int16Ring

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

func NewInt16

func NewInt16(typ types.Type) *Int16Ring

func (*Int16Ring) Add

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

func (*Int16Ring) BatchAdd

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

func (*Int16Ring) BatchFill

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

func (*Int16Ring) BulkFill

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

func (*Int16Ring) Count

func (r *Int16Ring) Count() int

func (*Int16Ring) Dup

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

func (*Int16Ring) Eval

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

func (*Int16Ring) Fill

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

func (*Int16Ring) Free

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

func (*Int16Ring) Grow

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

func (*Int16Ring) Grows

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

func (*Int16Ring) Mul

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

func (*Int16Ring) SetLength

func (r *Int16Ring) SetLength(n int)

func (*Int16Ring) Shrink

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

func (*Int16Ring) Shuffle

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

func (*Int16Ring) Size

func (r *Int16Ring) Size() int

func (*Int16Ring) String

func (r *Int16Ring) String() string

func (*Int16Ring) Type

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

type Int32Ring

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

func NewInt32

func NewInt32(typ types.Type) *Int32Ring

func (*Int32Ring) Add

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

func (*Int32Ring) BatchAdd

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

func (*Int32Ring) BatchFill

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

func (*Int32Ring) BulkFill

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

func (*Int32Ring) Count

func (r *Int32Ring) Count() int

func (*Int32Ring) Dup

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

func (*Int32Ring) Eval

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

func (*Int32Ring) Fill

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

func (*Int32Ring) Free

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

func (*Int32Ring) Grow

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

func (*Int32Ring) Grows

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

func (*Int32Ring) Mul

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

func (*Int32Ring) SetLength

func (r *Int32Ring) SetLength(n int)

func (*Int32Ring) Shrink

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

func (*Int32Ring) Shuffle

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

func (*Int32Ring) Size

func (r *Int32Ring) Size() int

func (*Int32Ring) String

func (r *Int32Ring) String() string

func (*Int32Ring) Type

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

type Int64Ring

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

func NewInt64

func NewInt64(typ types.Type) *Int64Ring

func (*Int64Ring) Add

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

func (*Int64Ring) BatchAdd

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

func (*Int64Ring) BatchFill

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

func (*Int64Ring) BulkFill

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

func (*Int64Ring) Count

func (r *Int64Ring) Count() int

func (*Int64Ring) Dup

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

func (*Int64Ring) Eval

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

func (*Int64Ring) Fill

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

func (*Int64Ring) Free

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

func (*Int64Ring) Grow

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

func (*Int64Ring) Grows

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

func (*Int64Ring) Mul

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

func (*Int64Ring) SetLength

func (r *Int64Ring) SetLength(n int)

func (*Int64Ring) Shrink

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

func (*Int64Ring) Shuffle

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

func (*Int64Ring) Size

func (r *Int64Ring) Size() int

func (*Int64Ring) String

func (r *Int64Ring) String() string

func (*Int64Ring) Type

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

type StrRing

type StrRing struct {
	Ns  []int64
	Vs  [][]byte
	Typ types.Type
	Mp  *mheap.Mheap
}

func NewStr

func NewStr(typ types.Type) *StrRing

func (*StrRing) Add

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

func (*StrRing) BatchAdd

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

func (*StrRing) BatchFill

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

func (*StrRing) BulkFill

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

func (*StrRing) Count

func (r *StrRing) Count() int

func (*StrRing) Dup

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

func (*StrRing) Eval

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

func (*StrRing) Fill

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

func (*StrRing) Free

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

func (*StrRing) Grow

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

func (*StrRing) Grows

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

func (*StrRing) Mul

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

func (*StrRing) SetLength

func (r *StrRing) SetLength(n int)

func (*StrRing) Shrink

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

func (*StrRing) Shuffle

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

func (*StrRing) Size

func (r *StrRing) Size() int

func (*StrRing) String

func (r *StrRing) String() string

func (*StrRing) Type

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

type TimestampRing added in v0.5.0

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

func NewTimestamp added in v0.5.0

func NewTimestamp(typ types.Type) *TimestampRing

func (*TimestampRing) Add added in v0.5.0

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

func (*TimestampRing) BatchAdd added in v0.5.0

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

func (*TimestampRing) BatchFill added in v0.5.0

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

func (*TimestampRing) BulkFill added in v0.5.0

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

func (*TimestampRing) Count added in v0.5.0

func (r *TimestampRing) Count() int

func (*TimestampRing) Dup added in v0.5.0

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

func (*TimestampRing) Eval added in v0.5.0

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

func (*TimestampRing) Fill added in v0.5.0

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

func (*TimestampRing) Free added in v0.5.0

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

func (*TimestampRing) Grow added in v0.5.0

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

func (*TimestampRing) Grows added in v0.5.0

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

func (*TimestampRing) Mul added in v0.5.0

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

func (*TimestampRing) SetLength added in v0.5.0

func (r *TimestampRing) SetLength(n int)

func (*TimestampRing) Shrink added in v0.5.0

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

func (*TimestampRing) Shuffle added in v0.5.0

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

func (*TimestampRing) Size added in v0.5.0

func (r *TimestampRing) Size() int

func (*TimestampRing) String added in v0.5.0

func (r *TimestampRing) String() string

func (*TimestampRing) Type added in v0.5.0

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

type UInt8Ring

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

func NewUInt8

func NewUInt8(typ types.Type) *UInt8Ring

func (*UInt8Ring) Add

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

func (*UInt8Ring) BatchAdd

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

func (*UInt8Ring) BatchFill

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

func (*UInt8Ring) BulkFill

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

func (*UInt8Ring) Count

func (r *UInt8Ring) Count() int

func (*UInt8Ring) Dup

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

func (*UInt8Ring) Eval

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

func (*UInt8Ring) Fill

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

func (*UInt8Ring) Free

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

func (*UInt8Ring) Grow

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

func (*UInt8Ring) Grows

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

func (*UInt8Ring) Mul

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

func (*UInt8Ring) SetLength

func (r *UInt8Ring) SetLength(n int)

func (*UInt8Ring) Shrink

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

func (*UInt8Ring) Shuffle

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

func (*UInt8Ring) Size

func (r *UInt8Ring) Size() int

func (*UInt8Ring) String

func (r *UInt8Ring) String() string

func (*UInt8Ring) Type

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

type UInt16Ring

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

func NewUInt16

func NewUInt16(typ types.Type) *UInt16Ring

func (*UInt16Ring) Add

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

func (*UInt16Ring) BatchAdd

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

func (*UInt16Ring) BatchFill

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

func (*UInt16Ring) BulkFill

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

func (*UInt16Ring) Count

func (r *UInt16Ring) Count() int

func (*UInt16Ring) Dup

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

func (*UInt16Ring) Eval

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

func (*UInt16Ring) Fill

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

func (*UInt16Ring) Free

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

func (*UInt16Ring) Grow

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

func (*UInt16Ring) Grows

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

func (*UInt16Ring) Mul

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

func (*UInt16Ring) SetLength

func (r *UInt16Ring) SetLength(n int)

func (*UInt16Ring) Shrink

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

func (*UInt16Ring) Shuffle

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

func (*UInt16Ring) Size

func (r *UInt16Ring) Size() int

func (*UInt16Ring) String

func (r *UInt16Ring) String() string

func (*UInt16Ring) Type

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

type UInt32Ring

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

func NewUInt32

func NewUInt32(typ types.Type) *UInt32Ring

func (*UInt32Ring) Add

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

func (*UInt32Ring) BatchAdd

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

func (*UInt32Ring) BatchFill

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

func (*UInt32Ring) BulkFill

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

func (*UInt32Ring) Count

func (r *UInt32Ring) Count() int

func (*UInt32Ring) Dup

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

func (*UInt32Ring) Eval

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

func (*UInt32Ring) Fill

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

func (*UInt32Ring) Free

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

func (*UInt32Ring) Grow

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

func (*UInt32Ring) Grows

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

func (*UInt32Ring) Mul

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

func (*UInt32Ring) SetLength

func (r *UInt32Ring) SetLength(n int)

func (*UInt32Ring) Shrink

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

func (*UInt32Ring) Shuffle

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

func (*UInt32Ring) Size

func (r *UInt32Ring) Size() int

func (*UInt32Ring) String

func (r *UInt32Ring) String() string

func (*UInt32Ring) Type

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

type UInt64Ring

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

func NewUInt64

func NewUInt64(typ types.Type) *UInt64Ring

func (*UInt64Ring) Add

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

func (*UInt64Ring) BatchAdd

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

func (*UInt64Ring) BatchFill

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

func (*UInt64Ring) BulkFill

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

func (*UInt64Ring) Count

func (r *UInt64Ring) Count() int

func (*UInt64Ring) Dup

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

func (*UInt64Ring) Eval

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

func (*UInt64Ring) Fill

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

func (*UInt64Ring) Free

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

func (*UInt64Ring) Grow

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

func (*UInt64Ring) Grows

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

func (*UInt64Ring) Mul

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

func (*UInt64Ring) SetLength

func (r *UInt64Ring) SetLength(n int)

func (*UInt64Ring) Shrink

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

func (*UInt64Ring) Shuffle

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

func (*UInt64Ring) Size

func (r *UInt64Ring) Size() int

func (*UInt64Ring) String

func (r *UInt64Ring) String() string

func (*UInt64Ring) Type

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

Jump to

Keyboard shortcuts

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