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

Method reserve_impl

src/fl/stl/basic_vector.cpp.hpp:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void vector_basic::reserve_impl(fl::size n) {
98 if (n > mCapacity) {
99 grow_to(n);
100 }
101}
102
103void vector_basic::shrink_to_fit_impl() {
104 if (mSize == 0) {

Callers 2

VectorNFunction · 0.80
vector_psramMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected