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

Method len

block/src/qcow/vec_cache.rs:62–64  ·  view source on GitHub ↗

Returns the number of elements in the vector.

(&self)

Source from the content-addressed store, hash-verified

60
61 /// Returns the number of elements in the vector.
62 pub fn len(&self) -> usize {
63 self.vec.len()
64 }
65
66 /// Extends the cache capacity to `new_len` elements.
67 ///

Callers 15

build_serialFunction · 0.45
preallocate_diskFunction · 0.45
read_vectored_syncMethod · 0.45
write_vectored_syncMethod · 0.45
query_device_sizeFunction · 0.45
parseMethod · 0.45
executeMethod · 0.45
execute_asyncMethod · 0.45
read_vectoredMethod · 0.45
submit_batch_requestsMethod · 0.45
resolve_readMethod · 0.45
async_writeFunction · 0.45

Calls

no outgoing calls