14 #if defined(GTE_COLLECT_UINTEGERAP32_STATISTICS) 15 std::atomic<size_t> UIntegerAP32::msMaxSize;
38 mBits[0] = (number >> last);
45 #if defined(GTE_COLLECT_UINTEGERAP32_STATISTICS) 70 #if defined(GTE_COLLECT_UINTEGERAP32_STATISTICS) 78 mBits(1 + (numBits - 1) / 32)
80 #if defined(GTE_COLLECT_UINTEGERAP32_STATISTICS) 94 *
this = std::move(number);
100 mBits = std::move(number.mBits);
110 mBits.resize(1 + (numBits - 1) / 32);
117 #if defined(GTE_COLLECT_UINTEGERAP32_STATISTICS) 130 if (output.write((
char const*)&size,
sizeof(size)).bad())
135 return output.write((
char const*)&
mBits[0], size*
sizeof(
mBits[0])).good();
146 if (input.read((
char*)&size,
sizeof(size)).bad())
152 return input.read((
char*)&
mBits[0], size*
sizeof(
mBits[0])).good();
GTE_IMPEXP int32_t GetTrailingBit(uint32_t value)
std::vector< uint32_t > mBits
UIntegerAP32 & operator=(UIntegerAP32 const &number)
GTE_IMPEXP int32_t GetLeadingBit(uint32_t value)
void SetNumBits(uint32_t numBits)
bool Read(std::ifstream &input)
#define GTE_GET_HI_U64(v)
#define GTE_GET_LO_U64(v)
GLenum GLenum GLenum input
T AtomicMax(std::atomic< T > &v0, T const &v1)
bool Write(std::ofstream &output) const