module juptune.core.ds.block;
struct MemoryBlockPoolAllocatorConfig
{
/++ STRUCTS ++/
///
static struct PowerOfTwo
{
/++ MANIFEST CONSTANTS ++/
///
enum MemoryBlockPoolAllocatorConfig.PowerOfTwo[15LU] DefaultArray = [PowerOfTwo(18446744073709551615LU, 16LU, true, 8LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 9LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 10LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 11LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 12LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 13LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 14LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 15LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 16LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 17LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 18LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 19LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 20LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 21LU), PowerOfTwo(18446744073709551615LU, 16LU, true, 22LU)];
/++ VARIABLES ++/
///
ulong blocksPerAllocation;
///
ulong maxBlockCount;
///
ulong powerOfTwo;
///
bool preallocOnFailure;
}
/++ FUNCTIONS ++/
///
MemoryBlockPoolAllocatorConfig withPowerConfig(ulong powerOfTwo, MemoryBlockPoolAllocatorConfig.PowerOfTwo config);
/++ VARIABLES ++/
///
MemoryBlockPoolAllocatorConfig.PowerOfTwo[15LU] powerConfig;
}