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
↓ 5 callers
Method
Release
Release a resource acquired by a previous call to Acquire() that returned true.
util/env_windows.cc:136
↓ 5 callers
Method
Remove
util/cache.cc:95
↓ 5 callers
Function
RunConcurrent
db/skiplist_test.cc:342
↓ 5 callers
Method
SeekToLast
db/db_iter.cc:303
↓ 5 callers
Method
SetNextFile
db/version_edit.h:51
↓ 5 callers
Method
SleepForMicroseconds
util/env_posix.cc:715
↓ 5 callers
Function
Snappy_Compress
port/port_stdcxx.h:88
↓ 5 callers
Method
Sync
db/fault_injection_test.cc:212
↓ 5 callers
Function
Unmask
Return the crc whose masked representation is masked_crc.
util/crc32c.h:35
↓ 5 callers
Method
Unref
Decrease the reference count. Delete if this is the last reference.
helpers/memenv/memenv.cc:40
↓ 5 callers
Method
Valid
table/two_level_iterator.cc:31
↓ 5 callers
Method
key
table/merger.cc:110
↓ 5 callers
Method
key
util/cache.cc:56
↓ 5 callers
Function
leveldb_open
db/c.cc:168
↓ 5 callers
Method
value
table/block.cc:133
↓ 4 callers
Method
ApproximateMemoryUsage
db/memtable.cc:27
↓ 4 callers
Method
ApproximateSize
db/write_batch.cc:40
↓ 4 callers
Function
ClipToRange
db/db_impl.cc:90
↓ 4 callers
Function
DecodeValue
util/cache_test.cc:25
↓ 4 callers
Method
Delete
db/db_test.cc:323
↓ 4 callers
Method
EncodeTo
table/format.cc:15
↓ 4 callers
Function
EncodeVarint32
将 v 编码成 Varint32 并写入至 dst 指向的地址中,同时返回新的指针地址 */
util/coding.cc:22
↓ 4 callers
Method
FileSize
db/recovery_test.cc:133
↓ 4 callers
Function
FindFile
二分查找,在 files 中找到第一个 largest_key >= key 的索引号 */
db/version_set.cc:88
↓ 4 callers
Function
Free
db/c_test.c:47
↓ 4 callers
Method
Generate
benchmarks/db_bench.cc:178
↓ 4 callers
Method
Get
db/skiplist_test.cc:196
↓ 4 callers
Function
GetLengthPrefixedSlice
util/coding.cc:151
↓ 4 callers
Method
GetProperty
db/db_impl.cc:1444
↓ 4 callers
Method
Insert
db/skiplist.h:420
↓ 4 callers
Method
Iterate
db/write_batch.cc:42
↓ 4 callers
Function
Key1
issues/issue178_test.cc:19
↓ 4 callers
Method
LockFile
util/env_posix.cc:628
↓ 4 callers
Method
Lookup
util/cache_test.cc:43
↓ 4 callers
Function
MakeFileName
db/filename.cc:20
↓ 4 callers
Method
NewAppendableFile
util/env.cc:21
↓ 4 callers
Method
NewAppendableFile
db/fault_injection_test.cc:248
↓ 4 callers
Function
NewErrorIterator
table/iterator.cc:72
↓ 4 callers
Method
NewFileNumber
Allocate and return a new file number
db/version_set.h:207
↓ 4 callers
Method
NewIterator
table/table.cc:208
↓ 4 callers
Method
NewRandomAccessFile
db/db_test.cc:206
↓ 4 callers
Function
PackSequenceAndType
将 Sequence Number 和 Value Type 打包得到一个 8 字节的整型,其中低 8 位为 Value Type。 * 因此 Sequence Number 虽然是一个 uint64_t 的无符号整型,但是其最大值只能取到 1 << 56 - 1,因为在 * InternalK
db/dbformat.cc:19
↓ 4 callers
Method
Read
util/env_posix.cc:114
↓ 4 callers
Function
ReadUint32LE
Reads a little-endian 32-bit integer from a 32-bit-aligned buffer.
util/crc32c.cc:249
↓ 4 callers
Method
RegisterCleanup
table/iterator.cc:26
↓ 4 callers
Method
RemoveDir
util/env.cc:25
↓ 4 callers
Function
SSTTableFileName
db/filename.cc:38
↓ 4 callers
Method
Seek
table/block.cc:164
↓ 4 callers
Method
SeekToFirst
table/table_test.cc:275
↓ 4 callers
Method
SetComparatorName
设置 Comparactor Name,默认为 leveldb.BytewiseComparator */
db/version_edit.h:39
↓ 4 callers
Method
StartThread
util/env_posix.cc:666
↓ 4 callers
Method
TEST_MaxNextLevelOverlappingBytes
db/db_impl.cc:1129
↓ 4 callers
Function
TargetFileSize
db/version_set.cc:24
↓ 4 callers
Method
UnlockFile
util/env_posix.cc:652
↓ 4 callers
Method
Valid
table/merger.cc:29
↓ 4 callers
Method
Valid
table/block.cc:127
↓ 4 callers
Method
Value
util/cache.cc:376
↓ 4 callers
Function
VarintLength
util/coding.cc:83
↓ 4 callers
Method
current_output
db/db_impl.cc:62
↓ 4 callers
Function
leveldb_put
db/c.cc:184
↓ 3 callers
Method
Abandon
table/table_builder.cc:287
↓ 3 callers
Method
Append
table/table_test.cc:100
↓ 3 callers
Function
CompareIterators
db/db_test.cc:2145
↓ 3 callers
Function
CreateRandomString
issues/issue320_test.cc:24
↓ 3 callers
Method
Flush
db/fault_injection_test.cc:196
↓ 3 callers
Method
GetChildren
helpers/memenv/memenv.cc:294
↓ 3 callers
Function
GetInternalKey
db/version_edit.cc:86
↓ 3 callers
Function
GetLevel
db/version_edit.cc:95
↓ 3 callers
Method
GetProperty
db/db_test.cc:2100
↓ 3 callers
Function
GetVarint32
util/coding.cc:110
↓ 3 callers
Function
InfoLogFileName
db/filename.cc:62
↓ 3 callers
Method
Insert
util/cache.cc:267
↓ 3 callers
Function
Key
util/bloom_test.cc:15
↓ 3 callers
Function
LockFileName
db/filename.cc:55
↓ 3 callers
Method
Lookup
util/cache.cc:253
↓ 3 callers
Function
MaxGrandParentOverlapBytes
Maximum bytes of overlaps in grandparent (i.e., level+2) before we stop building a single file in a level->level+1 compaction.
db/version_set.cc:30
↓ 3 callers
Method
MemoryUsage
Returns an estimate of the total memory usage of data allocated by the arena.
util/arena.h:33
↓ 3 callers
Method
NewId
util/cache.cc:379
↓ 3 callers
Method
NewLogger
util/env_posix.cc:689
↓ 3 callers
Method
NewRandomAccessFile
helpers/memenv/memenv.cc:244
↓ 3 callers
Method
NewSequentialFile
Partial implementation of the Env interface.
helpers/memenv/memenv.cc:232
↓ 3 callers
Function
NewTwoLevelIterator
table/two_level_iterator.cc:165
↓ 3 callers
Method
Next
table/table_test.cc:277
↓ 3 callers
Function
NumberString
Construct a string from a number
db/log_test.cc:28
↓ 3 callers
Method
PrevLogNumber
Return the log file number for the log file that is currently being compacted, or zero if there is no such log file.
db/version_set.h:241
↓ 3 callers
Method
Ref
util/cache.cc:218
↓ 3 callers
Method
Release
Release a resource acquired by a previous call to Acquire() that returned true.
util/env_posix.cc:94
↓ 3 callers
Method
ReleaseSnapshot
db/db_impl.cc:1205
↓ 3 callers
Function
RemoveFile
include/leveldb/env.h:365
↓ 3 callers
Method
Reset
table/block_builder.cc:46
↓ 3 callers
Method
Run
db/repair.cc:70
↓ 3 callers
Method
SeekToLast
table/table_test.cc:276
↓ 3 callers
Method
SetCompactPointer
设置 VersionEdit compact_pointers_,只会在 Compaction 的 SetupOtherInputs 以及 * WriteSnapshot 中被调用 */
db/version_edit.h:62
↓ 3 callers
Function
SetCurrentFile
db/filename.cc:123
↓ 3 callers
Method
SetPrevLogNumber
db/version_edit.h:47
↓ 3 callers
Method
Size
helpers/memenv/memenv.cc:57
↓ 3 callers
Function
TempFileName
db/filename.cc:57
↓ 3 callers
Method
Unref
util/cache.cc:226
↓ 3 callers
Function
empty
Return true iff the length of the referenced data is zero
include/leveldb/slice.h:58
↓ 3 callers
Method
input
Return the ith input file at "level()+which" ("which" must be 0 or 1).
db/version_set.h:358
← previous
next →
201–300 of 1,485, ranked by callers