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 ¶ added in v1.56.0
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 ¶ added in v1.56.0
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
func NewIndex ¶
func NewIndex(segments LengthIter) (ret Index)
func NewIndexFromSegments ¶ added in v1.56.0
type LengthIter ¶
type Locater ¶
func LocaterFromLengthIter ¶
func LocaterFromLengthIter(li LengthIter) Locater
Click to show internal directories.
Click to hide internal directories.