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

Method do_allocate

tests/misc/containers.cpp:1512–1516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1510
1511 protected:
1512 void* do_allocate(fl::size bytes) override {
1513 ++allocate_count;
1514 total_bytes_allocated += bytes;
1515 return fl::Malloc(bytes);
1516 }
1517 void do_deallocate(void* p, fl::size bytes) override {
1518 ++deallocate_count;
1519 fl::Free(p);

Callers

nothing calls this directly

Calls 1

MallocFunction · 0.85

Tested by

no test coverage detected