tudocomp
– The TU Dortmund Compression Framework
|
Custom integer type for storing values of arbitrary bit size bits
.
More...
#include <uint_t.hpp>
Public Member Functions | |
constexpr | uint_impl_t () |
constexpr | uint_impl_t (uint_impl_t &&i) |
constexpr | uint_impl_t (const uint_impl_t &i) |
uint_impl_t & | operator= (const uint_impl_t &b) |
constexpr | uint_impl_t (unsigned char i) |
uint_impl_t & | operator= (unsigned char data) |
constexpr | operator unsigned char () const |
constexpr | uint_impl_t (signed char i) |
uint_impl_t & | operator= (signed char data) |
constexpr | operator signed char () const |
constexpr | uint_impl_t (char i) |
constexpr uint_impl_t & | operator= (char data) |
constexpr | operator char () const |
constexpr | uint_impl_t (unsigned int i) |
uint_impl_t & | operator= (unsigned int data) |
constexpr | operator unsigned int () const |
constexpr | uint_impl_t (unsigned short int i) |
uint_impl_t & | operator= (unsigned short int data) |
constexpr | operator unsigned short int () const |
constexpr | uint_impl_t (unsigned long int i) |
uint_impl_t & | operator= (unsigned long int data) |
constexpr | operator unsigned long int () const |
constexpr | uint_impl_t (unsigned long long int i) |
uint_impl_t & | operator= (unsigned long long int data) |
constexpr | operator unsigned long long int () const |
constexpr | uint_impl_t (int i) |
uint_impl_t & | operator= (int data) |
constexpr | operator int () const |
constexpr | uint_impl_t (short int i) |
uint_impl_t & | operator= (short int data) |
constexpr | operator short int () const |
constexpr | uint_impl_t (long int i) |
uint_impl_t & | operator= (long int data) |
constexpr | operator long int () const |
constexpr | uint_impl_t (long long int i) |
uint_impl_t & | operator= (long long int data) |
constexpr | operator long long int () const |
Friends | |
struct | UinttDispatch< uint32_t > |
struct | UinttDispatch< uint64_t > |
Custom integer type for storing values of arbitrary bit size bits
.
It is guaranteed that this type will only have a byte size as large as needed to store all bits, but there will be padding bits for values not multiples of 8.
In practice useful sizes are 40, 48 and 56 bits. 40 bit indices correspond to 1TiB of addressable memory, and 48 bit correspond to today's hardware limits of the x86_64 architecture.
Definition at line 11 of file uint_t.hpp.
|
inline |
Definition at line 80 of file uint_t.hpp.
|
inline |
Definition at line 81 of file uint_t.hpp.
|
inline |
Definition at line 84 of file uint_t.hpp.
|
inline |
Definition at line 88 of file uint_t.hpp.
|
inline |
Definition at line 92 of file uint_t.hpp.
|
inline |
Definition at line 96 of file uint_t.hpp.
|
inline |
Definition at line 101 of file uint_t.hpp.
|
inline |
Definition at line 105 of file uint_t.hpp.
|
inline |
Definition at line 109 of file uint_t.hpp.
|
inline |
Definition at line 113 of file uint_t.hpp.
|
inline |
Definition at line 117 of file uint_t.hpp.
|
inline |
Definition at line 121 of file uint_t.hpp.
|
inline |
Definition at line 125 of file uint_t.hpp.
|
inline |
Definition at line 129 of file uint_t.hpp.
|
inline |
Definition at line 98 of file uint_t.hpp.
|
inline |
Definition at line 119 of file uint_t.hpp.
|
inline |
Definition at line 127 of file uint_t.hpp.
|
inline |
Definition at line 131 of file uint_t.hpp.
|
inline |
Definition at line 123 of file uint_t.hpp.
|
inline |
Definition at line 94 of file uint_t.hpp.
|
inline |
Definition at line 90 of file uint_t.hpp.
|
inline |
Definition at line 103 of file uint_t.hpp.
|
inline |
Definition at line 111 of file uint_t.hpp.
|
inline |
Definition at line 115 of file uint_t.hpp.
|
inline |
Definition at line 107 of file uint_t.hpp.
|
inline |
Definition at line 85 of file uint_t.hpp.
|
inline |
Definition at line 89 of file uint_t.hpp.
|
inline |
Definition at line 93 of file uint_t.hpp.
|
inline |
Definition at line 97 of file uint_t.hpp.
|
inline |
Definition at line 102 of file uint_t.hpp.
|
inline |
Definition at line 106 of file uint_t.hpp.
|
inline |
Definition at line 110 of file uint_t.hpp.
|
inline |
Definition at line 114 of file uint_t.hpp.
|
inline |
Definition at line 118 of file uint_t.hpp.
|
inline |
Definition at line 122 of file uint_t.hpp.
|
inline |
Definition at line 126 of file uint_t.hpp.
|
inline |
Definition at line 130 of file uint_t.hpp.
|
friend |
Definition at line 76 of file uint_t.hpp.
|
friend |
Definition at line 77 of file uint_t.hpp.