MCPcopy Create free account

hub / github.com/Fullstop000/wickdb / functions

Functions886 in github.com/Fullstop000/wickdb

↓ 234 callersMethodclone
(&self)
src/table_cache.rs:114
↓ 90 callersMethodput
(&self, options: WriteOptions, key: &[u8], value: &[u8])
src/db/mod.rs:109
↓ 68 callersMethoditer
(&self)
src/mem/mod.rs:92
↓ 65 callersMethodlen
(&self)
src/mem/mod.rs:98
↓ 56 callersMethodas_slice
(&self)
src/util/slice.rs:42
↓ 48 callersMethodlock
(&self)
src/record/mod.rs:172
↓ 45 callersMethodlen
(&self)
src/storage/mem.rs:473
↓ 44 callersMethodas_str
Return the inner user key as a &str
src/db/format.rs:105
↓ 43 callersFunctionkey
(i: usize)
src/db/mod.rs:1864
↓ 41 callersMethodwrite
(&mut self, buf: &[u8])
src/record/mod.rs:118
↓ 38 callersFunctionassert_iter_entry
(iter: &dyn Iterator, k: &str, v: &str)
src/db/mod.rs:2100
↓ 36 callersMethodcompare
(&self, other: &Slice)
src/util/slice.rs:56
↓ 34 callersMethodlen
(&self)
src/db/format.rs:168
↓ 33 callersMethoddata
(&self)
src/db/format.rs:163
↓ 32 callersMethodas_ref
(&self)
src/util/slice.rs:112
↓ 32 callersMethodclear
(&mut self)
src/version/version_edit.rs:164
↓ 29 callersMethodcreate
(&self, name: P)
src/storage/mem.rs:151
↓ 29 callersMethodforce_compact_mem_table
Force current memtable contents(even if the memtable is not full) to be compacted into sst files
src/db/mod.rs:989
↓ 26 callersFunctionnew_record_test
()
src/record/mod.rs:391
↓ 26 callersMethodreopen
Close the inner db without destroy the contents and establish a new WickDB on same db path with same option
src/db/mod.rs:1615
↓ 25 callersMethodnext
(&mut self)
src/db/iterator.rs:95
↓ 23 callersMethodwrite
(&mut self, buf: &[u8])
src/storage/mem.rs:419
↓ 22 callersMethodis_empty
(&self)
src/mem/mod.rs:103
↓ 22 callersMethoditer
(&self, read_opt: ReadOptions)
src/db/mod.rs:119
↓ 21 callersMethodcurrent
(&self)
src/version/version_set.rs:299
↓ 21 callersMethodinsert
Insert the given key as a node into the skiplist. The key must be unique otherwise this method panics. # NOTICE: Concurrent insertion is not thread
src/mem/skiplist.rs:129
↓ 21 callersMethodlen
(&self)
src/record/mod.rs:168
↓ 20 callersMethodassert_approximate_size
(&self, start: &str, end: &str, a: usize, b: usize)
src/db/mod.rs:1804
↓ 20 callersFunctiondefault_cases
()
src/db/mod.rs:1576
↓ 20 callersMethodget
If memtable contains a value for key, returns it in `Some(Ok())`. If memtable contains a deletion for key, returns `Some(Err(Status::NotFound))` . If
src/mem/mod.rs:146
↓ 20 callersMethodprev
(&mut self)
src/db/iterator.rs:126
↓ 20 callersMethodremove
Same as `remove_file`
src/storage/mem.rs:202
↓ 20 callersMethoduser_key
(&self)
src/db/format.rs:173
↓ 17 callersMethodadd
Add an entry into memtable that maps key to value at the specified sequence number and with the specified type. Typically value will be empty if the t
src/mem/mod.rs:129
↓ 17 callersMethodassert_file_num_at_level
Check the number of sst files at `level` in current version
src/db/mod.rs:1783
↓ 17 callersMethodread
(&mut self, buf: &mut [u8])
src/record/mod.rs:146
↓ 17 callersMethodvalid
(&self)
src/db/iterator.rs:60
↓ 16 callersMethodassert_get
(&self, k: &str, expect: Option<&str>)
src/db/mod.rs:1648
↓ 16 callersFunctiongenerate_filename
Returns a filename for a certain `FileType` by given sequence number and a `dirname`. # Safety `dirname` must be a valid unicode string
src/db/filename.rs:48
↓ 16 callersMethoditer
Create a BlockIterator for current block.
src/sstable/block.rs:80
↓ 16 callersFunctionput_fixed_64
Encodes the given u64 to bytes and concatenates the result to `dst`
src/util/coding.rs:97
↓ 15 callersMethoddelete
(&self, options: WriteOptions, key: &[u8])
src/db/mod.rs:135
↓ 15 callersMethodnew_file
( &mut self, number: u64, smallest: InternalKey, largest: Inte
src/version/version_set.rs:1263
↓ 15 callersMethodseek_to_first
(&mut self)
src/db/iterator.rs:64
↓ 14 callersFunctionbig_string
Construct a string of the specified length made out of the supplied partial string.
src/record/mod.rs:76
↓ 14 callersMethodcompact_range_at
Schedue a manual compaction for the key range `[begin, end]` at level `level`
src/db/mod.rs:231
↓ 14 callersMethodinsert
(&self, key: K, mut value: V, charge: usize)
src/cache/lru.rs:145
↓ 14 callersMethodvalid
(&self)
src/sstable/mod.rs:596
↓ 13 callersMethodassert_put_get
(&self, key: &str, value: &str)
src/db/mod.rs:1773
↓ 13 callersFunctiondecode_fixed_32
Decodes the first 4-bytes of `src` in little-endian and returns the decoded value. If the length of the given `src` is larger than 4, only use `src[0
src/util/coding.rs:58
↓ 13 callersFunctiondecode_fixed_64
Decodes the first 8-bytes of `src` in little-endian and returns the decoded value. If the length of the given `src` is larger than 8, only use `src[0
src/util/coding.rs:75
↓ 13 callersMethodvalid
(&self)
src/iterator.rs:191
↓ 12 callersFunctionextract_user_key
(key: &[u8])
src/db/format.rs:373
↓ 11 callersMethodadd_key
Adds the given key into the builder
src/sstable/filter_block.rs:55
↓ 11 callersFunctionclean
Remove all the relative part (also the root prefix) and rebuild a new `PathBuf` by concatenating all normal components.
src/storage/mem.rs:135
↓ 11 callersMethodcompact
(&self, begin: Option<&str>, end: Option<&str>)
src/db/mod.rs:1750
↓ 11 callersFunctionrand_string
(n: usize)
src/db/mod.rs:1857
↓ 11 callersMethodread
(&mut self, buf: &mut [u8])
src/storage/mem.rs:465
↓ 11 callersMethodseek
(&mut self, target: &[u8])
src/db/iterator.rs:82
↓ 11 callersMethodwrite
(&self, options: WriteOptions, batch: WriteBatch)
src/db/mod.rs:141
↓ 10 callersMethodadd
Appends key and value to the buffer # Panic If this BlockBuilder is finished If the `counter` is invalid If the given `key` is not consistent with t
src/sstable/block.rs:404
↓ 10 callersMethodappend
Copies the operations in "source" to this batch.
src/batch.rs:99
↓ 10 callersFunctionextract_varint32_encoded_slice
Decodes the length (varint u32) from `src` and advances it.
src/mem/mod.rs:238
↓ 10 callersMethodopen
Attempt to open the table that is stored in bytes `[0..size)` of `file`, and read the metadata entries necessary to allow retrieving data from the tab
src/sstable/table.rs:52
↓ 10 callersFunctionput_fixed_32
Encodes the given u32 to bytes and concatenates the result to `dst`
src/util/coding.rs:90
↓ 10 callersMethodreport_drop
report record dropping to the `reporter`
src/record/reader.rs:328
↓ 10 callersMethodseek
(&mut self, target: &[u8])
src/iterator.rs:223
↓ 9 callersFunctionadd_boundary_inputs_for_compact_files
Add SST files which should have been included in `level` compaction but excluded by some reasons (e.g output size limit truncating). This guarantees t
src/version/version_set.rs:1011
↓ 9 callersMethoddata
(&self)
src/batch.rs:70
↓ 9 callersMethodfinish
Finishes building the table and close the relative file. If `sync` is true, the `File::flush` will be called. # Panics The table builder is closed
src/sstable/table.rs:400
↓ 9 callersMethodget_count
(&self)
src/batch.rs:175
↓ 9 callersMethodget_mut
Returns a raw pointer with given arena offset
src/mem/arena.rs:108
↓ 9 callersFunctionhash
(data: &[u8], seed: u32)
src/util/hash.rs:21
↓ 9 callersMethodis_empty
(&self)
src/db/format.rs:158
↓ 9 callersMethoditer
(&self)
src/sstable/mod.rs:534
↓ 9 callersMethodkey
(&self)
src/db/iterator.rs:153
↓ 9 callersMethodseek_to_last
(&mut self)
src/db/iterator.rs:75
↓ 9 callersMethodsnapshot
(&self)
src/db/mod.rs:168
↓ 9 callersMethodstart_block
Generates filter data for the data block on given `block_offset`
src/sstable/filter_block.rs:62
↓ 9 callersMethodstatus
(&mut self)
src/db/iterator.rs:169
↓ 8 callersMethodassert_key_and_value
(&self)
src/iterator.rs:557
↓ 8 callersMethodclose
(&mut self)
src/db/mod.rs:145
↓ 8 callersMethodget_next
height, 0-based index
src/mem/inlineskiplist.rs:44
↓ 8 callersMethodget_overlapping_inputs
Return all files in `level` that overlap [`begin`, `end`] Notice that both `begin` and `end` is `InternalKey` but we just compare the user key directl
src/version/mod.rs:496
↓ 8 callersMethodkey
(&self)
src/iterator.rs:244
↓ 8 callersFunctionmake_key
Format of key: key | gen | hash
src/mem/skiplist.rs:666
↓ 8 callersMethodmkdir_all
(&self, dir: P)
src/storage/mem.rs:316
↓ 8 callersMethodput
Stores the mapping "key -> value" in the database
src/batch.rs:75
↓ 8 callersMethodput_entries
Put entries with default `WriteOptions`
src/db/mod.rs:1623
↓ 8 callersFunctiontotal_file_size
(files: &[Arc<FileMetaData>])
src/version/version_set.rs:1107
↓ 7 callersMethodacquire
Creates a `Snapshot` and appends it to the end of the list
src/snapshot.rs:93
↓ 7 callersMethodapproximate_size
(&self)
src/batch.rs:94
↓ 7 callersMethodassert_or_return
(&self, key: &[u8], want: bool, assert: bool)
src/filter/bloom.rs:140
↓ 7 callersFunctionencode_fixed_32
Encodes `value` in little-endian and puts it in the first 4-bytes of `dst`. # Panics Panics if `dst.len()` is less than 4.
src/util/coding.rs:26
↓ 7 callersFunctionnew_test_skl
()
src/mem/skiplist.rs:388
↓ 7 callersMethodnext_entry_offset
(&self)
src/sstable/block.rs:157
↓ 7 callersFunctionreverse
Return the reverse of given key
src/sstable/mod.rs:397
↓ 7 callersMethodset_log_number
(&mut self, log_num: u64)
src/version/version_set.rs:255
↓ 7 callersMethodvalid_or_panic
(&self)
src/iterator.rs:182
↓ 6 callersMethodadd
(&mut self, smallest: &str, largest: &str)
src/version/mod.rs:745
next →1–100 of 886, ranked by callers