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

↓ 10 callersMethoditer
table/iterator_wrapper.h:22
↓ 10 callersMethodstatus
db/db_iter.cc:72
↓ 9 callersMethodClear
db/write_batch.cc:35
↓ 9 callersMethodDebugString
db/dbformat.cc:30
↓ 9 callersFunctionGetVarint64
util/coding.cc:139
↓ 9 callersFunctionMask
Return a masked representation of crc. Motivation: it is problematic to compute the CRC of a string that contains embedded CRCs. Therefore we recomm
util/crc32c.h:29
↓ 9 callersMethodNewWritableFile
db/db_test.cc:135
↓ 9 callersMethodPut
db/db_test.cc:319
↓ 9 callersFunctionReverse
Return reverse of "key". Used to test non-lexicographic comparators.
table/table_test.cc:28
↓ 9 callersFunctionSaveError
db/c.cc:147
↓ 9 callersMethodSeek
db/db_iter.cc:278
↓ 9 callersMethodSeekToLast
db/db_test.cc:2120
↓ 9 callersMethodStartBlock
table/filter_block.cc:21
↓ 9 callersMethodWrite
leveldb Write 实现,过程如下: * 1. 循环检测 leveldb 的状态,包括 Level-0 的文件个数、MemTable 是否已满等信息,将在 * MakeRoomForWrite() 调用中完成,该函数可能会被阻塞。 * 2. 设置 WriteBatch 的 Seq
db/db_impl.cc:1226
↓ 9 callersFunctionWriteStringToFile
util/env.cc:71
↓ 9 callersMethodcurrent
Return the current version.
db/version_set.h:201
↓ 8 callersMethodAddFile
Add the specified file at the specified number. REQUIRES: This version has not been saved (see VersionSet::SaveTo) REQUIRES: "smallest" and "largest"
db/version_edit.h:69
↓ 8 callersMethodAddMessage
benchmarks/db_bench.cc:272
↓ 8 callersFunctionAppendEscapedStringTo
util/logging.cc:23
↓ 8 callersFunctionCheckEqual
db/c_test.c:31
↓ 8 callersFunctionConsumeDecimalNumberNoDigitsTest
util/logging_test.cc:120
↓ 8 callersFunctionDelayMilliseconds
db/db_test.cc:66
↓ 8 callersFunctionEncodeKey
Conversions between numeric keys/values and the types expected by Cache.
util/cache_test.cc:15
↓ 8 callersMethodGetFileSize
util/env_posix.cc:611
↓ 8 callersFunctionLogFileName
db/filename.cc:28
↓ 8 callersMethodNewIterator
table/table_test.cc:347
↓ 8 callersMethodSchedule
Schedule 方法比较简单,只是将对应的任务函数和函数参数推入至工作队列中,由 BackgroundThreadMain() * 方法取出任务并执行 */
util/env_posix.cc:783
↓ 8 callersMethodSet
benchmarks/db_bench.cc:197
↓ 8 callersFunctionShorten
db/dbformat_test.cc:19
↓ 8 callersMethodSignal
port/port_stdcxx.h:80
↓ 8 callersMethodSkewed
Skewed: pick "base" uniformly from range [0,max_log] and then return "base" random bits. The effect is to pick a number in the range [0,2^max_log-1]
util/random.h:58
↓ 8 callersFunctionTotalFileSize
db/version_set.cc:59
↓ 8 callersFunctionok
Returns true iff the status indicates success.
include/leveldb/status.h:62
↓ 8 callersFunctiontarget
Return the target to which this Env forwards all calls.
include/leveldb/env.h:342
↓ 7 callersMethodAddRecord
db/log_writer.cc:34
↓ 7 callersMethodAppend
helpers/memenv/memenv.cc:108
↓ 7 callersMethodClear
util/histogram.cc:171
↓ 7 callersMethodClose
util/env_windows.cc:85
↓ 7 callersMethodClose
db/db_test.cc:292
↓ 7 callersFunctionConsumeDecimalNumber
util/logging.cc:49
↓ 7 callersFunctionDBSynchronize
benchmarks/db_bench_tree_db.cc:75
↓ 7 callersFunctionGetOpenFileDescriptors
Iterates through all possible FDs and returns the currently open ones. Returns void so the implementation can use ASSERT_EQ.
util/env_posix_test.cc:89
↓ 7 callersMethodGetOverlappingInputs
Store in "*inputs" all files in "level" that overlap [begin,end]
db/version_set.cc:518
↓ 7 callersFunctionInvalidArgument
include/leveldb/status.h:54
↓ 7 callersMethodNewWritableFile
util/testutil.h:58
↓ 7 callersFunctionNotFound
Return error status of an appropriate type. msg2 通常用于存储系统调用所返回的错误码,也就是 errno
include/leveldb/status.h:45
↓ 7 callersFunctionPrintContents
db/write_batch_test.cc:14
↓ 7 callersFunctionPutFixed64
util/coding.cc:15
↓ 7 callersMethodReadRecord
db/log_reader.cc:56
↓ 7 callersMethodRenameFile
db/fault_injection_test.cc:310
↓ 7 callersMethodSetLogNumber
db/version_edit.h:43
↓ 7 callersFunctionStatus
include/leveldb/status.h:37
↓ 7 callersFunctioncode
include/leveldb/status.h:93
↓ 7 callersMethodempty
判断 buffer_ 是否为空 */
table/block_builder.h:37
↓ 7 callersMethodnum_input_files
"which" must be either 0 or 1
db/version_set.h:355
↓ 6 callersMethodAddBytes
benchmarks/db_bench.cc:307
↓ 6 callersMethodAppend
util/env_posix.cc:265
↓ 6 callersFunctionCheckCloseOnExecDoesNotLeakFDs
Check that a fork()+exec()-ed child process does not have an extra open FD.
util/env_posix_test.cc:128
↓ 6 callersMethodCompactRange
db/db_impl.cc:592
↓ 6 callersMethodCreateDir
util/env_posix.cc:597
↓ 6 callersFunctionCurrentFileName
db/filename.cc:51
↓ 6 callersFunctionEncodeFixed32
简单地将 unint32 写入至 dst 中,并没有使用 varint */
util/coding.h:55
↓ 6 callersMethodEncodeTo
db/version_edit.cc:41
↓ 6 callersFunctionExecErrorCheck
benchmarks/db_bench_sqlite3.cc:85
↓ 6 callersMethodFinish
table/filter_block.cc:44
↓ 6 callersMethodGetFileSize
helpers/memenv/memenv.cc:335
↓ 6 callersMethodLastSequence
Return the last sequence number.
db/version_set.h:225
↓ 6 callersMethodLogAndApply
db/version_set.cc:819
↓ 6 callersFunctionNewBloomFilterPolicy
创建一个 BloomFilterPolicy 对象,bits_per_key 一般取 10 */
util/bloom.cc:90
↓ 6 callersMethodPrev
db/db_iter.cc:209
↓ 6 callersFunctionRandomKey
db/db_test.cc:36
↓ 6 callersFunctionRepairDB
db/repair.cc:446
↓ 6 callersMethodSetLastSequence
Set the last sequence number to s.
db/version_set.h:228
↓ 6 callersMethodSignalAll
port/port_stdcxx.h:81
↓ 6 callersFunctionStepErrorCheck
benchmarks/db_bench_sqlite3.cc:93
↓ 6 callersMethodedit
Return the object that holds the edits to the descriptor done by this compaction.
db/version_set.h:352
↓ 6 callersMethodis_valid
util/env_windows.cc:94
↓ 6 callersMethodkey
db/skiplist_test.cc:156
↓ 6 callersMethodoffset
The offset of the block in the file.
table/format.h:32
↓ 5 callersFunctionAppendInternalKey
db/dbformat.cc:25
↓ 5 callersFunctionCheckIter
db/c_test.c:68
↓ 5 callersMethodCompare
table/block.cc:91
↓ 5 callersMethodCompare
db/dbformat.cc:51
↓ 5 callersFunctionCompressibleString
util/testutil.cc:34
↓ 5 callersMethodDecodeFrom
table/format.cc:23
↓ 5 callersFunctionDescriptorFileName
db/filename.cc:43
↓ 5 callersFunctionExtend
util/crc32c.cc:276
↓ 5 callersMethodFileExists
helpers/memenv/memenv.cc:289
↓ 5 callersMethodFinish
Finish constructing the data structure with all the keys that have been added so far. Returns the keys in sorted order in "*keys" and stores the key/
table/table_test.cc:151
↓ 5 callersFunctionGenerateRandomNumber
Creates a random number in the range of [0, max).
issues/issue320_test.cc:22
↓ 5 callersFunctionGetVarint64Ptr
util/coding.cc:122
↓ 5 callersFunctionGetWindowsErrorMessage
util/env_windows.cc:48
↓ 5 callersMethodName
db/dbformat.cc:47
↓ 5 callersMethodNewRandomAccessFile
util/env_posix.cc:512
↓ 5 callersMethodNewWritableFile
helpers/memenv/memenv.cc:256
↓ 5 callersMethodNext
db/skiplist.h:262
↓ 5 callersMethodNumLevelFiles
db/version_set.cc:1145
↓ 5 callersFunctionReadBlock
table/format.cc:64
↓ 5 callersFunctionReadFileToString
util/env.cc:81
↓ 5 callersMethodRef
Increase the reference count.
helpers/memenv/memenv.cc:34
← previousnext →101–200 of 1,485, ranked by callers