MCPcopy Create free account

hub / github.com/Fullstop000/wickdb / functions

Functions886 in github.com/Fullstop000/wickdb

↓ 1 callersMethodvalue
(&self)
src/version/mod.rs:721
↓ 1 callersMethodvalue
(&self)
src/sstable/block.rs:327
↓ 1 callersMethodwrite_snapshot
Create snapshot of current version and persistent to manifest file.
src/version/version_set.rs:838
↓ 1 callersMethodwritten_bytes
(&self)
src/record/mod.rs:264
Methodall_entires_for
Return all the values for the given `user_key`
src/db/mod.rs:1704
Methodall_files_num
(&self)
src/version/version_set.rs:1481
Methodapproximate_offset_of
Given a key, return an approximate byte offset in the file where the data for that key begins (or would begin if the key were present in the file). T
src/sstable/table.rs:202
Methodas_str
(&self)
src/util/slice.rs:61
Methodassert_contents
Return a string that contains all key,value pairs in order, formatted like "(k1->v1)(k2->v2)...". Also checks the db iterator works fine in both forwa
src/db/mod.rs:1675
Methodassert_node_exists
(&self, target: P)
src/storage/mem.rs:599
Methodbloom_hash
(data: &[u8])
src/filter/bloom.rs:41
Methodbytes_read
(&self)
src/compaction.rs:300
Methodbytes_written
(&self)
src/compaction.rs:308
Methodcheck_initial_offset_record
ensure that every records after the initial_offset matches
src/record/mod.rs:354
Methodclip_range
(n: N, min: N, max: N)
src/options.rs:244
Methodclose
(&mut self)
src/record/mod.rs:127
Methodclose
(&mut self)
src/storage/file.rs:109
Methodcompact_range
Return a `Compaction` for compacting the range `[begin,end]` in the specified level. Returns `None` if there is nothing in that level that overlaps t
src/version/version_set.rs:456
Methodcompare
(&self, a: &[u8], b: &[u8])
src/util/comparator.rs:66
Methodcorruption
(&mut self, _bytes: u64, reason: &str)
src/util/reporter.rs:49
Methodcount
(&self)
src/mem/skiplist.rs:166
Methodcreate
(&self, name: P)
src/storage/file.rs:33
Methodcreate_filter
(&self, keys: &[Vec<u8>])
src/db/format.rs:360
Methoddecode_from
(src: &[u8])
src/sstable/mod.rs:271
Methoddecode_from
Try to extract a `ParsedInternalKey` from given bytes. Returns `None` if data length is less than 8 or getting an unknown value type.
src/db/format.rs:78
Methoddecoded_from
(src: &[u8])
src/db/format.rs:150
Methoddefault
()
src/snapshot.rs:57
Methoddefault
()
src/batch.rs:62
Methoddefault
()
src/options.rs:257
Methoddefault
()
src/cache/lru.rs:48
Methoddefault
()
src/storage/mem.rs:69
Methoddefault
()
src/version/version_edit.rs:107
Methoddefault
()
src/sstable/mod.rs:446
Methoddefault
()
src/sstable/block.rs:98
Methoddefault
()
src/util/slice.rs:71
Methoddefault
()
src/db/mod.rs:1835
Methoddelete_one_sst_file
Delete a sst file randomly
src/db/mod.rs:1820
Methodderef
(&self)
src/db/mod.rs:1846
Methodderef_mut
(&mut self)
src/db/mod.rs:1852
Methodderive
The value is a bytes with fixed encoded file number and fixed encoded file size
src/version/version_set.rs:1091
Methodderive
(&self, value: &[u8])
src/sstable/table.rs:226
Methoddesc_base_files
(&self)
src/compaction.rs:65
Methoddesc_parent_files
(&self)
src/compaction.rs:74
Methoddo_test
(&mut self)
src/sstable/mod.rs:1033
Methoddrop
(&mut self)
src/cache/lru.rs:237
Methoddrop
(&mut self)
src/storage/mem.rs:413
Methoddrop
(&mut self)
src/mem/arena.rs:47
Methoddrop
(&mut self)
src/mem/inlineskiplist.rs:76
Methoddrop
(&mut self)
src/db/mod.rs:461
Methodeq
(&self, other: &Key<K>)
src/cache/lru.rs:40
Methodeq
(&self, other: &FileMetaData)
src/version/version_edit.rs:97
Methodeq
(&self, other: &Slice)
src/util/slice.rs:83
Methodexists
(&self, name: P)
src/storage/file.rs:67
Methodfile_count_per_level
(&self)
src/db/mod.rs:1512
Methodfind_largest
Find the iterator with the largest 'key' and set it as current
src/version/version_set.rs:1164
Methodfind_largest
Find the iterator with the largest 'key' and set it as current
src/db/iterator.rs:365
Methodfind_smallest
Find the iterator with the smallest 'key' and set it as current
src/version/version_set.rs:1146
Methodfind_smallest
Find the iterator with the smallest 'key' and set it as current
src/db/iterator.rs:347
Methodflush
(&self)
src/logger.rs:108
Methodflush
(&mut self)
src/storage/file.rs:105
Methodfmt
(&self, f: &mut Formatter)
src/version/version_edit.rs:400
Methodfmt
(&self, f: &mut fmt::Formatter)
src/version/mod.rs:93
Methodfmt
(&self, f: &mut fmt::Formatter)
src/util/slice.rs:77
Methodfmt
(&self, f: &mut Formatter)
src/db/format.rs:118
Methodfor_each_child
(&mut self, mut f: F)
src/version/version_set.rs:1199
Methodfor_each_child
(&mut self, mut f: F)
src/db/iterator.rs:400
Methodfor_not_ith
(&mut self, n: usize, mut f: F)
src/version/version_set.rs:1211
Methodfor_not_ith
(&mut self, n: usize, mut f: F)
src/db/iterator.rs:412
Functionformat_entry
(iter: &dyn Iterator)
src/sstable/mod.rs:1049
Functionformat_kv
(key: Vec<u8>, value: Vec<u8>)
src/sstable/mod.rs:1043
Methodfrom
(src: u64)
src/snapshot.rs:39
Methodfrom
(i: u8)
src/options.rs:41
Methodfrom
(v: usize)
src/record/mod.rs:36
Methodfrom
(i: u32)
src/version/version_edit.rs:45
Methodfrom
(v: &'a [u8])
src/util/slice.rs:123
Methodfrom
(v: u64)
src/db/format.rs:55
Methodfrom
(src: u8)
src/db/mod.rs:1536
Methodget
(&self, key: &K)
src/cache/mod.rs:104
Methodget_child
(&self, i: usize)
src/version/version_set.rs:1181
Methodget_child
(&self, i: usize)
src/db/iterator.rs:382
Methodget_child_mut
(&mut self, i: usize)
src/version/version_set.rs:1190
Methodget_child_mut
(&mut self, i: usize)
src/db/iterator.rs:391
Methodhas_overlapping
Returns true if the given collection of files has overlapping with each other. Only used for files in level > 0
src/version/version_set.rs:160
Methodhash
(&self, state: &mut H)
src/util/slice.rs:104
Methodindex
Return the ith byte in the referenced data
src/util/slice.rs:92
Methodinsert
(&self, key: K, value: V, charge: usize)
src/cache/mod.rs:99
Methodis_empty
(&self)
src/mem/inlineskiplist.rs:269
Functionis_valid_key
(k: u64)
src/mem/skiplist.rs:670
Methodlast_record_offset
(&self)
src/record/reader.rs:233
Methodlist
(&self, dir: P)
src/storage/file.rs:80
Methodlock
(&self)
src/storage/file.rs:136
Methodlog
(&self, r: &Record)
src/logger.rs:75
Functionmain
()
benches/benches.rs:5
Functionmain
()
examples/simple_read_write.rs:20
Methodmatch_error
(&self, msg: &str)
src/record/mod.rs:313
Methodmax_next_level_overlapping_bytes
(&self)
src/version/version_set.rs:809
Methodmay_contain
(&self, filter: &[u8], key: &[u8])
src/db/format.rs:355
Methodmaybe_save_err
(old: &mut Option<Error>, new: Result<()>)
src/iterator.rs:101
Methodmkdir_all
(&self, dir: P)
src/storage/file.rs:75
Methodname
(&self)
src/mem/skiplist.rs:693
← previousnext →501–600 of 886, ranked by callers