Macaulay2 Engine
Loading...
Searching...
No Matches
◆
Allocate()
void * BIBasis::FastAllocator::Allocate
(
)
inline
Definition at line
75
of file
allocator.hpp
.
76
{
77
if
(!
FreeBlock
)
78
{
79
ExpandMemory
();
80
}
81
82
void
* pointer =
static_cast<
void
*
>
(
FreeBlock
);
83
FreeBlock
=
static_cast<
void
**
>
(*FreeBlock);
84
return
pointer;
85
}
BIBasis::FastAllocator::ExpandMemory
void ExpandMemory()
Definition
allocator.cpp:34
BIBasis::FastAllocator::FreeBlock
void ** FreeBlock
Definition
allocator.hpp:62
References
ExpandMemory()
, and
FreeBlock
.
BIBasis
FastAllocator
Generated on
for Macaulay2 Engine by
1.15.0