MCPcopy Create free account
hub / github.com/catboost/catboost / CheckAllFeaturesPresent

Function CheckAllFeaturesPresent

catboost/libs/column_description/cd_parser.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace {
20
21 inline void CheckAllFeaturesPresent(const TVector<TColumn>& columns, const TSet<size_t>& parsedColumns) {
22 for (size_t i = 0; i < columns.size(); ++i) {
23 CB_ENSURE(parsedColumns.contains(i), "column not present in cd file: " << i);
24 }
25 }
26
27 void ProcessColumnAfterIndex(
28 TStringBuf srcDescription,

Callers 1

ReadCDImplFunction · 0.85

Calls 2

sizeMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected