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
↓ 2 callers
Function
leveldb_writeoptions_set_sync
db/c.cc:520
↓ 2 callers
Method
reset
benchmarks/db_bench.cc:149
↓ 2 callers
Function
size
Return the length (in bytes) of the referenced data
include/leveldb/slice.h:55
↓ 2 callers
Method
status
table/table_builder.cc:224
↓ 2 callers
Method
status
db/db_test.cc:2134
↓ 2 callers
Method
value
table/table_test.cc:290
↓ 1 callers
Function
ASSERT_EXCLUSIVE_LOCK
port/port_stdcxx.h:58
↓ 1 callers
Method
Acquire
If another resource is available, acquire it and return true. Else return false.
util/env_windows.cc:124
↓ 1 callers
Method
AddInputDeletions
db/version_set.cc:1570
↓ 1 callers
Method
AddIterators
db/version_set.cc:238
↓ 1 callers
Function
AfterFile
db/version_set.cc:108
↓ 1 callers
Method
Append
db/db_test.cc:144
↓ 1 callers
Method
Append
db/fault_injection_test.cc:179
↓ 1 callers
Method
BackgroundCall
db/db_impl.cc:695
↓ 1 callers
Method
BackgroundThreadMain
从 background_work_queue_ 中取出一个任务并执行,由于任务队列并没有最大数量限制,所以不需要 * 在取出数据以后 notify 其它线程,一个很简易的实现 */
util/env_posix.cc:808
↓ 1 callers
Method
BackgroundThreadMain
util/env_windows.cc:712
↓ 1 callers
Function
Cache
include/leveldb/cache.h:38
↓ 1 callers
Function
CanAccelerateCRC32C
Determine if the CPU running this program can accelerate the CRC32C calculation.
util/crc32c.cc:267
↓ 1 callers
Method
Close
helpers/memenv/memenv.cc:208
↓ 1 callers
Method
Compare
table/table_test.cc:45
↓ 1 callers
Method
Compare
db/db_test.cc:1535
↓ 1 callers
Function
CopyString
db/c.cc:161
↓ 1 callers
Method
Corruption
db/repair.cc:148
↓ 1 callers
Method
CreateFilter
table/filter_block_test.cc:21
↓ 1 callers
Method
CreateFilter
util/bloom.cc:29
↓ 1 callers
Method
CurrentSizeEstimate
返回 Block 未压缩之前的大小 */
table/block_builder.cc:56
↓ 1 callers
Function
DB
include/leveldb/db.h:67
↓ 1 callers
Function
DecodeKey
util/cache_test.cc:20
↓ 1 callers
Method
Delete
db/write_batch.cc:105
↓ 1 callers
Method
Delete
db/db_impl.cc:1215
↓ 1 callers
Method
DirWasSynced
db/fault_injection_test.cc:283
↓ 1 callers
Method
DropUnsyncedData
db/fault_injection_test.cc:359
↓ 1 callers
Method
DropUnsyncedFileData
db/fault_injection_test.cc:268
↓ 1 callers
Function
DumpDescriptor
db/dumpfile.cc:143
↓ 1 callers
Function
DumpFile
db/dumpfile.cc:214
↓ 1 callers
Function
DumpLog
db/dumpfile.cc:122
↓ 1 callers
Function
DumpTable
db/dumpfile.cc:147
↓ 1 callers
Function
EncodeKey
Encode a suitable internal key target for "target" and return it. Uses *scratch as scratch space, and the returned pointer will point into this scratc
db/memtable.cc:40
↓ 1 callers
Function
EncodeVarint64
注意,该方法调用后 dst 指针将会向后移动 1~10 字节,具体取决于 varint 编码大小 */
util/coding.cc:59
↓ 1 callers
Function
Env
include/leveldb/env.h:55
↓ 1 callers
Method
Evict
db/table_cache.cc:114
↓ 1 callers
Function
ExpandedCompactionByteSizeLimit
Maximum number of bytes in all compacted files. We avoid expanding the lower level file set of a compaction if it would make the total compaction cov
db/version_set.cc:37
↓ 1 callers
Function
FileLock
include/leveldb/env.h:311
↓ 1 callers
Method
FileSize
table/table_builder.cc:295
↓ 1 callers
Method
FindGreaterOrEqual
db/skiplist.h:335
↓ 1 callers
Function
FindLargestKey
Finds the largest key in a vector of files. Returns true if files it not empty. * 获取某一个 level 中最大的 InternalKey */
db/version_set.cc:1366
↓ 1 callers
Method
FindLast
db/skiplist.h:388
↓ 1 callers
Method
FindLessThan
db/skiplist.h:365
↓ 1 callers
Method
FindShortSuccessor
table/table_test.cc:57
↓ 1 callers
Method
FindShortSuccessor
db/dbformat.cc:88
↓ 1 callers
Method
FindShortestSeparator
table/table_test.cc:49
↓ 1 callers
Method
FindShortestSeparator
db/dbformat.cc:69
↓ 1 callers
Function
FindSmallestBoundaryFile
Finds minimum file b2=(l2, u2) in level file for which l2 > u1 and user_key(l2) = user_key(u1)
db/version_set.cc:1384
↓ 1 callers
Method
Finish
table/table_builder.cc:226
↓ 1 callers
Method
Flush
helpers/memenv/memenv.cc:209
↓ 1 callers
Method
Flush
util/env_posix.cc:304
↓ 1 callers
Method
Flush
db/db_test.cc:153
↓ 1 callers
Method
Generate
benchmarks/db_bench_tree_db.cc:107
↓ 1 callers
Method
Generate
benchmarks/db_bench_sqlite3.cc:140
↓ 1 callers
Method
Get
db/db_test.cc:325
↓ 1 callers
Method
Get
db/version_set.cc:333
↓ 1 callers
Method
GetApproximateSizes
db/db_test.cc:2103
↓ 1 callers
Function
GetFileSize
include/leveldb/env.h:374
↓ 1 callers
Function
GetHeapProfile
port/port_stdcxx.h:131
↓ 1 callers
Function
GetMaxFileDescriptor
File descriptors are small non-negative integers. Returns void so the implementation can use ASSERT_EQ.
util/env_posix_test.cc:79
↓ 1 callers
Function
GetNewlyOpenedFileDescriptor
Finds an FD open since a previous call to GetOpenFileDescriptors(). |baseline_open_fds| is the result of a previous GetOpenFileDescriptors() call. As
util/env_posix_test.cc:113
↓ 1 callers
Method
GetTestDirectory
helpers/memenv/memenv.cc:368
↓ 1 callers
Function
GetVarint32PtrFallback
util/coding.cc:92
↓ 1 callers
Function
GuessType
db/dumpfile.cc:26
↓ 1 callers
Function
HandleDumpCommand
db/leveldbutil.cc:25
↓ 1 callers
Function
Increment
table/table_test.cc:66
↓ 1 callers
Method
Increment
db/db_test.cc:47
↓ 1 callers
Method
Insert
util/cache_test.cc:52
↓ 1 callers
Method
InternalGet
table/table.cc:214
↓ 1 callers
Method
IsFileCreatedSinceLastDirSync
db/fault_injection_test.cc:288
↓ 1 callers
Method
IsFullySynced
db/fault_injection_test.cc:99
↓ 1 callers
Method
IsTrivialMove
db/version_set.cc:1560
↓ 1 callers
Function
Iterator
include/leveldb/iterator.h:28
↓ 1 callers
Method
KeyMayMatch
table/filter_block.cc:112
↓ 1 callers
Method
KeyMayMatch
util/bloom.cc:57
↓ 1 callers
Function
LockFile
include/leveldb/env.h:380
↓ 1 callers
Method
LockFile
helpers/memenv/memenv.cc:358
↓ 1 callers
Function
Logger
include/leveldb/env.h:297
↓ 1 callers
Method
Logv
util/posix_logger.h:33
↓ 1 callers
Method
MakeInputIterator
db/version_set.cc:1265
↓ 1 callers
Method
ManifestFileNumber
Return the current manifest file number
db/version_set.h:204
↓ 1 callers
Method
MarkFileNumberUsed
db/version_set.cc:1068
↓ 1 callers
Function
MaxBytesForLevel
db/version_set.cc:41
↓ 1 callers
Function
MaxMmaps
Return the maximum number of concurrent mmaps.
util/env_posix.cc:753
↓ 1 callers
Function
MaxMmaps
Return the maximum number of concurrent mmaps.
util/env_windows.cc:684
↓ 1 callers
Method
MaxNextLevelOverlappingBytes
db/version_set.cc:1213
↓ 1 callers
Function
MaxOpenFiles
Return the maximum number of read-only files to keep open.
util/env_posix.cc:756
↓ 1 callers
Method
MaxOutputFileSize
Maximum size of files to build during this compaction.
db/version_set.h:361
↓ 1 callers
Method
MaybeScheduleCompaction
Compaction 入口函数 */
db/db_impl.cc:673
↓ 1 callers
Method
Merge
benchmarks/db_bench.cc:255
↓ 1 callers
Method
NeedsCompaction
Returns true iff some level needs a compaction.
db/version_set.h:265
↓ 1 callers
Method
New
Creates a SnapshotImpl and appends it to the end of the list.
db/snapshot.h:57
↓ 1 callers
Method
NewAppendableFile
helpers/memenv/memenv.cc:276
↓ 1 callers
Function
NewDBIterator
db/db_iter.cc:312
↓ 1 callers
Method
NewWritableFile
db/fault_injection_test.cc:230
← previous
next →
401–500 of 1,485, ranked by callers