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

Method KeyByIndex

library/cpp/archive/directory_models_archive_reader.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26TString TDirectoryModelsArchiveReader::KeyByIndex(size_t n) const {
27 Y_ENSURE(n < Count(), "incorrect index " << n);
28 return Recs_[n];
29}
30
31bool TDirectoryModelsArchiveReader::Has(const TStringBuf key) const {
32 return BlobByKey_.contains(key) || PathByKey_.contains(key);

Callers 1

LoadFilesAndSubdirsMethod · 0.45

Calls 1

CountFunction · 0.50

Tested by

no test coverage detected