Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_serial
Function · 0.45
preallocate_disk
Function · 0.45
read_vectored_sync
Method · 0.45
write_vectored_sync
Method · 0.45
query_device_size
Function · 0.45
parse
Method · 0.45
execute
Method · 0.45
execute_async
Method · 0.45
read_vectored
Method · 0.45
submit_batch_requests
Method · 0.45
resolve_read
Method · 0.45
async_write
Function · 0.45
Calls
no outgoing calls
Tested by
14
test_qcow_async_punch_hole_completion
Function · 0.36
test_qcow_async_write_zeroes_completion
Function · 0.36
test_qcow_async_write_read_roundtrip
Function · 0.36
test_qcow_async_batch_mixed_requests
Function · 0.36
test_qcow_async_write_after_punch_hole
Function · 0.36
test_qcow_async_direct_io_write_read_roundtrip
Function · 0.36
test_compressed_read_multi_queue
Function · 0.36
test_qcow_async_punch_hole_completion
Function · 0.36
test_qcow_async_write_zeroes_completion
Function · 0.36
test_qcow_punch_hole_then_read
Function · 0.36
test_qcow_disk_sync_punch_hole_with_create_async_io
Function · 0.36
test_qcow_async_read_write_roundtrip_impl
Function · 0.36