Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fullstop000/wickdb
/ functions
Functions
886 in github.com/Fullstop000/wickdb
⨍
Functions
886
◇
Types & classes
135
↓ 2 callers
Function
new_mem_table
()
src/mem/mod.rs:253
↓ 2 callers
Function
new_table_iterator
Create a new `ConcatenateIterator` as table iterator. This iterator is able to yield all the key/values in the given `table` file Entry format: key:
src/sstable/table.rs:242
↓ 2 callers
Function
new_test_block
()
src/sstable/block.rs:485
↓ 2 callers
Function
new_test_file_meta_data
(number: u64)
src/version/version_set.rs:1427
↓ 2 callers
Function
new_test_options
(o: TestOption)
src/db/mod.rs:1541
↓ 2 callers
Method
next
(&mut self)
src/mem/mod.rs:211
↓ 2 callers
Method
num_entries
(&self)
src/sstable/table.rs:474
↓ 2 callers
Method
num_sst_files_at_level
(&self, level: usize)
src/db/mod.rs:1778
↓ 2 callers
Function
num_to_string
Construct a String from a number
src/record/mod.rs:86
↓ 2 callers
Method
parse_key
Parse internal key from inner iterator into a `ParsedInternalKey` otherwise records a corruption error
src/db/iterator.rs:201
↓ 2 callers
Method
pos_and_data
(&self)
src/storage/mem.rs:617
↓ 2 callers
Method
prev
(&mut self)
src/mem/skiplist.rs:318
↓ 2 callers
Method
prev_log_number
(&self)
src/version/version_set.rs:243
↓ 2 callers
Function
rand_height
Generate a random height < MAX_HEIGHT for node
src/mem/skiplist.rs:361
↓ 2 callers
Function
random_compaction_period
Picks the number of bytes that can be read until a compaction is scheduled
src/db/iterator.rs:315
↓ 2 callers
Function
random_target
()
src/mem/skiplist.rs:674
↓ 2 callers
Method
read
(&mut self, buf: &mut [u8])
src/storage/file.rs:117
↓ 2 callers
Method
read_at
(&self, buf: &mut [u8], offset: u64)
src/storage/mem.rs:485
↓ 2 callers
Method
read_step
(&self)
src/mem/skiplist.rs:741
↓ 2 callers
Method
reset
(&mut self)
src/sstable/block.rs:462
↓ 2 callers
Method
schedule_batch_and_wait
Schedule the WriteBatch and wait for the result from the receiver. This function wakes up the thread in `process_batch`. An empty `WriteBatch` will tr
src/db/mod.rs:836
↓ 2 callers
Method
seek_to_first
(&mut self)
src/mem/mod.rs:196
↓ 2 callers
Method
seek_to_last
(&mut self)
src/mem/inlineskiplist.rs:366
↓ 2 callers
Method
separator
(&self, a: &[u8], b: &[u8])
src/util/comparator.rs:76
↓ 2 callers
Method
set_last_sequence
(&mut self, seq: u64)
src/version/version_edit.rs:223
↓ 2 callers
Method
set_log_number
(&mut self, log_num: u64)
src/version/version_edit.rs:208
↓ 2 callers
Method
setup_other_inputs
Pick up files to compact in `c.level+1` based on given compaction The input files in `c.level` might expand because of getting a large key range from
src/version/version_set.rs:873
↓ 2 callers
Method
skip_backward
Skip invalid results util finding a valid derived iter by `prev()` If found, set derived iter to the last
src/iterator.rs:165
↓ 2 callers
Function
some_file_overlap_range
( icmp: &InternalKeyComparator<C>, disjoint: bool, files: &[Arc<FileMetaData>], smallest_ukey:
src/version/mod.rs:573
↓ 2 callers
Method
status
(&mut self)
src/iterator.rs:254
↓ 2 callers
Method
status
(&mut self)
src/version/mod.rs:726
↓ 2 callers
Method
status
(&mut self)
src/sstable/mod.rs:636
↓ 2 callers
Method
successor
(&self, key: &[u8])
src/util/comparator.rs:97
↓ 2 callers
Method
sync
(&mut self)
src/record/writer.rs:104
↓ 2 callers
Method
take_bg_error
(&self)
src/db/mod.rs:1314
↓ 2 callers
Function
test_concurrent_basic
(n: usize, cap: usize, key_len: usize)
src/mem/inlineskiplist.rs:549
↓ 2 callers
Function
to_number
(n: &[u8])
src/db/mod.rs:2832
↓ 2 callers
Function
total_range
Returns the minimal range that covers all key ranges in `current_l_files` and `next_l_files` `current_l_files` means current level files to be compact
src/compaction.rs:348
↓ 2 callers
Method
total_sst_files
(&self)
src/db/mod.rs:1503
↓ 2 callers
Function
unmask
Return the crc whose masked representation is `masked`.
src/util/crc32.rs:41
↓ 2 callers
Function
update_current
Update the CURRENT file to point to new MANIFEST file
src/db/filename.rs:138
↓ 2 callers
Method
update_stats
Update seek stats for a sstable file. If it runs out of `allow_seek`, mark it as a pending compaction file and returns true.
src/version/mod.rs:221
↓ 2 callers
Method
valid
(&self)
src/mem/mod.rs:192
↓ 2 callers
Method
write
create formatted bytes and write into the file
src/record/writer.rs:109
↓ 2 callers
Method
write
(&mut self, buf: &[u8])
src/storage/file.rs:101
↓ 2 callers
Method
write_block
(&mut self, raw_block: &[u8], handle: &mut BlockHandle)
src/sstable/table.rs:513
↓ 2 callers
Method
write_initial_offset_log
(&mut self)
src/record/mod.rs:320
↓ 2 callers
Method
write_step
(&self)
src/mem/skiplist.rs:731
↓ 1 callers
Method
add_boundary_inputs
A helper of 'add_boundary_input_for_compact_files' for files in `c.level`
src/version/version_set.rs:973
↓ 1 callers
Method
add_compaction_pointer
(&mut self, level: usize, key: InternalKey)
src/version/version_edit.rs:465
↓ 1 callers
Method
add_num
(&mut self, num: u32)
src/filter/bloom.rs:130
↓ 1 callers
Function
add_test_data_set
(memtable: &MemTable<BytewiseComparator>)
src/mem/mod.rs:258
↓ 1 callers
Method
add_with_seq
(&mut self, smallest: (&str, u64), largest: (&str, u64))
src/version/mod.rs:753
↓ 1 callers
Method
alloc
Allocates `size` bytes aligned with `align`
src/mem/arena.rs:91
↓ 1 callers
Method
allocate
(&self, chunk: usize, align: usize)
src/mem/arena.rs:60
↓ 1 callers
Method
append_new_version
(&mut self, v: Version<C>)
src/version/version_set.rs:448
↓ 1 callers
Method
apply_logger
(&mut self, storage: &S, db_path: &str)
src/options.rs:235
↓ 1 callers
Method
apply_to_edit
Apply deletion for current inputs and current output files to the edit
src/compaction.rs:283
↓ 1 callers
Method
assert_file_num_at_each_level
Check all the number of sst files at each level in current version
src/db/mod.rs:1788
↓ 1 callers
Method
assert_files
(&self, mut expect: Vec<Vec<u64>>)
src/version/version_set.rs:1474
↓ 1 callers
Method
assert_iter_backward
(&mut self)
src/iterator.rs:571
↓ 1 callers
Method
assert_iter_forward
(&mut self)
src/iterator.rs:562
↓ 1 callers
Method
background_compaction
The complete compaction process Returns true if a compaction is actually scheduled
src/db/mod.rs:1061
↓ 1 callers
Function
bench_arena
(c: &mut Criterion)
benches/mem/arena.rs:40
↓ 1 callers
Function
bench_block_arena_allocate
(c: &mut Criterion)
benches/mem/arena.rs:6
↓ 1 callers
Function
bench_insert
(c: &mut Criterion)
benches/mem/skiplist.rs:6
↓ 1 callers
Function
bench_offset_arena_allocate
(c: &mut Criterion)
benches/mem/arena.rs:23
↓ 1 callers
Function
bench_skiplist
(c: &mut Criterion)
benches/mem/skiplist.rs:29
↓ 1 callers
Function
build_table
Build a Table file from the contents of `iter`. The generated file will be named according to `meta.number`. On success, the rest of meta will be fi
src/db/mod.rs:1429
↓ 1 callers
Method
close
(&mut self)
src/sstable/table.rs:462
↓ 1 callers
Method
comparator
(&self)
src/version/mod.rs:331
↓ 1 callers
Method
compare
(&self, a: &[u8], b: &[u8])
src/mem/skiplist.rs:687
↓ 1 callers
Method
corruption
(&mut self, bytes: u64, reason: &str)
src/record/mod.rs:192
↓ 1 callers
Method
create_compaction_output_file
Create new table builder and physical file for current output in Compaction
src/version/version_set.rs:670
↓ 1 callers
Method
create_filter
(&self, keys: &[Vec<u8>])
src/sstable/filter_block.rs:200
↓ 1 callers
Method
create_filter
(&self, keys: &[Vec<u8>])
src/filter/bloom.rs:78
↓ 1 callers
Method
current_size_estimate
Returns the bytes size of `buffer` + bytes size of `restarts` + restart array length
src/sstable/block.rs:383
↓ 1 callers
Method
current_sst_iter
Returns the collection of all the file iterators in current version
src/version/version_set.rs:310
↓ 1 callers
Method
derive
(&self, value: &[u8])
src/iterator.rs:708
↓ 1 callers
Method
do_compaction
Merging files in level n into file in level n + 1 and keep the still-in-use files This func could compact memtable first if the writing is still on-go
src/db/mod.rs:1185
↓ 1 callers
Function
do_write_string_to_file
Write given `data` into underlying `env` file and flush file iff `should_sync` is true
src/storage/mod.rs:127
↓ 1 callers
Method
dropped_bytes
(&self)
src/record/mod.rs:305
↓ 1 callers
Method
enabled
(&self, metadata: &Metadata)
src/logger.rs:70
↓ 1 callers
Method
encode
(&self)
src/db/format.rs:112
↓ 1 callers
Method
erase
(&self, key: &K)
src/cache/mod.rs:109
↓ 1 callers
Method
evict
Evict any entry for the specified file number
src/table_cache.rs:76
↓ 1 callers
Method
exists
(&self, name: P)
src/storage/mem.rs:286
↓ 1 callers
Method
expanded_compaction_byte_size_limit
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
src/options.rs:176
↓ 1 callers
Method
filter_len
(&self)
src/filter/bloom.rs:136
↓ 1 callers
Method
find
(&self, key: &str)
src/version/mod.rs:761
↓ 1 callers
Method
finish
( &mut self, options: Arc<Options<TestComparator>>, _storage: &MemStorage,
src/sstable/mod.rs:515
↓ 1 callers
Method
flush
(&mut self)
src/record/mod.rs:123
↓ 1 callers
Method
flush
(&mut self)
src/storage/mem.rs:434
↓ 1 callers
Method
for_each_overlapping
Call `func(level, file)` for every file that overlaps `user_key` in order from newest to oldest. If an invocation of func returns false, makes no mor
src/version/mod.rs:354
↓ 1 callers
Method
force_error
(&mut self)
src/record/mod.rs:301
↓ 1 callers
Method
gc
(&mut self)
src/snapshot.rs:109
↓ 1 callers
Method
get
Returns the result of a seek to internal key `key` in specified file
src/table_cache.rs:81
↓ 1 callers
Method
get_approximate_size
Returns the approximate file system space used by keys in "[start .. end)" Note that the returned sizes measure file system space usage, so if the us
src/db/mod.rs:1400
↓ 1 callers
Method
get_next_file_number
(&self)
src/version/version_set.rs:261
↓ 1 callers
Method
group_batches
Group a bunch of batches in the waiting queue This will ignore the task with `force_mem_compaction` after batched
src/db/mod.rs:863
← previous
next →
301–400 of 886, ranked by callers