itertest

package
v0.0.0-...-451def6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SkipScanEmptyPrefixPrevTest

func SkipScanEmptyPrefixPrevTest(t *testing.T, makeIter func([]KeyOff) Iter)

func SkipScanEmptyPrefixTest

func SkipScanEmptyPrefixTest(t *testing.T, makeIter func([]KeyOff) Iter)

func SkipScanEmptyStringSuffixTest

func SkipScanEmptyStringSuffixTest(t *testing.T, makeIter func([]KeyOff) Iter)

func SkipScanTest

func SkipScanTest(f *testing.F, makeIter func([]KeyOff) Iter)

Types

type Iter

type Iter interface {
	Next()
	Prev()
	Rewind()
	SkipScan(prefixRn, suffixRng iface.Range, skipStart int)
	HasCur() bool
	Eof() bool
	Cur() (key string, off uint64)
}

type KeyOff

type KeyOff struct {
	Key string
	Off uint64
}

Jump to

Keyboard shortcuts

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