Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
306
fn round_up_read(size: usize) -> usize {
307
super::aligned_buf::round_up(size, ALIGNMENT)
308
}
309
310
#[cfg(test)]
311
mod tests {
Callers
1
read_files
Method · 0.85
Calls
1
round_up
Function · 0.70
Tested by
no test coverage detected