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

Method assign

src/fl/stl/deque.h:728–734  ·  view source on GitHub ↗

Assign operations

Source from the content-addressed store, hash-verified

726
727 // Assign operations
728 void assign(fl::size count, const T& value) {
729 clear();
730 ensure_capacity(count);
731 for (fl::size i = 0; i < count; ++i) {
732 push_back(value);
733 }
734 }
735
736 // Comparison operators
737 bool operator==(const deque& other) const {

Callers 15

to_string_nativeMethod · 0.45
unordered_map.hFile · 0.45
clearFunction · 0.45
rehash_internalFunction · 0.45
removeOneLeastErrorMethod · 0.45
simplifyTMethod · 0.45
simplifyInternalMethod · 0.45
simplifyMethod · 0.45
safeCopyMethod · 0.45
updateSpilloverConfigMethod · 0.45
startRecordingMethod · 0.45
updateCanvasWhenIdleMethod · 0.45

Calls 2

push_backFunction · 0.85
clearFunction · 0.70

Tested by 2

createSampleFunction · 0.36
FL_TEST_FILEFunction · 0.36