Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_table
Method · 0.45
cache_l2_cluster
Method · 0.45
cache_l2_cluster
Method · 0.45
cache_l2_cluster_alloc
Method · 0.45
evicts_when_full
Function · 0.45
set_cluster_refcount
Method · 0.45
get_cluster_refcount
Method · 0.45
refcount_block
Method · 0.45
Calls
no outgoing calls
Tested by
1
evicts_when_full
Function · 0.36