MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / SizedAlignedDelete

Function SizedAlignedDelete

internal/new.cc:128–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void SizedAlignedDelete(void* ptr, size_t size,
129 std::align_val_t alignment) noexcept {
130 ABSL_DCHECK(absl::has_single_bit(static_cast<size_t>(alignment)));
131#ifdef CEL_INTERNAL_HAVE_ALIGNED_NEW
132#ifdef CEL_INTERNAL_HAVE_SIZED_DELETE
133 ::operator delete(ptr, size, alignment);
134#else
135 ::operator delete(ptr, alignment);
136#endif
137#else
138 AlignedDelete(ptr, alignment);
139#endif
140}
141
142} // namespace cel::internal

Callers 3

TESTFunction · 0.85
deallocate_bytesMethod · 0.85
deallocateMethod · 0.85

Calls 1

AlignedDeleteFunction · 0.85

Tested by 1

TESTFunction · 0.68