SpiecsEngine
Loading...
Searching...
No Matches
◆
align_down()
template<class integral >
constexpr integral Spices::MemoryLibrary::align_down
(
integral
x
,
size_t
a
)
inline
static
constexpr
noexcept
Align down a memory size aligned with specific value.
Parameters
[in]
x
memory size.
[in]
a
aligned size.
Definition at line
62
of file
MemoryLibrary.h
.
63
{
64
SPICES_PROFILE_ZONE
;
65
66
return
integral(x & ~integral(a - 1));
67
}
SPICES_PROFILE_ZONE
#define SPICES_PROFILE_ZONE
Definition
TracyProfilerWrapper.h:100
Spices
MemoryLibrary
Generated on Sun Mar 8 2026 10:24:49 for SpiecsEngine by
1.10.0