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

Method c_str

include/xgboost/string_view.h:50–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 return {str_ + beg, len};
49 }
50 [[nodiscard]] value_type const* c_str() const { return str_; } // NOLINT
51
52 [[nodiscard]] constexpr const_iterator cbegin() const { return str_; } // NOLINT
53 [[nodiscard]] constexpr const_iterator cend() const { return str_ + size(); } // NOLINT

Calls

no outgoing calls

Tested by 15

TestLearnerSerializationFunction · 0.64
SetUpMethod · 0.64
SetUpMethod · 0.64
SetUpMethod · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TestUpdaterJsonIOFunction · 0.64
TESTFunction · 0.64
MakeLabelForTestFunction · 0.64
MakeSimpleDMatrixForTestFunction · 0.64