Documentation
¶
Index ¶
- func BenchmarkRandomReadsWrites(b *testing.B, db tmdb.DB)
- func BenchmarkRangeScans(b *testing.B, db tmdb.DB, dbSize int64)
- func Bytes2Int64(buf []byte) int64
- func CleanupDBDir(dir, name string)
- func Domain(t *testing.T, itr tmdb.Iterator, start, end []byte)
- func Int642Bytes(i int64) []byte
- func Invalid(t *testing.T, itr tmdb.Iterator)
- func Item(t *testing.T, itr tmdb.Iterator, key []byte, value []byte)
- func KeyPanics(t *testing.T, itr tmdb.Iterator)
- func Next(t *testing.T, itr tmdb.Iterator, expected bool)
- func NextPanics(t *testing.T, itr tmdb.Iterator)
- func RandStr(length int) string
- func Valid(t *testing.T, itr tmdb.Iterator, expected bool)
- func Value(t *testing.T, db tmdb.DB, key []byte, valueWanted []byte)
- func ValuePanics(t *testing.T, itr tmdb.Iterator)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes2Int64 ¶
func CleanupDBDir ¶
func CleanupDBDir(dir, name string)
func Int642Bytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.