100 uint32_t delta = ((cap >> 1) + (cap >> 3) + 2) & ~1;
107 printf(
" .. (%p) cap = %u\n",
this, cap);
111 memory =
static_cast<T*
>(
xrealloc(memory,
sizeof(T)*cap));
Basic declarations, included by all source files.
const T * lea(Ref r) const
const T & operator[](Ref r) const
void capacity(uint32_t min_cap)
void moveTo(RegionAllocator &to)
RegionAllocator(uint32_t start_cap=1024 *1024)
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
static void * xrealloc(void *ptr, size_t size)