Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ release
Method
release
src/fl/audio/fft/fft.cpp.hpp:35–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
}
34
35
void release(fl::vector<float>&& v) {
36
if (v.capacity() > 0 && mPool.size() < kMaxPoolSize) {
37
v.clear();
38
mPool.push_back(fl::move(v));
39
}
40
}
41
42
void releaseIfNotEmpty(fl::vector<float>&& v) {
43
if (!v.empty()) {
Callers
nothing calls this directly
Calls
4
capacity
Method · 0.45
size
Method · 0.45
clear
Method · 0.45
push_back
Method · 0.45
Tested by
no test coverage detected