Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Scan ¶
func Scan(haystack LengthIter, needle Extent, callback Callback) bool
Returns true if callback returns false early, or all segments in the haystack for the needle are found.
func ScanConsecutive ¶
func ScanConsecutive(haystack ConsecutiveExtentIter, needle Extent, callback Callback) bool
Returns true if callback returns false early, or all segments in the haystack for the needle are found.
Types ¶
type ConsecutiveExtentIter ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
func NewIndex ¶
func NewIndex(segments LengthIter) (ret Index)
func NewIndexFromSegments ¶
type LengthIter ¶
type Locater ¶
func LocaterFromLengthIter ¶
func LocaterFromLengthIter(li LengthIter) Locater
Click to show internal directories.
Click to hide internal directories.