Skip to main content

align_chunk_offset

Function align_chunk_offset 

Source
pub fn align_chunk_offset(offset: u64) -> u64
Expand description

Round a file offset up to the next cache-line boundary.

This ensures chunk data starts at an address that is a multiple of the architecture’s cache line size, enabling aligned loads in SIMD paths.