#include <pallocator.hpp>
◆ ~allocator()
std::pallocator::~allocator |
( |
| ) |
|
|
inline |
◆ allocate()
virtual void* std::pallocator::allocate |
( |
unsigned int |
bytes, |
|
|
int |
flags = 0 |
|
) |
| |
|
inlinevirtual |
45 unsigned bnum = (unsigned) ((bytes + 1) / (
PALLOC_SIZE * 1024)) + 1;
#define PALLOC_SIZE
Definition: palloc.h:40
void * palloc(size_t size)
allocated memory
Definition: palloc.c:69
◆ allocate_aligned()
virtual void* std::pallocator::allocate_aligned |
( |
unsigned int |
bytes, |
|
|
unsigned int |
alignment, |
|
|
int |
flags = 0 |
|
) |
| |
|
inlinevirtual |
◆ allocator()
std::pallocator::allocator |
( |
const char * |
name = "palloc" | ) |
|
|
inlineexplicit |
◆ deallocate()
virtual void std::pallocator::deallocate |
( |
void * |
ptr, |
|
|
unsigned int |
bytes |
|
) |
| |
|
inlinevirtual |
void pfree(void *addr)
DeAlloceted the memory.
Definition: palloc.c:34
◆ get_name()
const char* std::pallocator::get_name |
( |
| ) |
const |
|
inline |
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: