Documentation ¶
Overview ¶
Code generated by sed. DO NOT EDIT
Code generated by sed. DO NOT EDIT
Code generated by sed. DO NOT EDIT
Index ¶
- Variables
- func WalkLeaf(da Nodes, yield func(word.Word, uint32) error) error
- type Builder
- type Bytes
- type BytesDict
- type DoubleArray
- func (da *DoubleArray) Array() []uint64
- func (da *DoubleArray) At(i node.Index) (node.Node, error)
- func (da *DoubleArray) CommonPrefixSearch(cs word.Word) ([]node.Index, error)
- func (da *DoubleArray) ExactMatchSearch(cs word.Word) (node.Index, error)
- func (da *DoubleArray) ReadFrom(r io.Reader) (int64, error)
- func (da *DoubleArray) WriteTo(w io.Writer) (int64, error)
- type Mmap
- type Nodes
- type Option
- type Progress
- type RunesDict
- type Stat
- type Walker
- type Words
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotAChild = errors.New("not a child") ErrNotATerminal = errors.New("not a terminal") )
View Source
var ( ErrOutofRange = errors.New("index out of range") ErrBadAlign = errors.New("bad align") )
Functions ¶
Types ¶
type BytesDict ¶
func (BytesDict) CommonPrefixSearch ¶
type DoubleArray ¶
type DoubleArray struct {
// contains filtered or unexported fields
}
func FromArray ¶
func FromArray(xs []uint64) *DoubleArray
func New ¶
func New() *DoubleArray
func (*DoubleArray) Array ¶
func (da *DoubleArray) Array() []uint64
func (*DoubleArray) CommonPrefixSearch ¶
func (*DoubleArray) ExactMatchSearch ¶
type Mmap ¶
type Mmap struct {
// contains filtered or unexported fields
}
func (*Mmap) CommonPrefixSearch ¶
type RunesDict ¶
func (RunesDict) CommonPrefixSearch ¶
Click to show internal directories.
Click to hide internal directories.