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
↓ 1 callers
Method
value
(&self)
src/version/mod.rs:721
↓ 1 callers
Method
value
(&self)
src/sstable/block.rs:327
↓ 1 callers
Method
write_snapshot
Create snapshot of current version and persistent to manifest file.
src/version/version_set.rs:838
↓ 1 callers
Method
written_bytes
(&self)
src/record/mod.rs:264
Method
all_entires_for
Return all the values for the given `user_key`
src/db/mod.rs:1704
Method
all_files_num
(&self)
src/version/version_set.rs:1481
Method
approximate_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
Method
as_str
(&self)
src/util/slice.rs:61
Method
assert_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
Method
assert_node_exists
(&self, target: P)
src/storage/mem.rs:599
Method
bloom_hash
(data: &[u8])
src/filter/bloom.rs:41
Method
bytes_read
(&self)
src/compaction.rs:300
Method
bytes_written
(&self)
src/compaction.rs:308
Method
check_initial_offset_record
ensure that every records after the initial_offset matches
src/record/mod.rs:354
Method
clip_range
(n: N, min: N, max: N)
src/options.rs:244
Method
close
(&mut self)
src/record/mod.rs:127
Method
close
(&mut self)
src/storage/file.rs:109
Method
compact_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
Method
compare
(&self, a: &[u8], b: &[u8])
src/util/comparator.rs:66
Method
corruption
(&mut self, _bytes: u64, reason: &str)
src/util/reporter.rs:49
Method
count
(&self)
src/mem/skiplist.rs:166
Method
create
(&self, name: P)
src/storage/file.rs:33
Method
create_filter
(&self, keys: &[Vec<u8>])
src/db/format.rs:360
Method
decode_from
(src: &[u8])
src/sstable/mod.rs:271
Method
decode_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
Method
decoded_from
(src: &[u8])
src/db/format.rs:150
Method
default
()
src/snapshot.rs:57
Method
default
()
src/batch.rs:62
Method
default
()
src/options.rs:257
Method
default
()
src/cache/lru.rs:48
Method
default
()
src/storage/mem.rs:69
Method
default
()
src/version/version_edit.rs:107
Method
default
()
src/sstable/mod.rs:446
Method
default
()
src/sstable/block.rs:98
Method
default
()
src/util/slice.rs:71
Method
default
()
src/db/mod.rs:1835
Method
delete_one_sst_file
Delete a sst file randomly
src/db/mod.rs:1820
Method
deref
(&self)
src/db/mod.rs:1846
Method
deref_mut
(&mut self)
src/db/mod.rs:1852
Method
derive
The value is a bytes with fixed encoded file number and fixed encoded file size
src/version/version_set.rs:1091
Method
derive
(&self, value: &[u8])
src/sstable/table.rs:226
Method
desc_base_files
(&self)
src/compaction.rs:65
Method
desc_parent_files
(&self)
src/compaction.rs:74
Method
do_test
(&mut self)
src/sstable/mod.rs:1033
Method
drop
(&mut self)
src/cache/lru.rs:237
Method
drop
(&mut self)
src/storage/mem.rs:413
Method
drop
(&mut self)
src/mem/arena.rs:47
Method
drop
(&mut self)
src/mem/inlineskiplist.rs:76
Method
drop
(&mut self)
src/db/mod.rs:461
Method
eq
(&self, other: &Key<K>)
src/cache/lru.rs:40
Method
eq
(&self, other: &FileMetaData)
src/version/version_edit.rs:97
Method
eq
(&self, other: &Slice)
src/util/slice.rs:83
Method
exists
(&self, name: P)
src/storage/file.rs:67
Method
file_count_per_level
(&self)
src/db/mod.rs:1512
Method
find_largest
Find the iterator with the largest 'key' and set it as current
src/version/version_set.rs:1164
Method
find_largest
Find the iterator with the largest 'key' and set it as current
src/db/iterator.rs:365
Method
find_smallest
Find the iterator with the smallest 'key' and set it as current
src/version/version_set.rs:1146
Method
find_smallest
Find the iterator with the smallest 'key' and set it as current
src/db/iterator.rs:347
Method
flush
(&self)
src/logger.rs:108
Method
flush
(&mut self)
src/storage/file.rs:105
Method
fmt
(&self, f: &mut Formatter)
src/version/version_edit.rs:400
Method
fmt
(&self, f: &mut fmt::Formatter)
src/version/mod.rs:93
Method
fmt
(&self, f: &mut fmt::Formatter)
src/util/slice.rs:77
Method
fmt
(&self, f: &mut Formatter)
src/db/format.rs:118
Method
for_each_child
(&mut self, mut f: F)
src/version/version_set.rs:1199
Method
for_each_child
(&mut self, mut f: F)
src/db/iterator.rs:400
Method
for_not_ith
(&mut self, n: usize, mut f: F)
src/version/version_set.rs:1211
Method
for_not_ith
(&mut self, n: usize, mut f: F)
src/db/iterator.rs:412
Function
format_entry
(iter: &dyn Iterator)
src/sstable/mod.rs:1049
Function
format_kv
(key: Vec<u8>, value: Vec<u8>)
src/sstable/mod.rs:1043
Method
from
(src: u64)
src/snapshot.rs:39
Method
from
(i: u8)
src/options.rs:41
Method
from
(v: usize)
src/record/mod.rs:36
Method
from
(i: u32)
src/version/version_edit.rs:45
Method
from
(v: &'a [u8])
src/util/slice.rs:123
Method
from
(v: u64)
src/db/format.rs:55
Method
from
(src: u8)
src/db/mod.rs:1536
Method
get
(&self, key: &K)
src/cache/mod.rs:104
Method
get_child
(&self, i: usize)
src/version/version_set.rs:1181
Method
get_child
(&self, i: usize)
src/db/iterator.rs:382
Method
get_child_mut
(&mut self, i: usize)
src/version/version_set.rs:1190
Method
get_child_mut
(&mut self, i: usize)
src/db/iterator.rs:391
Method
has_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
Method
hash
(&self, state: &mut H)
src/util/slice.rs:104
Method
index
Return the ith byte in the referenced data
src/util/slice.rs:92
Method
insert
(&self, key: K, value: V, charge: usize)
src/cache/mod.rs:99
Method
is_empty
(&self)
src/mem/inlineskiplist.rs:269
Function
is_valid_key
(k: u64)
src/mem/skiplist.rs:670
Method
last_record_offset
(&self)
src/record/reader.rs:233
Method
list
(&self, dir: P)
src/storage/file.rs:80
Method
lock
(&self)
src/storage/file.rs:136
Method
log
(&self, r: &Record)
src/logger.rs:75
Function
main
()
benches/benches.rs:5
Function
main
()
examples/simple_read_write.rs:20
Method
match_error
(&self, msg: &str)
src/record/mod.rs:313
Method
max_next_level_overlapping_bytes
(&self)
src/version/version_set.rs:809
Method
may_contain
(&self, filter: &[u8], key: &[u8])
src/db/format.rs:355
Method
maybe_save_err
(old: &mut Option<Error>, new: Result<()>)
src/iterator.rs:101
Method
mkdir_all
(&self, dir: P)
src/storage/file.rs:75
Method
name
(&self)
src/mem/skiplist.rs:693
← previous
next →
501–600 of 886, ranked by callers