Bitcoin
|
Typedefs | |
typedef uint64_t | SequenceNumber |
typedef uint64_t | Key |
typedef std::map< std::string, std::string, STLLessThan > | KVMap |
Enumerations | |
enum | ValueType { kTypeDeletion = 0x0, kTypeValue = 0x1 } |
enum | FileType { kLogFile, kDBLockFile, kTableFile, kDescriptorFile, kCurrentFile, kTempFile, kInfoLogFile } |
enum | Tag { kComparator = 1, kLogNumber = 2, kNextFileNumber = 3, kLastSequence = 4, kCompactPointer = 5, kDeletedFile = 6, kNewFile = 7, kPrevLogNumber = 9 } |
enum | CompressionType { kNoCompression = 0x0, kSnappyCompression = 0x1 } |
enum | TestType { TABLE_TEST, BLOCK_TEST, MEMTABLE_TEST, DB_TEST } |
Functions | |
TEST (AutoCompactTest, ReadAll) | |
TEST (AutoCompactTest, ReadHalf) | |
Status | BuildTable (const std::string &dbname, Env *env, const Options &options, TableCache *table_cache, Iterator *iter, FileMetaData *meta) |
TEST (CorruptionTest, Recovery) | |
TEST (CorruptionTest, RecoverWriteError) | |
TEST (CorruptionTest, NewFileErrorDuringWrite) | |
TEST (CorruptionTest, TableFile) | |
TEST (CorruptionTest, TableFileRepair) | |
TEST (CorruptionTest, TableFileIndexData) | |
TEST (CorruptionTest, MissingDescriptor) | |
TEST (CorruptionTest, SequenceNumberRecovery) | |
TEST (CorruptionTest, CorruptedDescriptor) | |
TEST (CorruptionTest, CompactionInputError) | |
TEST (CorruptionTest, CompactionInputErrorParanoid) | |
TEST (CorruptionTest, UnrelatedKeys) | |
template<class T , class V > | |
static void | ClipToRange (T *ptr, V minvalue, V maxvalue) |
Options | SanitizeOptions (const std::string &dbname, const InternalKeyComparator *icmp, const InternalFilterPolicy *ipolicy, const Options &src) |
Status | DestroyDB (const std::string &dbname, const Options &options) |
Iterator * | NewDBIterator (DBImpl *db, const Comparator *user_key_comparator, Iterator *internal_iter, SequenceNumber sequence, uint32_t seed) |
static std::string | RandomString (Random *rnd, int len) |
TEST (DBTest, Empty) | |
TEST (DBTest, ReadWrite) | |
TEST (DBTest, PutDeleteGet) | |
TEST (DBTest, GetFromImmutableLayer) | |
TEST (DBTest, GetFromVersions) | |
TEST (DBTest, GetMemUsage) | |
TEST (DBTest, GetSnapshot) | |
TEST (DBTest, GetLevel0Ordering) | |
TEST (DBTest, GetOrderedByLevels) | |
TEST (DBTest, GetPicksCorrectFile) | |
TEST (DBTest, GetEncountersEmptyLevel) | |
TEST (DBTest, IterEmpty) | |
TEST (DBTest, IterSingle) | |
TEST (DBTest, IterMulti) | |
TEST (DBTest, IterSmallAndLargeMix) | |
TEST (DBTest, IterMultiWithDelete) | |
TEST (DBTest, Recover) | |
TEST (DBTest, RecoveryWithEmptyLog) | |
TEST (DBTest, RecoverDuringMemtableCompaction) | |
static std::string | Key (int i) |
TEST (DBTest, MinorCompactionsHappen) | |
TEST (DBTest, RecoverWithLargeLog) | |
TEST (DBTest, CompactionsGenerateMultipleFiles) | |
TEST (DBTest, RepeatedWritesToSameKey) | |
TEST (DBTest, SparseMerge) | |
static bool | Between (uint64_t val, uint64_t low, uint64_t high) |
TEST (DBTest, ApproximateSizes) | |
TEST (DBTest, ApproximateSizes_MixOfSmallAndLarge) | |
TEST (DBTest, IteratorPinsRef) | |
TEST (DBTest, Snapshot) | |
TEST (DBTest, HiddenValuesAreRemoved) | |
TEST (DBTest, DeletionMarkers1) | |
TEST (DBTest, DeletionMarkers2) | |
TEST (DBTest, OverlapInLevel0) | |
TEST (DBTest, L0_CompactionBug_Issue44_a) | |
TEST (DBTest, L0_CompactionBug_Issue44_b) | |
TEST (DBTest, ComparatorCheck) | |
TEST (DBTest, CustomComparator) | |
TEST (DBTest, ManualCompaction) | |
TEST (DBTest, DBOpen_Options) | |
TEST (DBTest, Locking) | |
TEST (DBTest, NoSpace) | |
TEST (DBTest, NonWritableFileSystem) | |
TEST (DBTest, WriteSyncError) | |
TEST (DBTest, ManifestWriteError) | |
TEST (DBTest, MissingSSTFile) | |
TEST (DBTest, StillReadSST) | |
TEST (DBTest, FilesDeletedAfterCompaction) | |
TEST (DBTest, BloomFilter) | |
TEST (DBTest, MultiThreaded) | |
static std::string | RandomKey (Random *rnd) |
static bool | CompareIterators (int step, DB *model, DB *db, const Snapshot *model_snap, const Snapshot *db_snap) |
TEST (DBTest, Randomized) | |
std::string | MakeKey (unsigned int num) |
void | BM_LogAndApply (int iters, int num_base_files) |
static uint64_t | PackSequenceAndType (uint64_t seq, ValueType t) |
void | AppendInternalKey (std::string *result, const ParsedInternalKey &key) |
size_t | InternalKeyEncodingLength (const ParsedInternalKey &key) |
bool | ParseInternalKey (const Slice &internal_key, ParsedInternalKey *result) |
Slice | ExtractUserKey (const Slice &internal_key) |
ValueType | ExtractValueType (const Slice &internal_key) |
static std::string | IKey (const std::string &user_key, uint64_t seq, ValueType vt) |
static std::string | Shorten (const std::string &s, const std::string &l) |
static std::string | ShortSuccessor (const std::string &s) |
static void | TestKey (const std::string &key, uint64_t seq, ValueType vt) |
TEST (FormatTest, InternalKey_EncodeDecode) | |
TEST (FormatTest, InternalKeyShortSeparator) | |
TEST (FormatTest, InternalKeyShortestSuccessor) | |
Status | DumpFile (Env *env, const std::string &fname, WritableFile *dst) |
TEST (FaultInjectionTest, FaultTestNoLogReuse) | |
TEST (FaultInjectionTest, FaultTestWithLogReuse) | |
Status | WriteStringToFileSync (Env *env, const Slice &data, const std::string &fname) |
static std::string | MakeFileName (const std::string &name, uint64_t number, const char *suffix) |
std::string | LogFileName (const std::string &name, uint64_t number) |
std::string | TableFileName (const std::string &name, uint64_t number) |
std::string | SSTTableFileName (const std::string &name, uint64_t number) |
std::string | DescriptorFileName (const std::string &dbname, uint64_t number) |
std::string | CurrentFileName (const std::string &dbname) |
std::string | LockFileName (const std::string &dbname) |
std::string | TempFileName (const std::string &dbname, uint64_t number) |
std::string | InfoLogFileName (const std::string &dbname) |
std::string | OldInfoLogFileName (const std::string &dbname) |
bool | ParseFileName (const std::string &fname, uint64_t *number, FileType *type) |
Status | SetCurrentFile (Env *env, const std::string &dbname, uint64_t descriptor_number) |
TEST (FileNameTest, Parse) | |
TEST (FileNameTest, Construction) | |
static Slice | GetLengthPrefixedSlice (const char *data) |
static const char * | EncodeKey (std::string *scratch, const Slice &target) |
TEST (RecoveryTest, ManifestReused) | |
TEST (RecoveryTest, LargeManifestCompacted) | |
TEST (RecoveryTest, NoLogFiles) | |
TEST (RecoveryTest, LogFileReuse) | |
TEST (RecoveryTest, MultipleMemTables) | |
TEST (RecoveryTest, MultipleLogFiles) | |
Status | RepairDB (const std::string &dbname, const Options &options) |
TEST (SkipTest, Empty) | |
TEST (SkipTest, InsertAndLookup) | |
TEST (SkipTest, ConcurrentWithoutThreads) | |
static void | ConcurrentReader (void *arg) |
static void | RunConcurrent (int run) |
TEST (SkipTest, Concurrent1) | |
TEST (SkipTest, Concurrent2) | |
TEST (SkipTest, Concurrent3) | |
TEST (SkipTest, Concurrent4) | |
TEST (SkipTest, Concurrent5) | |
static void | DeleteEntry (const Slice &key, void *value) |
static void | UnrefEntry (void *arg1, void *arg2) |
static bool | GetInternalKey (Slice *input, InternalKey *dst) |
static bool | GetLevel (Slice *input, int *level) |
static void | TestEncodeDecode (const VersionEdit &edit) |
TEST (VersionEditTest, EncodeDecode) | |
static size_t | TargetFileSize (const Options *options) |
static int64_t | MaxGrandParentOverlapBytes (const Options *options) |
static int64_t | ExpandedCompactionByteSizeLimit (const Options *options) |
static double | MaxBytesForLevel (const Options *options, int level) |
static uint64_t | MaxFileSizeForLevel (const Options *options, int level) |
static int64_t | TotalFileSize (const std::vector< FileMetaData * > &files) |
int | FindFile (const InternalKeyComparator &icmp, const std::vector< FileMetaData * > &files, const Slice &key) |
static bool | AfterFile (const Comparator *ucmp, const Slice *user_key, const FileMetaData *f) |
static bool | BeforeFile (const Comparator *ucmp, const Slice *user_key, const FileMetaData *f) |
bool | SomeFileOverlapsRange (const InternalKeyComparator &icmp, bool disjoint_sorted_files, const std::vector< FileMetaData * > &files, const Slice *smallest_user_key, const Slice *largest_user_key) |
static Iterator * | GetFileIterator (void *arg, const ReadOptions &options, const Slice &file_value) |
static void | SaveValue (void *arg, const Slice &ikey, const Slice &v) |
static bool | NewestFirst (FileMetaData *a, FileMetaData *b) |
TEST (FindFileTest, Empty) | |
TEST (FindFileTest, Single) | |
TEST (FindFileTest, Multiple) | |
TEST (FindFileTest, MultipleNullBoundaries) | |
TEST (FindFileTest, OverlapSequenceChecks) | |
TEST (FindFileTest, OverlappingFiles) | |
static std::string | PrintContents (WriteBatch *b) |
TEST (WriteBatchTest, Empty) | |
TEST (WriteBatchTest, Multiple) | |
TEST (WriteBatchTest, Corruption) | |
TEST (WriteBatchTest, Append) | |
Env * | NewMemEnv (Env *base_env) |
TEST (MemEnvTest, Basics) | |
TEST (MemEnvTest, ReadWrite) | |
TEST (MemEnvTest, Locks) | |
TEST (MemEnvTest, Misc) | |
TEST (MemEnvTest, LargeWrite) | |
TEST (MemEnvTest, DBTest) | |
Cache * | NewLRUCache (size_t capacity) |
const Comparator * | BytewiseComparator () |
void | Log (Logger *info_log, const char *format,...) |
Status | WriteStringToFile (Env *env, const Slice &data, const std::string &fname) |
Status | ReadFileToString (Env *env, const std::string &fname, std::string *data) |
const FilterPolicy * | NewBloomFilterPolicy (int bits_per_key) |
Iterator * | NewEmptyIterator () |
Iterator * | NewErrorIterator (const Status &status) |
bool | operator== (const Slice &x, const Slice &y) |
bool | operator!= (const Slice &x, const Slice &y) |
TEST (Issue200, Test) | |
static const char * | DecodeEntry (const char *p, const char *limit, uint32_t *shared, uint32_t *non_shared, uint32_t *value_length) |
TEST (FilterBlockTest, EmptyBuilder) | |
TEST (FilterBlockTest, SingleChunk) | |
TEST (FilterBlockTest, MultiChunk) | |
Status | ReadBlock (RandomAccessFile *file, const ReadOptions &options, const BlockHandle &handle, BlockContents *result) |
Iterator * | NewMergingIterator (const Comparator *cmp, Iterator **list, int n) |
static void | DeleteBlock (void *arg, void *ignored) |
static void | DeleteCachedBlock (const Slice &key, void *value) |
static void | ReleaseBlock (void *arg, void *h) |
static std::string | Reverse (const Slice &key) |
static void | Increment (const Comparator *cmp, std::string *key) |
TEST (Harness, Empty) | |
TEST (Harness, ZeroRestartPointsInBlock) | |
TEST (Harness, SimpleEmptyKey) | |
TEST (Harness, SimpleSingle) | |
TEST (Harness, SimpleMulti) | |
TEST (Harness, SimpleSpecialKey) | |
TEST (Harness, Randomized) | |
TEST (Harness, RandomizedLongDB) | |
TEST (MemTableTest, Simple) | |
static bool | Between (uint64_t val, uint64_t low, uint64_t high) |
TEST (TableTest, ApproximateOffsetOfPlain) | |
static bool | SnappyCompressionSupported () |
TEST (TableTest, ApproximateOffsetOfCompressed) | |
Iterator * | NewTwoLevelIterator (Iterator *index_iter, BlockFunction block_function, void *arg, const ReadOptions &options) |
Iterator * | NewTwoLevelIterator (Iterator *index_iter, Iterator *(*block_function)(void *arg, const ReadOptions &options, const Slice &index_value), void *arg, const ReadOptions &options) |
TEST (ArenaTest, Empty) | |
TEST (ArenaTest, Simple) | |
static Slice | Key (int i, char *buffer) |
TEST (BloomTest, EmptyFilter) | |
TEST (BloomTest, Small) | |
static int | NextLength (int length) |
TEST (BloomTest, VaryingLengths) | |
static std::string | EncodeKey (int k) |
static int | DecodeKey (const Slice &k) |
static void * | EncodeValue (uintptr_t v) |
static int | DecodeValue (void *v) |
TEST (CacheTest, HitAndMiss) | |
TEST (CacheTest, Erase) | |
TEST (CacheTest, EntriesArePinned) | |
TEST (CacheTest, EvictionPolicy) | |
TEST (CacheTest, UseExceedsCacheSize) | |
TEST (CacheTest, HeavyEntries) | |
TEST (CacheTest, NewId) | |
TEST (CacheTest, Prune) | |
void | EncodeFixed32 (char *buf, uint32_t value) |
void | EncodeFixed64 (char *buf, uint64_t value) |
void | PutFixed32 (std::string *dst, uint32_t value) |
void | PutFixed64 (std::string *dst, uint64_t value) |
char * | EncodeVarint32 (char *dst, uint32_t v) |
void | PutVarint32 (std::string *dst, uint32_t v) |
char * | EncodeVarint64 (char *dst, uint64_t v) |
void | PutVarint64 (std::string *dst, uint64_t v) |
void | PutLengthPrefixedSlice (std::string *dst, const Slice &value) |
int | VarintLength (uint64_t v) |
const char * | GetVarint32PtrFallback (const char *p, const char *limit, uint32_t *value) |
bool | GetVarint32 (Slice *input, uint32_t *value) |
const char * | GetVarint64Ptr (const char *p, const char *limit, uint64_t *value) |
bool | GetVarint64 (Slice *input, uint64_t *value) |
const char * | GetLengthPrefixedSlice (const char *p, const char *limit, Slice *result) |
bool | GetLengthPrefixedSlice (Slice *input, Slice *result) |
const char * | GetVarint32Ptr (const char *p, const char *limit, uint32_t *v) |
uint32_t | DecodeFixed32 (const char *ptr) |
uint64_t | DecodeFixed64 (const char *ptr) |
TEST (Coding, Fixed32) | |
TEST (Coding, Fixed64) | |
TEST (Coding, EncodingOutput) | |
TEST (Coding, Varint32) | |
TEST (Coding, Varint64) | |
TEST (Coding, Varint32Overflow) | |
TEST (Coding, Varint32Truncation) | |
TEST (Coding, Varint64Overflow) | |
TEST (Coding, Varint64Truncation) | |
TEST (Coding, Strings) | |
static void | InitModule () |
static Status | DoWriteStringToFile (Env *env, const Slice &data, const std::string &fname, bool should_sync) |
static void | InitDefaultEnv () |
TEST (EnvPosixTest, TestOpenOnRead) | |
static void | SetBool (void *ptr) |
TEST (EnvTest, RunImmediately) | |
TEST (EnvTest, RunMany) | |
static void | ThreadBody (void *arg) |
TEST (EnvTest, StartThread) | |
uint32_t | Hash (const char *data, size_t n, uint32_t seed) |
TEST (HASH, SignedUnsignedIssue) | |
void | AppendNumberTo (std::string *str, uint64_t num) |
void | AppendEscapedStringTo (std::string *str, const Slice &value) |
std::string | NumberToString (uint64_t num) |
std::string | EscapeString (const Slice &value) |
bool | ConsumeDecimalNumber (Slice *in, uint64_t *val) |
Variables | |
static const int | kValueSize = 200 * 1024 |
static const int | kTotalSize = 100 * 1024 * 1024 |
static const int | kCount = kTotalSize / kValueSize |
static const int | kValueSize = 1000 |
const int | kNumNonTableCacheFiles = 10 |
static const ValueType | kValueTypeForSeek = kTypeValue |
static const SequenceNumber | kMaxSequenceNumber |
static const int | kValueSize = 1000 |
static const int | kMaxNumValues = 2000 |
static const size_t | kNumIterations = 3 |
static const size_t | kHeader = 12 |
static const int | kMajorVersion = 1 |
static const int | kMinorVersion = 20 |
static const size_t | kFilterBaseLg = 11 |
static const size_t | kFilterBase = 1 << kFilterBaseLg |
static const uint64_t | kTableMagicNumber = 0xdb4775248b80fb57ull |
static const size_t | kBlockTrailerSize = 5 |
static ReverseKeyComparator | reverse_key_comparator |
static const TestArgs | kTestArgList [] |
static const int | kNumTestArgs = sizeof(kTestArgList) / sizeof(kTestArgList[0]) |
static const int | kBlockSize = 4096 |
static const int | kVerbose = 1 |
static port::OnceType | once = LEVELDB_ONCE_INIT |
static const Comparator * | bytewise |
static pthread_once_t | once = PTHREAD_ONCE_INIT |
static Env * | default_env |
static const int | kDelayMicros = 100000 |
static const int | kReadOnlyFileLimit = 4 |
static const int | kMMapLimit = 4 |
static const int | kDelayMicros = 100000 |
static const int | kReadOnlyFileLimit = 4 |
static const int | kMMapLimit = 4 |
typedef uint64_t leveldb::Key |
typedef std::map<std::string, std::string, STLLessThan> leveldb::KVMap |
typedef uint64_t leveldb::SequenceNumber |
enum leveldb::FileType |
enum leveldb::Tag |
enum leveldb::TestType |
enum leveldb::ValueType |
|
static |
void leveldb::AppendEscapedStringTo | ( | std::string * | str, |
const Slice & | value | ||
) |
void leveldb::AppendInternalKey | ( | std::string * | result, |
const ParsedInternalKey & | key | ||
) |
void leveldb::AppendNumberTo | ( | std::string * | str, |
uint64_t | num | ||
) |
|
static |
void leveldb::BM_LogAndApply | ( | int | iters, |
int | num_base_files | ||
) |
Status leveldb::BuildTable | ( | const std::string & | dbname, |
Env * | env, | ||
const Options & | options, | ||
TableCache * | table_cache, | ||
Iterator * | iter, | ||
FileMetaData * | meta | ||
) |
const Comparator * leveldb::BytewiseComparator | ( | ) |
|
static |
|
static |
|
static |
std::string leveldb::CurrentFileName | ( | const std::string & | dbname | ) |
|
inlinestatic |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
std::string leveldb::DescriptorFileName | ( | const std::string & | dbname, |
uint64_t | number | ||
) |
|
static |
Status leveldb::DumpFile | ( | Env * | env, |
const std::string & | fname, | ||
WritableFile * | dst | ||
) |
void leveldb::EncodeFixed32 | ( | char * | buf, |
uint32_t | value | ||
) |
void leveldb::EncodeFixed64 | ( | char * | buf, |
uint64_t | value | ||
) |
|
static |
|
static |
|
static |
char * leveldb::EncodeVarint32 | ( | char * | dst, |
uint32_t | v | ||
) |
char * leveldb::EncodeVarint64 | ( | char * | dst, |
uint64_t | v | ||
) |
std::string leveldb::EscapeString | ( | const Slice & | value | ) |
int leveldb::FindFile | ( | const InternalKeyComparator & | icmp, |
const std::vector< FileMetaData * > & | files, | ||
const Slice & | key | ||
) |
|
static |
|
static |
|
static |
const char* leveldb::GetLengthPrefixedSlice | ( | const char * | p, |
const char * | limit, | ||
Slice * | result | ||
) |
|
static |
|
inline |
const char * leveldb::GetVarint32PtrFallback | ( | const char * | p, |
const char * | limit, | ||
uint32_t * | value | ||
) |
const char * leveldb::GetVarint64Ptr | ( | const char * | p, |
const char * | limit, | ||
uint64_t * | value | ||
) |
|
static |
|
static |
std::string leveldb::InfoLogFileName | ( | const std::string & | dbname | ) |
|
static |
|
static |
|
inline |
|
static |
|
static |
std::string leveldb::LockFileName | ( | const std::string & | dbname | ) |
void leveldb::Log | ( | Logger * | info_log, |
const char * | format, | ||
... | |||
) |
std::string leveldb::LogFileName | ( | const std::string & | name, |
uint64_t | number | ||
) |
|
static |
std::string leveldb::MakeKey | ( | unsigned int | num | ) |
|
static |
const FilterPolicy * leveldb::NewBloomFilterPolicy | ( | int | bits_per_key | ) |
Iterator * leveldb::NewDBIterator | ( | DBImpl * | db, |
const Comparator * | user_key_comparator, | ||
Iterator * | internal_iter, | ||
SequenceNumber | sequence, | ||
uint32_t | seed | ||
) |
Iterator * leveldb::NewEmptyIterator | ( | ) |
|
static |
Cache * leveldb::NewLRUCache | ( | size_t | capacity | ) |
Iterator * leveldb::NewMergingIterator | ( | const Comparator * | cmp, |
Iterator ** | list, | ||
int | n | ||
) |
Iterator* leveldb::NewTwoLevelIterator | ( | Iterator * | index_iter, |
Iterator *(*)(void *arg, const ReadOptions &options, const Slice &index_value) | block_function, | ||
void * | arg, | ||
const ReadOptions & | options | ||
) |
Iterator* leveldb::NewTwoLevelIterator | ( | Iterator * | index_iter, |
BlockFunction | block_function, | ||
void * | arg, | ||
const ReadOptions & | options | ||
) |
|
static |
std::string leveldb::NumberToString | ( | uint64_t | num | ) |
std::string leveldb::OldInfoLogFileName | ( | const std::string & | dbname | ) |
|
inline |
|
static |
void leveldb::PutFixed32 | ( | std::string * | dst, |
uint32_t | value | ||
) |
void leveldb::PutFixed64 | ( | std::string * | dst, |
uint64_t | value | ||
) |
void leveldb::PutLengthPrefixedSlice | ( | std::string * | dst, |
const Slice & | value | ||
) |
void leveldb::PutVarint32 | ( | std::string * | dst, |
uint32_t | v | ||
) |
void leveldb::PutVarint64 | ( | std::string * | dst, |
uint64_t | v | ||
) |
|
static |
|
static |
Status leveldb::ReadBlock | ( | RandomAccessFile * | file, |
const ReadOptions & | options, | ||
const BlockHandle & | handle, | ||
BlockContents * | result | ||
) |
|
static |
|
static |
|
static |
Options leveldb::SanitizeOptions | ( | const std::string & | dbname, |
const InternalKeyComparator * | icmp, | ||
const InternalFilterPolicy * | ipolicy, | ||
const Options & | src | ||
) |
|
static |
Status leveldb::SetCurrentFile | ( | Env * | env, |
const std::string & | dbname, | ||
uint64_t | descriptor_number | ||
) |
|
static |
|
static |
|
static |
bool leveldb::SomeFileOverlapsRange | ( | const InternalKeyComparator & | icmp, |
bool | disjoint_sorted_files, | ||
const std::vector< FileMetaData * > & | files, | ||
const Slice * | smallest_user_key, | ||
const Slice * | largest_user_key | ||
) |
std::string leveldb::SSTTableFileName | ( | const std::string & | name, |
uint64_t | number | ||
) |
std::string leveldb::TableFileName | ( | const std::string & | name, |
uint64_t | number | ||
) |
|
static |
std::string leveldb::TempFileName | ( | const std::string & | dbname, |
uint64_t | number | ||
) |
leveldb::TEST | ( | HASH | , |
SignedUnsignedIssue | |||
) |
leveldb::TEST | ( | Coding | , |
Fixed32 | |||
) |
leveldb::TEST | ( | ArenaTest | , |
Empty | |||
) |
leveldb::TEST | ( | Issue200 | , |
Test | |||
) |
leveldb::TEST | ( | FileNameTest | , |
Parse | |||
) |
leveldb::TEST | ( | ArenaTest | , |
Simple | |||
) |
leveldb::TEST | ( | VersionEditTest | , |
EncodeDecode | |||
) |
leveldb::TEST | ( | Coding | , |
Fixed64 | |||
) |
leveldb::TEST | ( | MemEnvTest | , |
Basics | |||
) |
leveldb::TEST | ( | EnvPosixTest | , |
TestOpenOnRead | |||
) |
leveldb::TEST | ( | EnvTest | , |
RunImmediately | |||
) |
leveldb::TEST | ( | SkipTest | , |
Empty | |||
) |
leveldb::TEST | ( | EnvTest | , |
RunMany | |||
) |
leveldb::TEST | ( | FilterBlockTest | , |
EmptyBuilder | |||
) |
leveldb::TEST | ( | SkipTest | , |
InsertAndLookup | |||
) |
leveldb::TEST | ( | FormatTest | , |
InternalKey_EncodeDecode | |||
) |
leveldb::TEST | ( | FindFileTest | , |
Empty | |||
) |
leveldb::TEST | ( | FilterBlockTest | , |
SingleChunk | |||
) |
leveldb::TEST | ( | Coding | , |
EncodingOutput | |||
) |
leveldb::TEST | ( | WriteBatchTest | , |
Empty | |||
) |
leveldb::TEST | ( | FindFileTest | , |
Single | |||
) |
leveldb::TEST | ( | WriteBatchTest | , |
Multiple | |||
) |
leveldb::TEST | ( | FormatTest | , |
InternalKeyShortSeparator | |||
) |
leveldb::TEST | ( | CacheTest | , |
HitAndMiss | |||
) |
leveldb::TEST | ( | FilterBlockTest | , |
MultiChunk | |||
) |
leveldb::TEST | ( | WriteBatchTest | , |
Corruption | |||
) |
leveldb::TEST | ( | FileNameTest | , |
Construction | |||
) |
leveldb::TEST | ( | Coding | , |
Varint32 | |||
) |
leveldb::TEST | ( | EnvTest | , |
StartThread | |||
) |
leveldb::TEST | ( | BloomTest | , |
EmptyFilter | |||
) |
leveldb::TEST | ( | FindFileTest | , |
Multiple | |||
) |
leveldb::TEST | ( | WriteBatchTest | , |
Append | |||
) |
leveldb::TEST | ( | BloomTest | , |
Small | |||
) |
leveldb::TEST | ( | MemEnvTest | , |
ReadWrite | |||
) |
leveldb::TEST | ( | CacheTest | , |
Erase | |||
) |
leveldb::TEST | ( | Coding | , |
Varint64 | |||
) |
leveldb::TEST | ( | FormatTest | , |
InternalKeyShortestSuccessor | |||
) |
leveldb::TEST | ( | AutoCompactTest | , |
ReadAll | |||
) |
leveldb::TEST | ( | AutoCompactTest | , |
ReadHalf | |||
) |
leveldb::TEST | ( | CacheTest | , |
EntriesArePinned | |||
) |
leveldb::TEST | ( | BloomTest | , |
VaryingLengths | |||
) |
leveldb::TEST | ( | FindFileTest | , |
MultipleNullBoundaries | |||
) |
leveldb::TEST | ( | Coding | , |
Varint32Overflow | |||
) |
leveldb::TEST | ( | MemEnvTest | , |
Locks | |||
) |
leveldb::TEST | ( | CacheTest | , |
EvictionPolicy | |||
) |
leveldb::TEST | ( | Coding | , |
Varint32Truncation | |||
) |
leveldb::TEST | ( | MemEnvTest | , |
Misc | |||
) |
leveldb::TEST | ( | FindFileTest | , |
OverlapSequenceChecks | |||
) |
leveldb::TEST | ( | Coding | , |
Varint64Overflow | |||
) |
leveldb::TEST | ( | FindFileTest | , |
OverlappingFiles | |||
) |
leveldb::TEST | ( | CacheTest | , |
UseExceedsCacheSize | |||
) |
leveldb::TEST | ( | RecoveryTest | , |
ManifestReused | |||
) |
leveldb::TEST | ( | Coding | , |
Varint64Truncation | |||
) |
leveldb::TEST | ( | MemEnvTest | , |
LargeWrite | |||
) |
leveldb::TEST | ( | Coding | , |
Strings | |||
) |
leveldb::TEST | ( | RecoveryTest | , |
LargeManifestCompacted | |||
) |
leveldb::TEST | ( | CacheTest | , |
HeavyEntries | |||
) |
leveldb::TEST | ( | MemEnvTest | , |
DBTest | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
Recovery | |||
) |
leveldb::TEST | ( | CacheTest | , |
NewId | |||
) |
leveldb::TEST | ( | RecoveryTest | , |
NoLogFiles | |||
) |
leveldb::TEST | ( | CacheTest | , |
Prune | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
RecoverWriteError | |||
) |
leveldb::TEST | ( | RecoveryTest | , |
LogFileReuse | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
NewFileErrorDuringWrite | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
TableFile | |||
) |
leveldb::TEST | ( | RecoveryTest | , |
MultipleMemTables | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
TableFileRepair | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
TableFileIndexData | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
MissingDescriptor | |||
) |
leveldb::TEST | ( | RecoveryTest | , |
MultipleLogFiles | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
SequenceNumberRecovery | |||
) |
leveldb::TEST | ( | SkipTest | , |
ConcurrentWithoutThreads | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
CorruptedDescriptor | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
CompactionInputError | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
CompactionInputErrorParanoid | |||
) |
leveldb::TEST | ( | CorruptionTest | , |
UnrelatedKeys | |||
) |
leveldb::TEST | ( | SkipTest | , |
Concurrent1 | |||
) |
leveldb::TEST | ( | SkipTest | , |
Concurrent2 | |||
) |
leveldb::TEST | ( | SkipTest | , |
Concurrent3 | |||
) |
leveldb::TEST | ( | SkipTest | , |
Concurrent4 | |||
) |
leveldb::TEST | ( | SkipTest | , |
Concurrent5 | |||
) |
leveldb::TEST | ( | DBTest | , |
Empty | |||
) |
leveldb::TEST | ( | DBTest | , |
ReadWrite | |||
) |
leveldb::TEST | ( | DBTest | , |
PutDeleteGet | |||
) |
leveldb::TEST | ( | DBTest | , |
GetFromImmutableLayer | |||
) |
leveldb::TEST | ( | FaultInjectionTest | , |
FaultTestNoLogReuse | |||
) |
leveldb::TEST | ( | FaultInjectionTest | , |
FaultTestWithLogReuse | |||
) |
leveldb::TEST | ( | DBTest | , |
GetFromVersions | |||
) |
leveldb::TEST | ( | DBTest | , |
GetMemUsage | |||
) |
leveldb::TEST | ( | DBTest | , |
GetSnapshot | |||
) |
leveldb::TEST | ( | DBTest | , |
GetLevel0Ordering | |||
) |
leveldb::TEST | ( | DBTest | , |
GetOrderedByLevels | |||
) |
leveldb::TEST | ( | DBTest | , |
GetPicksCorrectFile | |||
) |
leveldb::TEST | ( | DBTest | , |
GetEncountersEmptyLevel | |||
) |
leveldb::TEST | ( | Harness | , |
Empty | |||
) |
leveldb::TEST | ( | Harness | , |
ZeroRestartPointsInBlock | |||
) |
leveldb::TEST | ( | DBTest | , |
IterEmpty | |||
) |
leveldb::TEST | ( | Harness | , |
SimpleEmptyKey | |||
) |
leveldb::TEST | ( | Harness | , |
SimpleSingle | |||
) |
leveldb::TEST | ( | DBTest | , |
IterSingle | |||
) |
leveldb::TEST | ( | Harness | , |
SimpleMulti | |||
) |
leveldb::TEST | ( | Harness | , |
SimpleSpecialKey | |||
) |
leveldb::TEST | ( | Harness | , |
Randomized | |||
) |
leveldb::TEST | ( | DBTest | , |
IterMulti | |||
) |
leveldb::TEST | ( | Harness | , |
RandomizedLongDB | |||
) |
leveldb::TEST | ( | MemTableTest | , |
Simple | |||
) |
leveldb::TEST | ( | TableTest | , |
ApproximateOffsetOfPlain | |||
) |
leveldb::TEST | ( | DBTest | , |
IterSmallAndLargeMix | |||
) |
leveldb::TEST | ( | TableTest | , |
ApproximateOffsetOfCompressed | |||
) |
leveldb::TEST | ( | DBTest | , |
IterMultiWithDelete | |||
) |
leveldb::TEST | ( | DBTest | , |
Recover | |||
) |
leveldb::TEST | ( | DBTest | , |
RecoveryWithEmptyLog | |||
) |
leveldb::TEST | ( | DBTest | , |
RecoverDuringMemtableCompaction | |||
) |
leveldb::TEST | ( | DBTest | , |
MinorCompactionsHappen | |||
) |
leveldb::TEST | ( | DBTest | , |
RecoverWithLargeLog | |||
) |
leveldb::TEST | ( | DBTest | , |
CompactionsGenerateMultipleFiles | |||
) |
leveldb::TEST | ( | DBTest | , |
RepeatedWritesToSameKey | |||
) |
leveldb::TEST | ( | DBTest | , |
SparseMerge | |||
) |
leveldb::TEST | ( | DBTest | , |
ApproximateSizes | |||
) |
leveldb::TEST | ( | DBTest | , |
ApproximateSizes_MixOfSmallAndLarge | |||
) |
leveldb::TEST | ( | DBTest | , |
IteratorPinsRef | |||
) |
leveldb::TEST | ( | DBTest | , |
HiddenValuesAreRemoved | |||
) |
leveldb::TEST | ( | DBTest | , |
DeletionMarkers1 | |||
) |
leveldb::TEST | ( | DBTest | , |
DeletionMarkers2 | |||
) |
leveldb::TEST | ( | DBTest | , |
OverlapInLevel0 | |||
) |
leveldb::TEST | ( | DBTest | , |
L0_CompactionBug_Issue44_a | |||
) |
leveldb::TEST | ( | DBTest | , |
L0_CompactionBug_Issue44_b | |||
) |
leveldb::TEST | ( | DBTest | , |
ComparatorCheck | |||
) |
leveldb::TEST | ( | DBTest | , |
CustomComparator | |||
) |
leveldb::TEST | ( | DBTest | , |
ManualCompaction | |||
) |
leveldb::TEST | ( | DBTest | , |
DBOpen_Options | |||
) |
leveldb::TEST | ( | DBTest | , |
Locking | |||
) |
leveldb::TEST | ( | DBTest | , |
NoSpace | |||
) |
leveldb::TEST | ( | DBTest | , |
NonWritableFileSystem | |||
) |
leveldb::TEST | ( | DBTest | , |
WriteSyncError | |||
) |
leveldb::TEST | ( | DBTest | , |
ManifestWriteError | |||
) |
leveldb::TEST | ( | DBTest | , |
MissingSSTFile | |||
) |
leveldb::TEST | ( | DBTest | , |
StillReadSST | |||
) |
leveldb::TEST | ( | DBTest | , |
FilesDeletedAfterCompaction | |||
) |
leveldb::TEST | ( | DBTest | , |
BloomFilter | |||
) |
leveldb::TEST | ( | DBTest | , |
MultiThreaded | |||
) |
leveldb::TEST | ( | DBTest | , |
Randomized | |||
) |
|
static |
|
static |
|
static |
|
static |
int leveldb::VarintLength | ( | uint64_t | v | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const int leveldb::kNumNonTableCacheFiles = 10 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |