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

Function any

src/fl/stl/bitset_dynamic.h:266–274  ·  view source on GitHub ↗

Check if any bit is set

Source from the content-addressed store, hash-verified

264
265 // Check if any bit is set
266 bool any() const FL_NOEXCEPT {
267 if (!_blocks) return false;
268
269 for (fl::u32 i = 0; i < _block_count; ++i) {
270 if (_blocks[i] != 0)
271 return true;
272 }
273 return false;
274 }
275
276 // Check if no bit is set
277 bool none() const FL_NOEXCEPT { return !any(); }

Callers 15

esp32_symbol_analysisFunction · 0.85
find_cpp_filesFunction · 0.85
noneFunction · 0.85
_iter_js_affecting_filesFunction · 0.85
_is_stale_build_errorFunction · 0.85
link_wasmFunction · 0.85
mainFunction · 0.85
console_log_handlerFunction · 0.85
mainFunction · 0.85
_should_skip_dirFunction · 0.85
has_driftMethod · 0.85

Calls

no outgoing calls

Tested by 15

mainFunction · 0.68
console_log_handlerFunction · 0.68
mainFunction · 0.68
filter_lineFunction · 0.68
_is_qualifiedFunction · 0.68
check_file_contentMethod · 0.68