|
Medial Code Documentation
|
Public Types | |
| using | Container = BitFieldContainer< VT, RBitsPolicy< VT > > |
| using | Pos = typename Container::Pos |
| using | value_type = typename Container::value_type |
Public Types inherited from xgboost::BitFieldContainer< VT, RBitsPolicy< VT > > | |
| using | value_type = std::conditional_t< false, VT const, VT > |
| using | size_type = size_t |
| using | index_type = size_t |
| using | pointer = value_type * |
Static Public Member Functions | |
| static XGBOOST_DEVICE Pos | Shift (Pos pos) |
Static Public Member Functions inherited from xgboost::BitFieldContainer< VT, RBitsPolicy< VT > > | |
| static XGBOOST_DEVICE Pos | ToBitPos (index_type pos) |
| static XGBOOST_DEVICE size_t | ComputeStorageSize (index_type size) |
Additional Inherited Members | |
Public Member Functions inherited from xgboost::BitFieldContainer< VT, RBitsPolicy< VT > > | |
| XGBOOST_DEVICE | BitFieldContainer (common::Span< value_type > bits) |
| BitFieldContainer (BitFieldContainer const &other)=default | |
| BitFieldContainer (BitFieldContainer &&other)=default | |
| BitFieldContainer & | operator= (BitFieldContainer const &that)=default |
| BitFieldContainer & | operator= (BitFieldContainer &&that)=default |
| XGBOOST_DEVICE auto | Bits () |
| XGBOOST_DEVICE auto | Bits () const |
| BitFieldContainer & | operator|= (BitFieldContainer const &rhs) |
| BitFieldContainer & | operator&= (BitFieldContainer const &rhs) |
| void | Set (index_type pos) noexcept(true) |
| void | Clear (index_type pos) noexcept(true) |
| XGBOOST_DEVICE bool | Check (Pos pos_v) const noexcept(true) |
| XGBOOST_DEVICE bool | Check (index_type pos) const noexcept(true) |
| XGBOOST_DEVICE size_type | Capacity () const noexcept(true) |
| Returns the total number of bits that can be viewed. | |
| XGBOOST_DEVICE size_type | NumValues () const noexcept(true) |
| Number of storage unit used in this bit field. | |
| XGBOOST_DEVICE pointer | Data () const noexcept(true) |
Static Public Attributes inherited from xgboost::BitFieldContainer< VT, RBitsPolicy< VT > > | |
| static index_type constexpr | kValueSize |
| static index_type constexpr | kOne |