Grok
7.6.3
|
Go to the source code of this file.
Namespaces | |
ojph | |
Macros | |
#define | OJPH_EXPORT |
Functions | |
int | ojph::cpu_ext_level () |
static ui32 | ojph::population_count (ui32 val) |
static ui32 | ojph::count_leading_zeros (ui32 val) |
static ui32 | ojph::count_trailing_zeros (ui32 val) |
static si32 | ojph::ojph_round (float val) |
static si32 | ojph::ojph_trunc (float val) |
template<typename T , int N> | |
size_t | ojph::calc_aligned_size (size_t size) |
template<typename T , int N> | |
T * | ojph::align_ptr (T *ptr) |
Variables | |
const ui32 | ojph::byte_alignment = 32 |
const ui32 | ojph::log_byte_alignment = 31 - count_leading_zeros(byte_alignment) |
const ui32 | ojph::object_alignment = 8 |
#define OJPH_EXPORT |