StatsCollector.reallocate

Defined whether or not Allocator.reallocate is defined. Affects per instance: numReallocate, numReallocateOK, numReallocateInPlace, bytesNotMoved, bytesAllocated, bytesSlack, bytesExpanded, and bytesContracted. Affects per call: numReallocate, numReallocateOK, numReallocateInPlace, bytesNotMoved, bytesExpanded, bytesContracted, and bytesMoved.

struct StatsCollector(Allocator, ulong flags = Options.all, ulong perCallFlags = 0)
static if(!(perCallFlags & (Options.numReallocate | Options.numReallocateOK | Options.numReallocateInPlace | Options.bytesNotMoved | Options.bytesExpanded | Options.bytesContracted | Options.bytesMoved)))
bool
reallocate
(
ref void[] b
,
size_t s
)

Meta