MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / slice

Method slice

rust/src/validation.rs:288–290  ·  view source on GitHub ↗

Returns all key-value pairs as a vector (for testing/debugging).

(&self)

Source from the content-addressed store, hash-verified

286
287 /// Returns all key-value pairs as a vector (for testing/debugging).
288 pub fn slice(&self) -> Vec<(&K, &V)> {
289 self.items().collect()
290 }
291
292 /// Returns the sizes of all leaf nodes (for testing/debugging).
293 pub fn leaf_sizes(&self) -> Vec<usize> {

Callers 4

fuzz_test_bplustreeFunction · 0.80
quick_start_exampleFunction · 0.80
range_query_examplesFunction · 0.80
time_series_exampleFunction · 0.80

Calls 1

itemsMethod · 0.45

Tested by 1

fuzz_test_bplustreeFunction · 0.64