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

Method FromFileContentSingleThreaded

util/memory/blob.cpp:327–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327TBlob TBlob::FromFileContentSingleThreaded(const TString& path) {
328 TFile file(path, RdOnly);
329 return ConstructFromFileContent<TSimpleCounter>(file, 0, file.GetLength());
330}
331
332TBlob TBlob::FromFileContent(const TString& path) {
333 TFile file(path, RdOnly);

Callers

nothing calls this directly

Calls 1

GetLengthMethod · 0.45

Tested by

no test coverage detected