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

Function InitializeRange

tests/cpp/common/test_span.h:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10template <typename Iter>
11XGBOOST_DEVICE void InitializeRange(Iter _begin, Iter _end) {
12 float j = 0;
13 for (Iter i = _begin; i != _end; ++i, ++j) {
14 *i = j;
15 }
16}
17
18namespace xgboost {
19namespace common {

Callers 9

operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85
operator()Method · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected