Documentation ¶
Index ¶
- Variables
- func FuzzDelete(trMem *it.NVTreeMem, refTree *NVTreeRef, cfg FuzzConfig, rs randsrc.RandSrc, ...)
- func FuzzInit(rocksdb *it.RocksDB, trMem *it.NVTreeMem, refTree *NVTreeRef, cfg FuzzConfig, ...)
- func FuzzIter(trMem *it.NVTreeMem, refTree *NVTreeRef, cfg FuzzConfig, rs randsrc.RandSrc)
- func FuzzQuery(trMem *it.NVTreeMem, refTree *NVTreeRef, cfg FuzzConfig, rs randsrc.RandSrc, ...)
- func RunFuzz(roundCount int, cfg FuzzConfig, randFilename string)
- type FuzzConfig
- type NVTreeRef
- func (tree *NVTreeRef) BeginWrite(currHeight int64)
- func (tree *NVTreeRef) Close()
- func (tree *NVTreeRef) Delete(k []byte)
- func (tree *NVTreeRef) EndWrite()
- func (tree *NVTreeRef) Get(k []byte) (int64, bool)
- func (tree *NVTreeRef) GetAtHeight(k []byte, height uint64) (position int64, ok bool)
- func (tree *NVTreeRef) Init(dirname string) (err error)
- func (tree *NVTreeRef) Iterator(start, end []byte) types.Iterator
- func (tree *NVTreeRef) ReverseIterator(start, end []byte) types.Iterator
- func (tree *NVTreeRef) Set(k []byte, v int64)
Constants ¶
This section is empty.
Variables ¶
View Source
var AllOnes = []byte{255, 255, 255, 255, 255, 255, 255, 255}
View Source
var AllZeros = []byte{0, 0, 0, 0, 0, 0, 0, 0}
View Source
var DefaultConfig = FuzzConfig{
HeightStripe: 100,
DelCount: 100,
InitCount: 200,
QueryCount: 300,
IterCount: 100,
IterDistance: 20,
ReloadEveryN: 100,
}
Functions ¶
func FuzzDelete ¶
func RunFuzz ¶
func RunFuzz(roundCount int, cfg FuzzConfig, randFilename string)
Types ¶
type FuzzConfig ¶
type NVTreeRef ¶
type NVTreeRef struct {
// contains filtered or unexported fields
}
func (*NVTreeRef) BeginWrite ¶
func (*NVTreeRef) GetAtHeight ¶
func (*NVTreeRef) ReverseIterator ¶
Click to show internal directories.
Click to hide internal directories.