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

Function reserve

src/fl/stl/vector.h:218–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 }
217
218 void reserve(fl::size n) FL_NOEXCEPT {
219 if (n > N) {
220 // This is a no-op for fixed size vectors
221 return;
222 }
223 }
224
225 void assign_array(const T *values, fl::size count) FL_NOEXCEPT {
226 clear();

Callers 1

resizeMethod · 0.70

Calls 1

reserveMethod · 0.45

Tested by

no test coverage detected