MCPcopy Create free account

hub / github.com/SKeyerror/reading-source-code-of-leveldb-1.23 / functions

Functions1,485 in github.com/SKeyerror/reading-source-code-of-leveldb-1.23

↓ 383 callersMethodsize
table/block.h:28
↓ 106 callersFunctionOK
Return a success status.
include/leveldb/status.h:41
↓ 96 callersMethodToString
util/status.cc:41
↓ 67 callersFunctionKey
db/db_test.cc:1047
↓ 56 callersMethodempty
db/snapshot.h:46
↓ 41 callersMethodPut
db/c.cc:352
↓ 41 callersMethodTEST_CompactMemTable
db/db_impl.cc:648
↓ 33 callersFunctionLog
util/env.cc:41
↓ 32 callersMethodValid
db/skiplist.h:251
↓ 31 callersMethodCompare
db/dbformat.h:211
↓ 30 callersFunctionCorruption
include/leveldb/status.h:48
↓ 29 callersFunctionIKey
db/dbformat_test.cc:12
↓ 29 callersMethodkey
db/db_iter.cc:64
↓ 28 callersMethodNext
db/db_iter.cc:141
↓ 26 callersFunctionErrorCheck
benchmarks/db_bench_sqlite3.cc:100
↓ 26 callersMethodUniform
Returns a uniformly distributed value in the range [0..n-1] REQUIRES: n > 0
util/random.h:49
↓ 26 callersFunctionValue
Return the crc32c of data[0,n-1]
util/crc32c.h:20
↓ 25 callersFunctionDestroyDB
db/db_impl.cc:1585
↓ 25 callersMethodKeyMayMatch
table/filter_block_test.cc:28
↓ 25 callersFunctionPosixError
util/env_posix.cc:60
↓ 24 callersFunctionIOError
include/leveldb/status.h:57
↓ 24 callersMethodNewIterator
db/db_impl.cc:1181
↓ 24 callersMethodNext
db/db_test.cc:2130
↓ 23 callersFunctionWindowsError
util/env_windows.cc:65
↓ 22 callersFunctionBytewiseComparator
util/comparator.cc:70
↓ 22 callersFunctionNumberToString
util/logging.cc:37
↓ 22 callersMethodTEST_CompactRange
db/db_impl.cc:609
↓ 21 callersFunctionAppendNumberTo
util/logging.cc:17
↓ 21 callersFunctionBetween
db/db_test.cc:1187
↓ 21 callersFunctionBigString
Construct a string of the specified length made out of the supplied partial string.
db/log_test.cc:18
↓ 21 callersFunctionConsumeDecimalNumberRoundtripTest
util/logging_test.cc:40
↓ 21 callersMethodGetTestDirectory
util/env_posix.cc:672
↓ 20 callersMethodAppend
db/write_batch.cc:111
↓ 20 callersFunctionParseFileName
Owned filenames have the form: dbname/CURRENT dbname/LOCK dbname/LOG dbname/LOG.old dbname/MANIFEST-[0-9]+ dbname/[0-9]+.(log|sst|ldb)
db/filename.cc:78
↓ 20 callersMethodPrev
db/db_test.cc:2131
↓ 20 callersMethodUnref
db/version_set.cc:464
↓ 18 callersFunctionCheckGet
db/c_test.c:54
↓ 18 callersFunctionEscapeString
util/logging.cc:43
↓ 18 callersMethodNowMicros
util/env_posix.cc:708
↓ 18 callersFunctionPutVarint32
PutVarint32 和 EncodeVarint32 不同,PutVarint32 会把 varint 结果写到 dst 的尾部 */
util/coding.cc:51
↓ 18 callersFunctionRandomString
db/db_test.cc:30
↓ 18 callersMethodRef
db/version_set.cc:462
↓ 18 callersMethodRemoveFile
util/env.cc:28
↓ 18 callersMethodRemoveFile
db/fault_injection_test.cc:301
↓ 18 callersMethodValid
db/db_test.cc:2118
↓ 17 callersMethodApproximateOffsetOf
table/table_test.cc:240
↓ 17 callersFunctionBetween
table/table_test.cc:748
↓ 17 callersMethodSeekToFirst
db/db_iter.cc:292
↓ 17 callersMethodWait
port/port_stdcxx.h:75
↓ 17 callersMethodget
util/env_windows.cc:98
↓ 17 callersMethoduser_key
Return the user key User Key 的话需要刨去最后的 (Sequence Number << 8) | Value Type */
db/dbformat.h:261
↓ 16 callersFunctionStartPhase
db/c_test.c:14
↓ 15 callersFunctionDecodeFixed32
将通过 EncodeFixed32() 函数编码的 char * 转换成 uint32 */
util/coding.h:102
↓ 15 callersMethodEncode
db/dbformat.h:194
↓ 15 callersMethodGetChildren
db/db_test.cc:78
↓ 15 callersMethodSeek
db/db_test.cc:2127
↓ 14 callersMethodAdd
table/table_test.cc:440
↓ 14 callersMethodGet
db/db_impl.cc:1134
↓ 14 callersMethodSeekToFirst
db/db_test.cc:2119
↓ 14 callersFunctionToString
Return a string that contains the copy of the referenced data.
include/leveldb/slice.h:81
↓ 14 callersMethodkey
db/db_test.cc:2132
↓ 14 callersMethodlevel
Return the level that is being compacted. Inputs from "level" and "level+1" will be merged to produce a set of "level+1" files.
db/version_set.h:348
↓ 13 callersFunctionConsumeDecimalNumberOverflowTest
util/logging_test.cc:93
↓ 13 callersFunctionExtractUserKey
Returns the user key portion of an internal key.
db/dbformat.h:138
↓ 13 callersMethodFinishedSingleOp
benchmarks/db_bench.cc:274
↓ 13 callersFunctionParseInternalKey
db/dbformat.h:216
↓ 13 callersMethodRead
helpers/memenv/memenv.cc:71
↓ 13 callersMethodReleaseSnapshot
db/db_test.cc:2083
↓ 13 callersMethodcompare
include/leveldb/slice.h:109
↓ 13 callersMethodvalue
db/db_iter.cc:68
↓ 12 callersMethodDecodeFrom
db/version_edit.cc:105
↓ 12 callersMethodDelete
db/c.cc:355
↓ 12 callersMethodFileExists
util/env_posix.cc:571
↓ 12 callersFunctionMakeKey
db/db_test.cc:2298
↓ 12 callersMethodNewIterator
db/db_test.cc:2066
↓ 12 callersFunctionRandomSeed
Returns the random seed used at the start of the current test run.
util/testutil.h:28
↓ 12 callersMethodValid
table/table_test.cc:268
↓ 12 callersMethodValid
db/db_iter.cc:63
↓ 12 callersMethodslice
benchmarks/db_bench.cc:202
↓ 11 callersFunctionAddBoundaryInputs
Extracts the largest file b1 from |compaction_files| and then searches for a b2 in |level_files| for which user_key(u1) = user_key(l2). If it finds su
db/version_set.cc:1420
↓ 11 callersMethodAddKey
此时的 key 为 InternalKey,也就是在尾部追加了 `Sequence Number | Value Type` 的结果 */
table/filter_block.cc:37
↓ 11 callersFunctionGetLengthPrefixedSlice
db/memtable.cc:14
↓ 11 callersMethodGetSnapshot
db/db_test.cc:2077
↓ 11 callersFunctionGetVarint32Ptr
util/coding.h:130
↓ 11 callersFunctionHash
util/hash.cc:22
↓ 11 callersFunctionPutLengthPrefixedSlice
PutLengthPrefixedSlice 只针对于 uint32_t,将 value.size 进行编码,并放在 dst 的尾部 * 该方法将会在 WriteBatch::Put() 方法中被调用 */
util/coding.cc:78
↓ 11 callersFunctionPutVarint64
util/coding.cc:70
↓ 11 callersMethodRelease
util/cache.cc:262
↓ 11 callersFunctionTableFileName
db/filename.cc:33
↓ 11 callersMethoduser_comparator
db/db_impl.h:154
↓ 11 callersMethodvalue
db/db_test.cc:2133
↓ 10 callersMethodAdd
db/memtable.cc:77
↓ 10 callersFunctionDecodeFixed64
将通过 EncodeFixed64() 函数编码的 char * 转换成 uint64 */
util/coding.h:113
↓ 10 callersFunctionEncodeFixed64
简单地将 unint64 写入至 dst 中,并没有使用 varint */
util/coding.h:84
↓ 10 callersFunctionNewLRUCache
util/cache.cc:399
↓ 10 callersMethodNewSequentialFile
util/env_posix.cc:500
↓ 10 callersMethodOneIn
Randomly returns true ~"1/n" of the time, and false otherwise. REQUIRES: n > 0
util/random.h:53
↓ 10 callersFunctionPutFixed32
util/coding.cc:9
↓ 10 callersMethodToString
table/table_test.cc:551
↓ 10 callersFunctionWalCheckpoint
benchmarks/db_bench_sqlite3.cc:107
next →1–100 of 1,485, ranked by callers