MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / round_up_read

Function round_up_read

nodedb/src/data/io/uring_reader.rs:306–308  ·  view source on GitHub ↗
(size: usize)

Source from the content-addressed store, hash-verified

304/// Round a read size up to ALIGNMENT.
305#[inline]
306fn round_up_read(size: usize) -> usize {
307 super::aligned_buf::round_up(size, ALIGNMENT)
308}
309
310#[cfg(test)]
311mod tests {

Callers 1

read_filesMethod · 0.85

Calls 1

round_upFunction · 0.70

Tested by

no test coverage detected