Medial Code Documentation
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions
xgboost::LBitsPolicy< VT, IsConst > Struct Template Reference
Inheritance diagram for xgboost::LBitsPolicy< VT, IsConst >:
xgboost::BitFieldContainer< VT, Direction, IsConst >

Public Types

using Container = BitFieldContainer< VT, LBitsPolicy< VT, IsConst >, IsConst >
 
using Pos = typename Container::Pos
 
using value_type = typename Container::value_type
 
- Public Types inherited from xgboost::BitFieldContainer< VT, Direction, IsConst >
using value_type = std::conditional_t< IsConst, 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, Direction, IsConst >
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, Direction, IsConst >
XGBOOST_DEVICE BitFieldContainer (common::Span< value_type > bits)
 
 BitFieldContainer (BitFieldContainer const &other)=default
 
 BitFieldContainer (BitFieldContainer &&other)=default
 
BitFieldContaineroperator= (BitFieldContainer const &that)=default
 
BitFieldContaineroperator= (BitFieldContainer &&that)=default
 
XGBOOST_DEVICE auto Bits ()
 
XGBOOST_DEVICE auto Bits () const
 
BitFieldContaineroperator|= (BitFieldContainer const &rhs)
 
BitFieldContaineroperator&= (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, Direction, IsConst >
static index_type constexpr kValueSize = sizeof(value_type) * 8
 
static index_type constexpr kOne = 1
 

The documentation for this struct was generated from the following file: