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
↓ 383 callers
Method
size
table/block.h:28
↓ 106 callers
Function
OK
Return a success status.
include/leveldb/status.h:41
↓ 96 callers
Method
ToString
util/status.cc:41
↓ 67 callers
Function
Key
db/db_test.cc:1047
↓ 56 callers
Method
empty
db/snapshot.h:46
↓ 41 callers
Method
Put
db/c.cc:352
↓ 41 callers
Method
TEST_CompactMemTable
db/db_impl.cc:648
↓ 33 callers
Function
Log
util/env.cc:41
↓ 32 callers
Method
Valid
db/skiplist.h:251
↓ 31 callers
Method
Compare
db/dbformat.h:211
↓ 30 callers
Function
Corruption
include/leveldb/status.h:48
↓ 29 callers
Function
IKey
db/dbformat_test.cc:12
↓ 29 callers
Method
key
db/db_iter.cc:64
↓ 28 callers
Method
Next
db/db_iter.cc:141
↓ 26 callers
Function
ErrorCheck
benchmarks/db_bench_sqlite3.cc:100
↓ 26 callers
Method
Uniform
Returns a uniformly distributed value in the range [0..n-1] REQUIRES: n > 0
util/random.h:49
↓ 26 callers
Function
Value
Return the crc32c of data[0,n-1]
util/crc32c.h:20
↓ 25 callers
Function
DestroyDB
db/db_impl.cc:1585
↓ 25 callers
Method
KeyMayMatch
table/filter_block_test.cc:28
↓ 25 callers
Function
PosixError
util/env_posix.cc:60
↓ 24 callers
Function
IOError
include/leveldb/status.h:57
↓ 24 callers
Method
NewIterator
db/db_impl.cc:1181
↓ 24 callers
Method
Next
db/db_test.cc:2130
↓ 23 callers
Function
WindowsError
util/env_windows.cc:65
↓ 22 callers
Function
BytewiseComparator
util/comparator.cc:70
↓ 22 callers
Function
NumberToString
util/logging.cc:37
↓ 22 callers
Method
TEST_CompactRange
db/db_impl.cc:609
↓ 21 callers
Function
AppendNumberTo
util/logging.cc:17
↓ 21 callers
Function
Between
db/db_test.cc:1187
↓ 21 callers
Function
BigString
Construct a string of the specified length made out of the supplied partial string.
db/log_test.cc:18
↓ 21 callers
Function
ConsumeDecimalNumberRoundtripTest
util/logging_test.cc:40
↓ 21 callers
Method
GetTestDirectory
util/env_posix.cc:672
↓ 20 callers
Method
Append
db/write_batch.cc:111
↓ 20 callers
Function
ParseFileName
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 callers
Method
Prev
db/db_test.cc:2131
↓ 20 callers
Method
Unref
db/version_set.cc:464
↓ 18 callers
Function
CheckGet
db/c_test.c:54
↓ 18 callers
Function
EscapeString
util/logging.cc:43
↓ 18 callers
Method
NowMicros
util/env_posix.cc:708
↓ 18 callers
Function
PutVarint32
PutVarint32 和 EncodeVarint32 不同,PutVarint32 会把 varint 结果写到 dst 的尾部 */
util/coding.cc:51
↓ 18 callers
Function
RandomString
db/db_test.cc:30
↓ 18 callers
Method
Ref
db/version_set.cc:462
↓ 18 callers
Method
RemoveFile
util/env.cc:28
↓ 18 callers
Method
RemoveFile
db/fault_injection_test.cc:301
↓ 18 callers
Method
Valid
db/db_test.cc:2118
↓ 17 callers
Method
ApproximateOffsetOf
table/table_test.cc:240
↓ 17 callers
Function
Between
table/table_test.cc:748
↓ 17 callers
Method
SeekToFirst
db/db_iter.cc:292
↓ 17 callers
Method
Wait
port/port_stdcxx.h:75
↓ 17 callers
Method
get
util/env_windows.cc:98
↓ 17 callers
Method
user_key
Return the user key User Key 的话需要刨去最后的 (Sequence Number << 8) | Value Type */
db/dbformat.h:261
↓ 16 callers
Function
StartPhase
db/c_test.c:14
↓ 15 callers
Function
DecodeFixed32
将通过 EncodeFixed32() 函数编码的 char * 转换成 uint32 */
util/coding.h:102
↓ 15 callers
Method
Encode
db/dbformat.h:194
↓ 15 callers
Method
GetChildren
db/db_test.cc:78
↓ 15 callers
Method
Seek
db/db_test.cc:2127
↓ 14 callers
Method
Add
table/table_test.cc:440
↓ 14 callers
Method
Get
db/db_impl.cc:1134
↓ 14 callers
Method
SeekToFirst
db/db_test.cc:2119
↓ 14 callers
Function
ToString
Return a string that contains the copy of the referenced data.
include/leveldb/slice.h:81
↓ 14 callers
Method
key
db/db_test.cc:2132
↓ 14 callers
Method
level
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 callers
Function
ConsumeDecimalNumberOverflowTest
util/logging_test.cc:93
↓ 13 callers
Function
ExtractUserKey
Returns the user key portion of an internal key.
db/dbformat.h:138
↓ 13 callers
Method
FinishedSingleOp
benchmarks/db_bench.cc:274
↓ 13 callers
Function
ParseInternalKey
db/dbformat.h:216
↓ 13 callers
Method
Read
helpers/memenv/memenv.cc:71
↓ 13 callers
Method
ReleaseSnapshot
db/db_test.cc:2083
↓ 13 callers
Method
compare
include/leveldb/slice.h:109
↓ 13 callers
Method
value
db/db_iter.cc:68
↓ 12 callers
Method
DecodeFrom
db/version_edit.cc:105
↓ 12 callers
Method
Delete
db/c.cc:355
↓ 12 callers
Method
FileExists
util/env_posix.cc:571
↓ 12 callers
Function
MakeKey
db/db_test.cc:2298
↓ 12 callers
Method
NewIterator
db/db_test.cc:2066
↓ 12 callers
Function
RandomSeed
Returns the random seed used at the start of the current test run.
util/testutil.h:28
↓ 12 callers
Method
Valid
table/table_test.cc:268
↓ 12 callers
Method
Valid
db/db_iter.cc:63
↓ 12 callers
Method
slice
benchmarks/db_bench.cc:202
↓ 11 callers
Function
AddBoundaryInputs
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 callers
Method
AddKey
此时的 key 为 InternalKey,也就是在尾部追加了 `Sequence Number | Value Type` 的结果 */
table/filter_block.cc:37
↓ 11 callers
Function
GetLengthPrefixedSlice
db/memtable.cc:14
↓ 11 callers
Method
GetSnapshot
db/db_test.cc:2077
↓ 11 callers
Function
GetVarint32Ptr
util/coding.h:130
↓ 11 callers
Function
Hash
util/hash.cc:22
↓ 11 callers
Function
PutLengthPrefixedSlice
PutLengthPrefixedSlice 只针对于 uint32_t,将 value.size 进行编码,并放在 dst 的尾部 * 该方法将会在 WriteBatch::Put() 方法中被调用 */
util/coding.cc:78
↓ 11 callers
Function
PutVarint64
util/coding.cc:70
↓ 11 callers
Method
Release
util/cache.cc:262
↓ 11 callers
Function
TableFileName
db/filename.cc:33
↓ 11 callers
Method
user_comparator
db/db_impl.h:154
↓ 11 callers
Method
value
db/db_test.cc:2133
↓ 10 callers
Method
Add
db/memtable.cc:77
↓ 10 callers
Function
DecodeFixed64
将通过 EncodeFixed64() 函数编码的 char * 转换成 uint64 */
util/coding.h:113
↓ 10 callers
Function
EncodeFixed64
简单地将 unint64 写入至 dst 中,并没有使用 varint */
util/coding.h:84
↓ 10 callers
Function
NewLRUCache
util/cache.cc:399
↓ 10 callers
Method
NewSequentialFile
util/env_posix.cc:500
↓ 10 callers
Method
OneIn
Randomly returns true ~"1/n" of the time, and false otherwise. REQUIRES: n > 0
util/random.h:53
↓ 10 callers
Function
PutFixed32
util/coding.cc:9
↓ 10 callers
Method
ToString
table/table_test.cc:551
↓ 10 callers
Function
WalCheckpoint
benchmarks/db_bench_sqlite3.cc:107
next →
1–100 of 1,485, ranked by callers