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.

  1. bool reallocate(void[] b, size_t s)
    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
    )
  2. bool reallocate(void[] b, size_t s)

Meta