Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
google::protobuf::uint128 Class Reference

#include <int128.h>

Public Member Functions

void Initialize (uint64 top, uint64 bottom)
 
uint128operator%= (const uint128 &b)
 
uint128operator&= (const uint128 &b)
 
uint128operator*= (const uint128 &b)
 
uint128operator++ ()
 
uint128 operator++ (int)
 
uint128operator+= (const uint128 &b)
 
uint128operator-- ()
 
uint128 operator-- (int)
 
uint128operator-= (const uint128 &b)
 
uint128operator/= (const uint128 &b)
 
uint128operator<<= (int)
 
uint128operator>>= (int)
 
uint128operator^= (const uint128 &b)
 
uint128operator|= (const uint128 &b)
 
UINT128_CONSTEXPR uint128 ()
 
UINT128_CONSTEXPR uint128 (const uint128_pod &val)
 
UINT128_CONSTEXPR uint128 (int bottom)
 
UINT128_CONSTEXPR uint128 (uint32 bottom)
 
UINT128_CONSTEXPR uint128 (uint64 bottom)
 
UINT128_CONSTEXPR uint128 (uint64 top, uint64 bottom)
 

Private Member Functions

 uint128 (double v)
 
 uint128 (float v)
 
 uint128 (uint16)
 
 uint128 (uint8)
 

Static Private Member Functions

static void DivModImpl (uint128 dividend, uint128 divisor, uint128 *quotient_ret, uint128 *remainder_ret)
 

Private Attributes

uint64 hi_
 
uint64 lo_
 

Friends

PROTOBUF_EXPORT friend std::ostream & operator<< (std::ostream &o, const uint128 &b)
 
uint64 Uint128High64 (const uint128 &v)
 
uint64 Uint128Low64 (const uint128 &v)
 

Detailed Description

Definition at line 53 of file int128.h.

Constructor & Destructor Documentation

◆ uint128() [1/10]

UINT128_CONSTEXPR google::protobuf::uint128::uint128 ( )
inline

Definition at line 146 of file int128.h.

◆ uint128() [2/10]

UINT128_CONSTEXPR google::protobuf::uint128::uint128 ( uint64  top,
uint64  bottom 
)
inline

Definition at line 147 of file int128.h.

◆ uint128() [3/10]

UINT128_CONSTEXPR google::protobuf::uint128::uint128 ( int  bottom)
inline

Definition at line 156 of file int128.h.

◆ uint128() [4/10]

UINT128_CONSTEXPR google::protobuf::uint128::uint128 ( uint32  bottom)
inline

Definition at line 154 of file int128.h.

◆ uint128() [5/10]

UINT128_CONSTEXPR google::protobuf::uint128::uint128 ( uint64  bottom)
inline

Definition at line 151 of file int128.h.

◆ uint128() [6/10]

UINT128_CONSTEXPR google::protobuf::uint128::uint128 ( const uint128_pod val)
inline

Definition at line 149 of file int128.h.

◆ uint128() [7/10]

google::protobuf::uint128::uint128 ( uint8  )
private

◆ uint128() [8/10]

google::protobuf::uint128::uint128 ( uint16  )
private

◆ uint128() [9/10]

google::protobuf::uint128::uint128 ( float  v)
private

◆ uint128() [10/10]

google::protobuf::uint128::uint128 ( double  v)
private

Member Function Documentation

◆ DivModImpl()

void google::protobuf::uint128::DivModImpl ( uint128  dividend,
uint128  divisor,
uint128 quotient_ret,
uint128 remainder_ret 
)
staticprivate

Definition at line 83 of file int128.cc.

◆ Initialize()

void google::protobuf::uint128::Initialize ( uint64  top,
uint64  bottom 
)
inline

Definition at line 162 of file int128.h.

◆ operator%=()

uint128 & google::protobuf::uint128::operator%= ( const uint128 b)

Definition at line 120 of file int128.cc.

◆ operator&=()

uint128& google::protobuf::uint128::operator&= ( const uint128 b)

◆ operator*=()

uint128 & google::protobuf::uint128::operator*= ( const uint128 b)
inline

Definition at line 337 of file int128.h.

◆ operator++() [1/2]

uint128 & google::protobuf::uint128::operator++ ( )
inline

Definition at line 372 of file int128.h.

◆ operator++() [2/2]

uint128 google::protobuf::uint128::operator++ ( int  )
inline

Definition at line 360 of file int128.h.

◆ operator+=()

uint128 & google::protobuf::uint128::operator+= ( const uint128 b)
inline

Definition at line 320 of file int128.h.

◆ operator--() [1/2]

uint128 & google::protobuf::uint128::operator-- ( )
inline

Definition at line 377 of file int128.h.

◆ operator--() [2/2]

uint128 google::protobuf::uint128::operator-- ( int  )
inline

Definition at line 366 of file int128.h.

◆ operator-=()

uint128 & google::protobuf::uint128::operator-= ( const uint128 b)
inline

Definition at line 329 of file int128.h.

◆ operator/=()

uint128 & google::protobuf::uint128::operator/= ( const uint128 b)

Definition at line 113 of file int128.cc.

◆ operator<<=()

uint128 & google::protobuf::uint128::operator<<= ( int  amount)
inline

Definition at line 266 of file int128.h.

◆ operator>>=()

uint128 & google::protobuf::uint128::operator>>= ( int  amount)
inline

Definition at line 283 of file int128.h.

◆ operator^=()

uint128& google::protobuf::uint128::operator^= ( const uint128 b)

◆ operator|=()

uint128& google::protobuf::uint128::operator|= ( const uint128 b)

Friends And Related Function Documentation

◆ operator<<

PROTOBUF_EXPORT friend std::ostream& operator<< ( std::ostream &  o,
const uint128 b 
)
friend

Definition at line 128 of file int128.cc.

◆ Uint128High64

uint64 Uint128High64 ( const uint128 v)
friend

Definition at line 131 of file int128.h.

◆ Uint128Low64

uint64 Uint128Low64 ( const uint128 v)
friend

Definition at line 130 of file int128.h.

Member Data Documentation

◆ hi_

uint64 google::protobuf::uint128::hi_
private

Definition at line 100 of file int128.h.

◆ lo_

uint64 google::protobuf::uint128::lo_
private

Definition at line 99 of file int128.h.


The documentation for this class was generated from the following files:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09