Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
97
void vector_basic::reserve_impl(fl::size n) {
98
if (n > mCapacity) {
99
grow_to(n);
100
}
101
}
102
103
void vector_basic::shrink_to_fit_impl() {
104
if (mSize == 0) {
Callers
2
VectorN
Function · 0.80
vector_psram
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected