Go to the documentation of this file.
17 T*
allocate(
unsigned int nr = 1) {
return reinterpret_cast<T*
>(
allocate(nr*
sizeof(T))); }
22 virtual unsigned char*
allocate(
unsigned int size) = 0;
33 unsigned char*
allocate(
unsigned int size);
35 std::vector<unsigned char *>
mem;
50 unsigned char*
allocate(
unsigned int size);
52 std::vector<unsigned char *>
mem;
53 std::vector<unsigned int >
index;
67 unsigned char*
allocate(
unsigned int size);
unsigned char * allocate(unsigned int size)
ChunkAllocator(unsigned int _csize=(1<< 20))
unsigned long int wastedspace
const unsigned int chunksize
unsigned long int memsize
virtual void printSize() const =0
PackedChunkAllocator(unsigned int _csize=(1<< 20))
SequentialAllocator(unsigned char *base_ptr, unsigned int max_size)
Handle a preallocated memory up to max_size.
unsigned char * m_base_ptr
unsigned char * allocate(unsigned int size)
std::vector< unsigned int > index
const unsigned int chunksize
unsigned char * allocate(unsigned int size)
std::vector< unsigned char * > mem
T * allocate(unsigned int nr=1)
unsigned long int memsize
std::vector< unsigned char * > mem
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:22