FastLED
3.9.15
Loading...
Searching...
No Matches
◆
anonymous enum
template<typename T, fl::size N>
anonymous enum
Enumerator
kTotalBytes
kExtraSize
kTotalBytesAligned
kBlockSize
Definition at line
27
of file
vector.h
.
27
{
28
kTotalBytes
=
N
*
sizeof
(
T
),
29
kExtraSize
=
30
(
kTotalBytes
%
alignof
(
max_align_t
)) ? (
alignof
(
max_align_t
) - (
kTotalBytes
%
alignof
(
max_align_t
))) : 0,
31
// Fix: calculate total bytes first, then convert to MemoryType units
32
kTotalBytesAligned
=
kTotalBytes
+
kExtraSize
,
33
kBlockSize
= (
kTotalBytesAligned
+
sizeof
(
MemoryType
) - 1) /
sizeof
(
MemoryType
),
34
};
fl::InlinedMemoryBlock::MemoryType
fl::uptr MemoryType
Definition
vector.h:26
fl::InlinedMemoryBlock::kExtraSize
@ kExtraSize
Definition
vector.h:29
fl::InlinedMemoryBlock::kTotalBytes
@ kTotalBytes
Definition
vector.h:28
fl::InlinedMemoryBlock::kTotalBytesAligned
@ kTotalBytesAligned
Definition
vector.h:32
fl::InlinedMemoryBlock::kBlockSize
@ kBlockSize
Definition
vector.h:33
fl::InlinedMemoryBlock
Definition
vector.h:24
fl
InlinedMemoryBlock
Generated on Fri Aug 22 2025 20:59:36 for FastLED by
1.13.2