MCPcopy 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

addMethod · 0.45
rgbToHexFunction · 0.45
base64_encodeFunction · 0.45
base64_decodeFunction · 0.45
RectangularDrawBufferMethod · 0.45
FxEngineMethod · 0.45
BatchDrawMethod · 0.45
NoiseBias1DMethod · 0.45
getDriverInfosMethod · 0.45
MultiChannelConfigMethod · 0.45
setCustomGainsMethod · 0.45
ContextMethod · 0.45

Calls

no outgoing calls

Tested by 14

setCustomGainsMethod · 0.36
makeSampleFunction · 0.36
generateSineFunction · 0.36
generateDCFunction · 0.36
generateSyntheticFFTFunction · 0.36
generateSyntheticCQFFTFunction · 0.36
makeWhiteNoiseFunction · 0.36
makeChirpFunction · 0.36
makeTremoloToneFunction · 0.36
generateSineWaveFunction · 0.36
generateNoiseFunction · 0.36