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

Method KeyByIndex

library/cpp/archive/yarchive.cpp:306–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 }
305
306 inline TString KeyByIndex(size_t n) const {
307 if (n < Count()) {
308 return Recs_[n]->Name();
309 }
310
311 ythrow yexception() << "incorrect index";
312 }
313
314 inline bool Has(const TStringBuf key) const {
315 return Dict_.contains(key);

Callers

nothing calls this directly

Calls 2

CountFunction · 0.50
NameMethod · 0.45

Tested by

no test coverage detected