Mimallocator.goodAllocSize

Return the memory size that will be allocated asking for the minimum required size.

struct Mimallocator
@trusted @nogc nothrow shared
size_t
goodAllocSize
(
size_t size
)

Parameters

size size_t

The minimal required size in bytes.

Return Value

Type: size_t

the size n that will be allocated, where n >= size.

Meta