Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SKeyerror/reading-source-code-of-leveldb-1.23
/ functions
Functions
1,485 in github.com/SKeyerror/reading-source-code-of-leveldb-1.23
⨍
Functions
1,485
◇
Types & classes
330
↓ 3 callers
Function
leveldb_close
db/c.cc:179
↓ 3 callers
Function
leveldb_compact_range
db/c.cc:263
↓ 3 callers
Function
leveldb_iter_valid
db/c.cc:288
↓ 3 callers
Function
leveldb_options_set_create_if_missing
db/c.cc:385
↓ 3 callers
Function
leveldb_options_set_error_if_exists
db/c.cc:389
↓ 3 callers
Function
leveldb_writebatch_put
db/c.cc:332
↓ 3 callers
Method
sequence_number
db/snapshot.h:22
↓ 2 callers
Function
AcceleratedCRC32C
port/port_stdcxx.h:138
↓ 2 callers
Method
Acquire
If another resource is available, acquire it and return true. Else return false.
util/env_posix.cc:82
↓ 2 callers
Method
Add
此时的 key 仍然为 InternalKey,也就是 User Key + Sequence Number | Value Type */
table/table_builder.cc:95
↓ 2 callers
Method
AddLiveFiles
db/version_set.cc:1195
↓ 2 callers
Method
Allocate
util/arena.h:55
↓ 2 callers
Method
AllocateAligned
util/arena.cc:38
↓ 2 callers
Function
AppendWithSpace
benchmarks/db_bench.cc:222
↓ 2 callers
Method
Apply
Apply all of the edits in *edit to the current state.
db/version_set.cc:667
↓ 2 callers
Method
ApproximateOffsetOf
db/version_set.cc:1163
↓ 2 callers
Function
BeforeFile
db/version_set.cc:115
↓ 2 callers
Function
BloomHash
util/bloom.cc:13
↓ 2 callers
Function
BuildTable
* BuildTable 除了 Build New SSTable 之外,还会使用 meta 指针记录下 New SSTable 的元信息, * */
db/builder.cc:20
↓ 2 callers
Method
CompactRange
db/db_test.cc:2108
↓ 2 callers
Method
Contains
db/skiplist.h:454
↓ 2 callers
Method
Corruption
null if options_.paranoid_checks==false
db/db_impl.cc:393
↓ 2 callers
Function
CreateDir
include/leveldb/env.h:368
↓ 2 callers
Method
CreateDir
helpers/memenv/memenv.cc:331
↓ 2 callers
Method
DebugString
db/version_set.cc:560
↓ 2 callers
Function
DecodeEntry
Helper routine: decode the next block entry starting at "p", storing the number of shared key bytes, non_shared key bytes, and the length of the value
table/block.cc:55
↓ 2 callers
Function
DoWriteStringToFile
util/env.cc:50
↓ 2 callers
Function
EncodeValue
util/cache_test.cc:24
↓ 2 callers
Method
Erase
util/cache.cc:319
↓ 2 callers
Method
GetApproximateSizes
db/db_impl.cc:1506
↓ 2 callers
Function
GetArgvZero
Global set by main() and read in TestCloseOnExec. The argv[0] value is stored in a std::vector instead of a std::string because std::string does not
util/env_posix_test.cc:38
↓ 2 callers
Function
GetDirName
Assume a filename, and not a directory name like "/foo/bar/"
db/fault_injection_test.cc:39
↓ 2 callers
Method
GetSnapshot
db/db_impl.cc:1200
↓ 2 callers
Function
InitTypeCrc
db/log_writer.cc:16
↓ 2 callers
Method
IsBaseLevelForKey
db/version_set.cc:1578
↓ 2 callers
Method
IsEmpty
True if the node is not used. Only head nodes might be unused.
include/leveldb/iterator.h:88
↓ 2 callers
Function
Key2
issues/issue178_test.cc:25
↓ 2 callers
Method
LastRecordOffset
db/log_reader.cc:176
↓ 2 callers
Method
LevelSummary
db/version_set.cc:1151
↓ 2 callers
Function
LockOrUnlock
util/env_posix.cc:439
↓ 2 callers
Function
LockOrUnlock
Lock or unlock the entire file as specified by |lock|. Returns true when successful, false upon failure. Caller should call ::GetLastError() to determ
util/env_windows.cc:336
↓ 2 callers
Method
LogNumber
Return the current log file number.
db/version_set.h:237
↓ 2 callers
Function
MaxFileSizeForLevel
db/version_set.cc:54
↓ 2 callers
Function
Mutex
port/port_stdcxx.h:53
↓ 2 callers
Method
Name
table/table_test.cc:41
↓ 2 callers
Function
NewEmptyIterator
table/iterator.cc:70
↓ 2 callers
Function
NewMemEnv
helpers/memenv/memenv.cc:388
↓ 2 callers
Function
NewMergingIterator
table/merger.cc:179
↓ 2 callers
Method
NumEntries
table/table_builder.cc:293
↓ 2 callers
Function
OldInfoLogFileName
Return the name of the old info log file for "dbname".
db/filename.cc:67
↓ 2 callers
Method
Prev
table/table_test.cc:278
↓ 2 callers
Function
PrintLogContents
Print contents of a log file. (*func)() is called on every record.
db/dumpfile.cc:54
↓ 2 callers
Method
Prune
util/cache.cc:324
↓ 2 callers
Function
RandomSkewedString
Return a skewed potentially long string
db/log_test.cc:35
↓ 2 callers
Function
RandomString
util/testutil.cc:14
↓ 2 callers
Method
Read
table/table_test.cc:118
↓ 2 callers
Method
Read
db/log_test.cc:64
↓ 2 callers
Method
Read
db/db_test.cc:216
↓ 2 callers
Method
ReadStep
db/skiplist_test.cc:226
↓ 2 callers
Method
Recover
db/db_impl.cc:292
↓ 2 callers
Method
RemoveFile
helpers/memenv/memenv.cc:321
↓ 2 callers
Method
RenameFile
helpers/memenv/memenv.cc:345
↓ 2 callers
Function
SanitizeOptions
db/db_impl.cc:94
↓ 2 callers
Method
SaveTo
Save the current state in *v.
db/version_set.cc:714
↓ 2 callers
Method
Seek
table/merger.cc:47
↓ 2 callers
Method
Seek
table/table_test.cc:269
↓ 2 callers
Method
Set
Takes ownership of "iter" and will delete it when destroyed, or when Set() is invoked again.
table/iterator_wrapper.h:26
↓ 2 callers
Method
Set
db/skiplist_test.cc:193
↓ 2 callers
Method
SetNext
db/skiplist.h:208
↓ 2 callers
Function
ShortSuccessor
db/dbformat_test.cc:25
↓ 2 callers
Method
Skip
helpers/memenv/memenv.cc:168
↓ 2 callers
Function
Snappy_Uncompress
port/port_stdcxx.h:119
↓ 2 callers
Function
SomeFileOverlapsRange
* SomeFileOverlapsRange() 做的事情其实就是判断 New SSTable 和当前 level 是否存在重叠的 Key。 * * disjoint_sorted_files 表示是否互斥,只有在计算 level 0 时该值为 false,其余情况为 true; * fil
db/version_set.cc:128
↓ 2 callers
Method
Start
benchmarks/db_bench.cc:245
↓ 2 callers
Method
Sync
util/env_posix.cc:306
↓ 2 callers
Function
TableBuilder
include/leveldb/table_builder.h:37
↓ 2 callers
Function
TestEncodeDecode
db/version_edit_test.cc:11
↓ 2 callers
Function
TestKey
db/dbformat_test.cc:31
↓ 2 callers
Method
TotalCharge
util/cache.cc:167
↓ 2 callers
Function
TrimSpace
benchmarks/db_bench_tree_db.cc:117
↓ 2 callers
Function
TrimSpace
benchmarks/db_bench.cc:209
↓ 2 callers
Function
TrimSpace
benchmarks/db_bench_sqlite3.cc:150
↓ 2 callers
Function
Truncate
A basic file truncation function suitable for this test.
db/fault_injection_test.cc:54
↓ 2 callers
Function
Usage
db/leveldbutil.cc:41
↓ 2 callers
Method
Value
Return the value to associate with the specified key
db/corruption_test.cc:179
↓ 2 callers
Method
Write
benchmarks/db_bench_tree_db.cc:428
↓ 2 callers
Method
Write
db/db_test.cc:2086
↓ 2 callers
Method
WriteStep
REQUIRES: External synchronization
db/skiplist_test.cc:218
↓ 2 callers
Method
fd
util/env_posix.cc:456
↓ 2 callers
Method
key
table/table_test.cc:280
↓ 2 callers
Method
key
table/block.cc:129
↓ 2 callers
Method
key
db/memtable.cc:62
↓ 2 callers
Function
leveldb_destroy_db
db/c.cc:273
↓ 2 callers
Function
leveldb_free
db/c.cc:559
↓ 2 callers
Function
leveldb_iter_prev
db/c.cc:306
↓ 2 callers
Function
leveldb_options_set_filter_policy
db/c.cc:380
↓ 2 callers
Function
leveldb_property_value
db/c.cc:238
↓ 2 callers
Function
leveldb_readoptions_set_snapshot
db/c.cc:509
↓ 2 callers
Function
leveldb_writebatch_create
db/c.cc:324
↓ 2 callers
Function
leveldb_writebatch_destroy
db/c.cc:328
← previous
next →
301–400 of 1,485, ranked by callers