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

Method getSlabCount

src/fl/stl/allocator.h:672–678  ·  view source on GitHub ↗

Get number of slabs

Source from the content-addressed store, hash-verified

670
671 // Get number of slabs
672 fl::size getSlabCount() const FL_NOEXCEPT {
673 fl::size count = 0;
674 for (Slab* slab = mSlabs; slab; slab = slab->next) {
675 ++count;
676 }
677 return count;
678 }
679
680 // Cleanup all slabs
681 void cleanup() FL_NOEXCEPT {

Callers 1

FL_TEST_FILEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected