Implementation for file inc/util/le_malloc.h.
More...
#include <vector>
#include "inc/util/le_malloc.h"
#include "inc/util/l_malloc.h"
|
void | syten::le_free (void *ptr) |
| Frees the space of memory pointed to by ptr . More...
|
|
void * | syten::le_malloc (std::size_t const size, std::size_t const alignment=64) |
| Allocates a region of heap memory at least size bytes large, aligned to alignment boundary in a special pool designed for eternal small objects (e.g. reps). More...
|
|
template<typename T , typename U > |
constexpr T | syten::EternalMalloc::next_multiple (T const current, U const alignment) |
| Casts current to the type of alignment and adds the difference to the next value at which U(current) % alignment is zero; i.e. if alignment is 64, it returns the smallest value greater than current which is divisible by 64. More...
|
|
Implementation for file inc/util/le_malloc.h.