StatsCollector.expand

Defined whether or not Allocator.expand is defined. Affects per instance: numExpand, numExpandOK, bytesExpanded, bytesSlack, bytesAllocated, and bytesUsed. Affects per call: numExpand, numExpandOK, bytesExpanded, and bytesAllocated.

  1. bool expand(void[] b, size_t delta)
    struct StatsCollector(Allocator, ulong flags = Options.all, ulong perCallFlags = 0)
    static if(!(perCallFlags & (Options.numExpand | Options.numExpandOK | Options.bytesExpanded)))
    bool
    expand
    (
    ref void[] b
    ,
    size_t delta
    )
  2. bool expand(void[] b, size_t delta)

Meta