SpiecsEngine
Loading...
Searching...
No Matches
◆
is_aligned()
template<class integral >
constexpr bool Spices::MemoryLibrary::is_aligned
(
integral
x
,
size_t
a
)
inline
static
constexpr
noexcept
Determine is memory size aligned with specific value.
Parameters
[in]
x
memory size.
[in]
a
aligned size.
Returns
Returns true if is aligned.
Definition at line
46
of file
MemoryLibrary.h
.
47
{
48
SPICES_PROFILE_ZONE
;
49
50
return
(x & (integral(a) - 1)) == 0;
51
}
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