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

Function memory

src/fl/stl/vector.h:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66
67 const T *memory() const FL_NOEXCEPT {
68 const MemoryType *begin = &mMemoryBlock[0];
69 const fl::uptr shift_up =
70 fl::ptr_to_int(begin) & (sizeof(MemoryType) - 1);
71 const MemoryType *raw = begin + shift_up;
72 return fl::bit_cast<const T *>(raw);
73 }
74
75#ifdef FASTLED_TESTING
76 T *__data = nullptr;

Callers 5

vector.hFile · 0.85
push_backFunction · 0.85
emplace_backFunction · 0.85
beginFunction · 0.85
endFunction · 0.85

Calls 1

ptr_to_intFunction · 0.85

Tested by

no test coverage detected