Home
last modified time | relevance | path

Searched refs:slice_shift (Results 1 – 3 of 3) sorted by relevance

/wasmtime-44.0.1/cranelift/bforest/src/
H A Dlib.rs124 fn slice_shift<T: Copy>(s: &mut [T], n: usize) { in slice_shift() function
174 slice_shift(&mut a[0..1], 1); in slice_shifting()
177 slice_shift(&mut a[1..], 1); in slice_shifting()
180 slice_shift(&mut a, 2); in slice_shifting()
H A Dnode.rs3 use super::{Forest, INNER_SIZE, Node, SetValue, slice_insert, slice_shift};
322 slice_shift(&mut keys[index.saturating_sub(1)..ents - 1], 1); in inner_remove()
324 slice_shift(&mut tree[index..ents], 1); in inner_remove()
345 slice_shift(&mut keys[index..sz], 1); in leaf_remove()
346 slice_shift(&mut vals[index..sz], 1); in leaf_remove()
406 slice_shift(&mut r_keys[0..r_ents - 1], r_ents - r_goal); in balance()
407 slice_shift(&mut r_tree[0..r_ents], r_ents - r_goal); in balance()
454 slice_shift(&mut r_keys[0..r_ents], r_ents - r_goal); in balance()
455 slice_shift(&mut r_vals[0..r_ents], r_ents - r_goal); in balance()
H A Dpath.rs4 use super::{Comparator, Forest, MAX_PATH, Node, NodeData, NodePool, slice_insert, slice_shift};
468 slice_shift(&mut self.node, ns); in balance_nodes()
469 slice_shift(&mut self.entry, ns); in balance_nodes()