Macaulay2 Engine
Loading...
Searching...
No Matches

◆ FastAllocator()

BIBasis::FastAllocator::FastAllocator ( const size_t blockSize)

Definition at line 22 of file allocator.cpp.

23 : MemoryPageSize(1048576)
24 , TSize(int_divide_ceil(blockSize,sizeof(void*)))
26 , FreeBlock(nullptr)
27 {
28 }
#define int_divide_ceil(x, y)
Definition allocator.cpp:17
#define int_divide_floor(x, y)
Definition allocator.cpp:18
const size_t MemoryPageSize
Definition allocator.hpp:59
const size_t PageSize
Definition allocator.hpp:61

References FreeBlock, int_divide_ceil, int_divide_floor, MemoryPageSize, PageSize, and TSize.