#include <type_traits>
#include <jau/int_math.hpp>
Go to the source code of this file.
|
namespace | jau |
| __pack(...): Produces MSVC, clang and gcc compatible lead-in and -out macros.
|
|
namespace | jau::CT |
| Functions for constant time operations on data and testing of constant time annotations using valgrind.
|
|
|
template<typename T > |
Mask< T > | jau::CT::conditional_copy_mem (T cnd, T *to, const T *from0, const T *from1, size_t elems) noexcept |
|
template<typename T > |
void | jau::CT::conditional_swap (bool cnd, T &x, T &y) noexcept |
|
template<typename T > |
void | jau::CT::conditional_swap_ptr (bool cnd, T &x, T &y) noexcept |
|
template<typename T > |
void | jau::CT::poison (const T *p, size_t n) |
| Use valgrind to mark the contents of memory as being undefined. More...
|
|
template<typename T > |
void | jau::CT::unpoison (const T *p, size_t n) |
|
template<typename T > |
void | jau::CT::unpoison (T &p) |
|