asmjit::Support Namespace Reference [¶]
Contains support classes and functions that may be used by AsmJit source and header files. Anything defined here is considered internal and should not be used outside of AsmJit and related projects like AsmTK.
Contains support classes and functions that may be used by AsmJit source and header files. Anything defined here is considered internal and should not be used outside of AsmJit and related projects like AsmTK.
std_int_t is a shortcut to std_int<Size, IsUnsigned>::type.
std_sint_t is a shortcut to std_int<Size, false>::type.
std_uint_t is a shortcut to std_int<Size, true>::type.
Storage used to store bits in a single word as a standard type as defined by <stdint.h>.
Silences warnings about unused arguments or variables - more variables can be passed to maybe_unused() at once.
Pack four 8-bit integer into a 32-bit integer as it is an array of {b0,b1,b2,b3}.
Compares two string views.
Sets bit in a bit-vector buf at index.
Sets bit in a bit-vector buf at index to value.
Sets bit in a bit-vector buf at index to value.
Sets bit in a bit-vector buf at index to value.
Fills count bits in bit-vector buf starting at bit-index index.
Clears count bits in bit-vector buf starting at bit-index index.
Insertion sort.
Quick sort implementation.
The main reason to provide a custom qsort implementation is that we needed something that will never throw bad_alloc exception. This implementation doesn't use dynamic memory allocation.