Searched refs:alignBytes (Results 1 – 1 of 1) sorted by relevance
236 MEM_STATIC size_t ZSTD_cwksp_bytes_to_align_ptr(void* ptr, const size_t alignBytes) { in ZSTD_cwksp_bytes_to_align_ptr() argument237 size_t const alignBytesMask = alignBytes - 1; in ZSTD_cwksp_bytes_to_align_ptr()238 size_t const bytes = (alignBytes - ((size_t)ptr & (alignBytesMask))) & alignBytesMask; in ZSTD_cwksp_bytes_to_align_ptr()239 assert((alignBytes & alignBytesMask) == 0); in ZSTD_cwksp_bytes_to_align_ptr()