Documentation
¶
Index ¶
- Constants
- func DebugPrintMap(m *Map) string
- type Bin
- func (b Bin) Base() (l, r Bin)
- func (b Bin) BaseLeft() Bin
- func (b Bin) BaseLength() uint64
- func (b Bin) BaseOffset() uint64
- func (b Bin) BaseRight() Bin
- func (b Bin) Contains(o Bin) bool
- func (b Bin) IsAll() bool
- func (b Bin) IsBase() bool
- func (b Bin) IsLeft() bool
- func (b Bin) IsNone() bool
- func (b Bin) IsRight() bool
- func (b Bin) Layer() uint64
- func (b Bin) LayerBits() Bin
- func (b Bin) LayerLeft() Bin
- func (b Bin) LayerOffset() uint64
- func (b Bin) LayerRight() Bin
- func (b Bin) LayerShift(z uint64) Bin
- func (b Bin) Left() Bin
- func (b Bin) Parent() Bin
- func (b Bin) Right() Bin
- func (b Bin) Sibling() Bin
- func (b Bin) String() string
- type IntersectionIterator
- func (e *IntersectionIterator) Next() bool
- func (e *IntersectionIterator) NextAfter(i Bin) bool
- func (e *IntersectionIterator) NextBase() bool
- func (e IntersectionIterator) ToBaseSlice() []Bin
- func (e IntersectionIterator) ToSlice() []Bin
- func (e IntersectionIterator) ToSliceAfter(b Bin) []Bin
- func (e *IntersectionIterator) Value() Bin
- type Iterator
- func (e *Iterator) Next() bool
- func (e *Iterator) NextAfter(i Bin) bool
- func (e *Iterator) NextBase() bool
- func (e *Iterator) NextBaseAfter(i Bin) bool
- func (e Iterator) ToBaseSlice() []Bin
- func (e Iterator) ToBaseSliceAfter(b Bin) []Bin
- func (e Iterator) ToSlice() []Bin
- func (e Iterator) ToSliceAfter(b Bin) []Bin
- func (e *Iterator) Value() Bin
- type Map
- func (m *Map) Clone() *Map
- func (m *Map) Cover(target Bin) Bin
- func (m *Map) Empty() bool
- func (m *Map) EmptyAt(b Bin) bool
- func (m *Map) FillBefore(b Bin)
- func (m *Map) Filled() bool
- func (m *Map) FilledAt(b Bin) bool
- func (m *Map) FindEmpty() Bin
- func (m *Map) FindEmptyAfter(target Bin) Bin
- func (m *Map) FindFilled() Bin
- func (m *Map) FindFilledAfter(target Bin) Bin
- func (m *Map) FindLastFilled() Bin
- func (m *Map) IterateEmpty() Iterator
- func (m *Map) IterateEmptyAt(b Bin) Iterator
- func (m *Map) IterateFilled() Iterator
- func (m *Map) IterateFilledAt(b Bin) Iterator
- func (m *Map) Reset(b Bin)
- func (m *Map) ResetBefore(b Bin)
- func (m *Map) RootBin() Bin
- func (m *Map) Set(b Bin)
Constants ¶
View Source
const ( None = Bin(0xffffffffffffffff) All = Bin(0x7fffffffffffffff) )
min/max bins
Variables ¶
This section is empty.
Functions ¶
func DebugPrintMap ¶
Types ¶
type Bin ¶
type Bin uint64
Bin ...
func (Bin) BaseOffset ¶
BaseOffset index of leftmost bin in layer 0
func (Bin) LayerShift ¶
LayerShift leftmost bin above or below b at layer z
type IntersectionIterator ¶
type IntersectionIterator struct {
// contains filtered or unexported fields
}
func NewIntersectionIterator ¶
func NewIntersectionIterator(a, b Iterator) IntersectionIterator
func (*IntersectionIterator) Next ¶
func (e *IntersectionIterator) Next() bool
func (*IntersectionIterator) NextAfter ¶
func (e *IntersectionIterator) NextAfter(i Bin) bool
func (*IntersectionIterator) NextBase ¶
func (e *IntersectionIterator) NextBase() bool
func (IntersectionIterator) ToBaseSlice ¶
func (e IntersectionIterator) ToBaseSlice() []Bin
func (IntersectionIterator) ToSlice ¶
func (e IntersectionIterator) ToSlice() []Bin
func (IntersectionIterator) ToSliceAfter ¶
func (e IntersectionIterator) ToSliceAfter(b Bin) []Bin
func (*IntersectionIterator) Value ¶
func (e *IntersectionIterator) Value() Bin
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func NewEmptyAtIterator ¶
func NewFilledAtIterator ¶
func (*Iterator) NextBaseAfter ¶
func (Iterator) ToBaseSlice ¶
func (Iterator) ToBaseSliceAfter ¶
func (Iterator) ToSliceAfter ¶
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
Map ...
func DebugParseMap ¶
DebugParseMap parse the debug format for building test from log output...
func (*Map) FindEmptyAfter ¶
func (*Map) FindFilledAfter ¶
Click to show internal directories.
Click to hide internal directories.