Rapicorn - Experimental UI Toolkit - Source Code  13.07.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Classes | Namespaces | Functions
memory.hh File Reference
#include <rcore/utilities.hh>

Go to the source code of this file.

Classes

class  Rapicorn::IdAllocator
 Class for randomized and thread safe ID allocation. More...
class  Rapicorn::AlignedArray< T, ALIGNMENT >
 Class to maintain an array of aligned memory. More...

Namespaces

namespace  Rapicorn
 

The Rapicorn namespace encompasses core utilities and toolkit functionality.


Functions

int Rapicorn::fmsb (uint64 val)
 The fmsb() function returns the position of the most significant bit set in the word val.
void * Rapicorn::aligned_alloc (size_t total_size, size_t alignment, uint8 **free_pointer)
 Allocate a block of memory aligned to at least alignment bytes.
void Rapicorn::aligned_free (uint8 **free_pointer)
 Release a block of memory allocated through aligned_malloc().

Detailed Description

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines