MCPcopy Index your code
hub / github.com/cloud-hypervisor/cloud-hypervisor / next

Method next

vmm/src/device_tree.rs:139–145  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

137 type Item = &'a DeviceNode;
138
139 fn next(&mut self) -> Option<Self::Item> {
140 if self.nodes.is_empty() {
141 None
142 } else {
143 Some(self.nodes.remove(0))
144 }
145 }
146}
147
148impl DoubleEndedIterator for BftIter<'_> {

Callers 15

create_memory_nodeFunction · 0.45
create_memory_nodeFunction · 0.45
generate_ram_rangesFunction · 0.45
fmtMethod · 0.45
parse_formatFunction · 0.45
verify_sparse_fileFunction · 0.45
_test_ivshmemFunction · 0.45
process_desc_chainMethod · 0.45

Calls 2

is_emptyMethod · 0.45
removeMethod · 0.45