MCPcopy Create free account

hub / github.com/Fullstop000/wickdb / functions

Functions886 in github.com/Fullstop000/wickdb

↓ 2 callersFunctionnew_mem_table
()
src/mem/mod.rs:253
↓ 2 callersFunctionnew_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 callersFunctionnew_test_block
()
src/sstable/block.rs:485
↓ 2 callersFunctionnew_test_file_meta_data
(number: u64)
src/version/version_set.rs:1427
↓ 2 callersFunctionnew_test_options
(o: TestOption)
src/db/mod.rs:1541
↓ 2 callersMethodnext
(&mut self)
src/mem/mod.rs:211
↓ 2 callersMethodnum_entries
(&self)
src/sstable/table.rs:474
↓ 2 callersMethodnum_sst_files_at_level
(&self, level: usize)
src/db/mod.rs:1778
↓ 2 callersFunctionnum_to_string
Construct a String from a number
src/record/mod.rs:86
↓ 2 callersMethodparse_key
Parse internal key from inner iterator into a `ParsedInternalKey` otherwise records a corruption error
src/db/iterator.rs:201
↓ 2 callersMethodpos_and_data
(&self)
src/storage/mem.rs:617
↓ 2 callersMethodprev
(&mut self)
src/mem/skiplist.rs:318
↓ 2 callersMethodprev_log_number
(&self)
src/version/version_set.rs:243
↓ 2 callersFunctionrand_height
Generate a random height < MAX_HEIGHT for node
src/mem/skiplist.rs:361
↓ 2 callersFunctionrandom_compaction_period
Picks the number of bytes that can be read until a compaction is scheduled
src/db/iterator.rs:315
↓ 2 callersFunctionrandom_target
()
src/mem/skiplist.rs:674
↓ 2 callersMethodread
(&mut self, buf: &mut [u8])
src/storage/file.rs:117
↓ 2 callersMethodread_at
(&self, buf: &mut [u8], offset: u64)
src/storage/mem.rs:485
↓ 2 callersMethodread_step
(&self)
src/mem/skiplist.rs:741
↓ 2 callersMethodreset
(&mut self)
src/sstable/block.rs:462
↓ 2 callersMethodschedule_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 callersMethodseek_to_first
(&mut self)
src/mem/mod.rs:196
↓ 2 callersMethodseek_to_last
(&mut self)
src/mem/inlineskiplist.rs:366
↓ 2 callersMethodseparator
(&self, a: &[u8], b: &[u8])
src/util/comparator.rs:76
↓ 2 callersMethodset_last_sequence
(&mut self, seq: u64)
src/version/version_edit.rs:223
↓ 2 callersMethodset_log_number
(&mut self, log_num: u64)
src/version/version_edit.rs:208
↓ 2 callersMethodsetup_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 callersMethodskip_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 callersFunctionsome_file_overlap_range
( icmp: &InternalKeyComparator<C>, disjoint: bool, files: &[Arc<FileMetaData>], smallest_ukey:
src/version/mod.rs:573
↓ 2 callersMethodstatus
(&mut self)
src/iterator.rs:254
↓ 2 callersMethodstatus
(&mut self)
src/version/mod.rs:726
↓ 2 callersMethodstatus
(&mut self)
src/sstable/mod.rs:636
↓ 2 callersMethodsuccessor
(&self, key: &[u8])
src/util/comparator.rs:97
↓ 2 callersMethodsync
(&mut self)
src/record/writer.rs:104
↓ 2 callersMethodtake_bg_error
(&self)
src/db/mod.rs:1314
↓ 2 callersFunctiontest_concurrent_basic
(n: usize, cap: usize, key_len: usize)
src/mem/inlineskiplist.rs:549
↓ 2 callersFunctionto_number
(n: &[u8])
src/db/mod.rs:2832
↓ 2 callersFunctiontotal_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 callersMethodtotal_sst_files
(&self)
src/db/mod.rs:1503
↓ 2 callersFunctionunmask
Return the crc whose masked representation is `masked`.
src/util/crc32.rs:41
↓ 2 callersFunctionupdate_current
Update the CURRENT file to point to new MANIFEST file
src/db/filename.rs:138
↓ 2 callersMethodupdate_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 callersMethodvalid
(&self)
src/mem/mod.rs:192
↓ 2 callersMethodwrite
create formatted bytes and write into the file
src/record/writer.rs:109
↓ 2 callersMethodwrite
(&mut self, buf: &[u8])
src/storage/file.rs:101
↓ 2 callersMethodwrite_block
(&mut self, raw_block: &[u8], handle: &mut BlockHandle)
src/sstable/table.rs:513
↓ 2 callersMethodwrite_initial_offset_log
(&mut self)
src/record/mod.rs:320
↓ 2 callersMethodwrite_step
(&self)
src/mem/skiplist.rs:731
↓ 1 callersMethodadd_boundary_inputs
A helper of 'add_boundary_input_for_compact_files' for files in `c.level`
src/version/version_set.rs:973
↓ 1 callersMethodadd_compaction_pointer
(&mut self, level: usize, key: InternalKey)
src/version/version_edit.rs:465
↓ 1 callersMethodadd_num
(&mut self, num: u32)
src/filter/bloom.rs:130
↓ 1 callersFunctionadd_test_data_set
(memtable: &MemTable<BytewiseComparator>)
src/mem/mod.rs:258
↓ 1 callersMethodadd_with_seq
(&mut self, smallest: (&str, u64), largest: (&str, u64))
src/version/mod.rs:753
↓ 1 callersMethodalloc
Allocates `size` bytes aligned with `align`
src/mem/arena.rs:91
↓ 1 callersMethodallocate
(&self, chunk: usize, align: usize)
src/mem/arena.rs:60
↓ 1 callersMethodappend_new_version
(&mut self, v: Version<C>)
src/version/version_set.rs:448
↓ 1 callersMethodapply_logger
(&mut self, storage: &S, db_path: &str)
src/options.rs:235
↓ 1 callersMethodapply_to_edit
Apply deletion for current inputs and current output files to the edit
src/compaction.rs:283
↓ 1 callersMethodassert_file_num_at_each_level
Check all the number of sst files at each level in current version
src/db/mod.rs:1788
↓ 1 callersMethodassert_files
(&self, mut expect: Vec<Vec<u64>>)
src/version/version_set.rs:1474
↓ 1 callersMethodassert_iter_backward
(&mut self)
src/iterator.rs:571
↓ 1 callersMethodassert_iter_forward
(&mut self)
src/iterator.rs:562
↓ 1 callersMethodbackground_compaction
The complete compaction process Returns true if a compaction is actually scheduled
src/db/mod.rs:1061
↓ 1 callersFunctionbench_arena
(c: &mut Criterion)
benches/mem/arena.rs:40
↓ 1 callersFunctionbench_block_arena_allocate
(c: &mut Criterion)
benches/mem/arena.rs:6
↓ 1 callersFunctionbench_insert
(c: &mut Criterion)
benches/mem/skiplist.rs:6
↓ 1 callersFunctionbench_offset_arena_allocate
(c: &mut Criterion)
benches/mem/arena.rs:23
↓ 1 callersFunctionbench_skiplist
(c: &mut Criterion)
benches/mem/skiplist.rs:29
↓ 1 callersFunctionbuild_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 callersMethodclose
(&mut self)
src/sstable/table.rs:462
↓ 1 callersMethodcomparator
(&self)
src/version/mod.rs:331
↓ 1 callersMethodcompare
(&self, a: &[u8], b: &[u8])
src/mem/skiplist.rs:687
↓ 1 callersMethodcorruption
(&mut self, bytes: u64, reason: &str)
src/record/mod.rs:192
↓ 1 callersMethodcreate_compaction_output_file
Create new table builder and physical file for current output in Compaction
src/version/version_set.rs:670
↓ 1 callersMethodcreate_filter
(&self, keys: &[Vec<u8>])
src/sstable/filter_block.rs:200
↓ 1 callersMethodcreate_filter
(&self, keys: &[Vec<u8>])
src/filter/bloom.rs:78
↓ 1 callersMethodcurrent_size_estimate
Returns the bytes size of `buffer` + bytes size of `restarts` + restart array length
src/sstable/block.rs:383
↓ 1 callersMethodcurrent_sst_iter
Returns the collection of all the file iterators in current version
src/version/version_set.rs:310
↓ 1 callersMethodderive
(&self, value: &[u8])
src/iterator.rs:708
↓ 1 callersMethoddo_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 callersFunctiondo_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 callersMethoddropped_bytes
(&self)
src/record/mod.rs:305
↓ 1 callersMethodenabled
(&self, metadata: &Metadata)
src/logger.rs:70
↓ 1 callersMethodencode
(&self)
src/db/format.rs:112
↓ 1 callersMethoderase
(&self, key: &K)
src/cache/mod.rs:109
↓ 1 callersMethodevict
Evict any entry for the specified file number
src/table_cache.rs:76
↓ 1 callersMethodexists
(&self, name: P)
src/storage/mem.rs:286
↓ 1 callersMethodexpanded_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 callersMethodfilter_len
(&self)
src/filter/bloom.rs:136
↓ 1 callersMethodfind
(&self, key: &str)
src/version/mod.rs:761
↓ 1 callersMethodfinish
( &mut self, options: Arc<Options<TestComparator>>, _storage: &MemStorage,
src/sstable/mod.rs:515
↓ 1 callersMethodflush
(&mut self)
src/record/mod.rs:123
↓ 1 callersMethodflush
(&mut self)
src/storage/mem.rs:434
↓ 1 callersMethodfor_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 callersMethodforce_error
(&mut self)
src/record/mod.rs:301
↓ 1 callersMethodgc
(&mut self)
src/snapshot.rs:109
↓ 1 callersMethodget
Returns the result of a seek to internal key `key` in specified file
src/table_cache.rs:81
↓ 1 callersMethodget_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 callersMethodget_next_file_number
(&self)
src/version/version_set.rs:261
↓ 1 callersMethodgroup_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
← previousnext →301–400 of 886, ranked by callers