SpiecsEngine
 
Loading...
Searching...
No Matches

◆ align_down()

template<class integral >
constexpr integral Spices::MemoryLibrary::align_down ( integral x,
size_t a )
inlinestaticconstexprnoexcept

Align down a memory size aligned with specific value.

Parameters
[in]xmemory size.
[in]aaligned size.

Definition at line 62 of file MemoryLibrary.h.

63 {
65
66 return integral(x & ~integral(a - 1));
67 }
#define SPICES_PROFILE_ZONE