Macaulay2 Engine
Loading...
Searching...
No Matches
doubling_stash Class Reference

#include <mem.hpp>

Inheritance diagram for doubling_stash:
our_new_delete

Public Member Functions

 doubling_stash ()
 ~doubling_stash ()
void * new_elem (size_t size)
void delete_elem (void *p)
size_t allocated_size (void *p)

Private Member Functions

 doubling_stash (const doubling_stash &)
void operator= (const doubling_stash &)

Private Attributes

stashdoubles [NDOUBLES]
size_t double_size [NDOUBLES]

Additional Inherited Members

Static Public Member Functions inherited from our_new_delete
static void * operator new (size_t size)
static void * operator new[] (size_t size)
static void operator delete (void *obj)
static void operator delete[] (void *obj)
static void * operator new (size_t size, void *existing_memory)
static void * operator new[] (size_t size, void *existing_memory)
static void operator delete (void *obj, void *existing_memory)
static void operator delete[] (void *obj, void *existing_memory)

Detailed Description

The doubling stash essentially is a list of stashes of different sizes. The sizes start at 2 and run to 2*2^NDOUBLES

Definition at line 184 of file mem.hpp.


The documentation for this class was generated from the following files: