Macaulay2 Engine
Loading...
Searching...
No Matches
◆
allocated_size()
size_t
doubling_stash::allocated_size
(
void *
p
)
Definition at line
165
of file
mem.cpp
.
166
{
167
int
*q =
reinterpret_cast<
int
*
>
(
p
);
168
assert(q[-1] >= 0);
169
assert(q[-1] <=
NDOUBLES
);
170
return
double_size
[q[-1]];
171
}
doubling_stash::double_size
size_t double_size[NDOUBLES]
Definition
mem.hpp:202
p
int p
Definition
godboltTest.cpp:36
NDOUBLES
const int NDOUBLES
Definition
mem.hpp:42
References
double_size
,
NDOUBLES
, and
p
.
doubling_stash
Generated on
for Macaulay2 Engine by
1.15.0