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

Method new_from_tables

vm-migration/src/protocol.rs:471–477  ·  view source on GitHub ↗
(tables: Vec<Self>)

Source from the content-addressed store, hash-verified

469 }
470
471 pub fn new_from_tables(tables: Vec<Self>) -> Self {
472 let mut data = Vec::new();
473 for table in tables {
474 data.extend(table.data);
475 }
476 Self { data }
477 }
478
479 /// Returns the effective size in bytes.
480 pub fn effective_size(&self) -> u64 {

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
extendMethod · 0.45

Tested by

no test coverage detected