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

Method circular_buffer

src/fl/stl/circular_buffer.h:168–171  ·  view source on GitHub ↗

Default constructor — pre-sizes to N (useful when N > 0).

Source from the content-addressed store, hash-verified

166 public:
167 // Default constructor — pre-sizes to N (useful when N > 0).
168 circular_buffer() FL_NOEXCEPT {
169 mStorage.resize(N);
170 mCore.assign(mStorage.data(), N);
171 }
172
173 // PMR-aware constructor.
174 explicit circular_buffer(memory_resource* resource)

Callers

nothing calls this directly

Calls 10

setHeadMethod · 0.80
headMethod · 0.80
setTailMethod · 0.80
tailMethod · 0.80
setFullMethod · 0.80
resizeMethod · 0.45
assignMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
isFullMethod · 0.45

Tested by

no test coverage detected