Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Structs MemoryBlockPoolAllocatorConfig

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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;
}

Functions

Name Description
withPowerConfig

Structs

Name Description
PowerOfTwo

Variables

Name Description
powerConfig