MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / extend

Method extend

src/entity/primary_map.rs:153–158  ·  view source on GitHub ↗
(&mut self, iter: impl IntoIterator<Item = V>)

Source from the content-addressed store, hash-verified

151 /// keys for the newly added elements.
152 #[inline]
153 pub fn extend(&mut self, iter: impl IntoIterator<Item = V>) -> EntityRange<K> {
154 let from = self.next_key();
155 self.elems.extend(iter);
156 let to = self.next_key();
157 EntityRange { from, to }
158 }
159
160 /// Returns the last element that was inserted in the map.
161 #[inline]

Callers 13

resetMethod · 0.45
resolve_movesMethod · 0.45
runMethod · 0.45
compute_block_orderMethod · 0.45
finalize_stack_layoutMethod · 0.45
add_use_listMethod · 0.45
initMethod · 0.45
check_blockMethod · 0.45
parse_class_defFunction · 0.45
check_fixed_conflictMethod · 0.45
get_value_for_useMethod · 0.45
from_iterMethod · 0.45

Calls 1

next_keyMethod · 0.80

Tested by

no test coverage detected