Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-hypervisor/cloud-hypervisor
/ default_memory_string
Method
default_memory_string
test_infra/src/lib.rs:1762–1764 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
1760
}
1761
1762
pub fn default_memory_string(&self) -> String {
1763
format!(
"size={}"
, self.mem_size_str)
1764
}
1765
1766
pub fn validate_cpu_count(&self, expected_cpu_count: Option<u32>) {
1767
let cpu = match expected_cpu_count {
Callers
1
default_memory
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected