Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ reserve
Method
reserve
src/fl/stl/deque.h:441–445 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
439
}
440
441
void reserve(fl::size new_capacity) {
442
if (new_capacity > mCapacity) {
443
ensure_capacity(new_capacity);
444
}
445
}
446
447
void shrink_to_fit() {
448
if (mSize < mCapacity) {
Callers
15
add
Method · 0.45
rgbToHex
Function · 0.45
base64_encode
Function · 0.45
base64_decode
Function · 0.45
RectangularDrawBuffer
Method · 0.45
FxEngine
Method · 0.45
BatchDraw
Method · 0.45
NoiseBias1D
Method · 0.45
getDriverInfos
Method · 0.45
MultiChannelConfig
Method · 0.45
setCustomGains
Method · 0.45
Context
Method · 0.45
Calls
no outgoing calls
Tested by
14
setCustomGains
Method · 0.36
test_container_capacity_management
Function · 0.36
makeSample
Function · 0.36
generateSine
Function · 0.36
generateDC
Function · 0.36
generateSyntheticFFT
Function · 0.36
generateSyntheticCQFFT
Function · 0.36
makeWhiteNoise
Function · 0.36
makeChirp
Function · 0.36
makeTremoloTone
Function · 0.36
generateSineWave
Function · 0.36
generateNoise
Function · 0.36