MCPcopy Create free account
hub / github.com/dmlc/xgboost / Size

Method Size

include/xgboost/data.h:392–392  ·  view source on GitHub ↗

! \return Number of instances in the page. */

Source from the content-addressed store, hash-verified

390
391 /*! \return Number of instances in the page. */
392 [[nodiscard]] size_t Size() const { return offset.Size() == 0 ? 0 : offset.Size() - 1; }
393
394 /*! \return estimation of memory cost of this page */
395 [[nodiscard]] size_t MemCostBytes() const {

Callers 7

GetTransposeMethod · 0.95
IsIndicesSortedMethod · 0.95
SortIndicesMethod · 0.95
SortRowsMethod · 0.95
PushMethod · 0.95
GetWeightMethod · 0.45
MemCostBytesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected