The OpenD Programming Language

Bucketizer.goodAllocSize

Rounds up to the maximum size of the bucket in which bytes falls.

struct Bucketizer(Allocator, size_t min, size_t max, size_t step)
pure nothrow @safe @nogc const
size_t
goodAllocSize
(
size_t bytes
)

Meta