MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / contains_key

Method contains_key

block/src/qcow/vec_cache.rs:125–127  ·  view source on GitHub ↗
(&self, key: usize)

Source from the content-addressed store, hash-verified

123 }
124
125 pub fn contains_key(&self, key: usize) -> bool {
126 self.map.contains_key(&key)
127 }
128
129 pub fn get(&self, index: usize) -> Option<&T> {
130 self.map.get(&index)

Callers 8

l2_tableMethod · 0.45
cache_l2_clusterMethod · 0.45
cache_l2_clusterMethod · 0.45
evicts_when_fullFunction · 0.45
set_cluster_refcountMethod · 0.45
get_cluster_refcountMethod · 0.45
refcount_blockMethod · 0.45

Calls

no outgoing calls

Tested by 1

evicts_when_fullFunction · 0.36