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

Method get

vmm/src/device_tree.rs:65–67  ·  view source on GitHub ↗
(&self, k: &str)

Source from the content-addressed store, hash-verified

63 self.0.contains_key(k)
64 }
65 pub fn get(&self, k: &str) -> Option<&DeviceNode> {
66 self.0.get(k)
67 }
68 pub fn get_mut(&mut self, k: &str) -> Option<&mut DeviceNode> {
69 self.0.get_mut(k)
70 }

Callers 15

parseMethod · 0.45
validateMethod · 0.45
create_slit_tableFunction · 0.45
pci_resourcesMethod · 0.45
get_device_bdfMethod · 0.45
remove_deviceMethod · 0.45
to_aml_bytesMethod · 0.45
triggerMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_device_treeFunction · 0.36