MCPcopy Create free account
hub / github.com/beefytech/Beef / sizedDeleteImpl

Function sizedDeleteImpl

BeefRT/JEMalloc/src/jemalloc_cpp.cpp:189–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187#if __cpp_sized_deallocation >= 201309
188
189JEMALLOC_ALWAYS_INLINE
190void
191sizedDeleteImpl(void* ptr, std::size_t size) noexcept {
192 if (unlikely(ptr == nullptr)) {
193 return;
194 }
195 je_sdallocx_noflags(ptr, size);
196}
197
198void
199operator delete(void *ptr, std::size_t size) noexcept {

Callers 2

operator deleteFunction · 0.85
operator delete[]Function · 0.85

Calls 1

je_sdallocx_noflagsFunction · 0.85

Tested by

no test coverage detected