MCPcopy Create free account
hub / github.com/FastLED/FastLED / assign

Method assign

src/fl/stl/bitset.h:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 void assign(fl::size n, bool value) FL_NOEXCEPT {
100 if (n > N) {
101 n = N;
102 }
103 for (fl::size i = 0; i < n; ++i) {
104 set(i, value);
105 }
106 }
107
108 /// Clears the bit at position pos.
109 bitset_fixed &reset(fl::u32 pos) FL_NOEXCEPT { return set(pos, false); }

Callers 1

assignMethod · 0.45

Calls 1

setClass · 0.70

Tested by

no test coverage detected