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

Method TMappedFileInput

util/stream/file.cpp:97–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95};
96
97TMappedFileInput::TMappedFileInput(const TFile& file)
98 : TMemoryInput(nullptr, 0)
99 , Impl_(new TImpl(file))
100{
101 Reset(Impl_->Data(), Impl_->Size());
102}
103
104TMappedFileInput::TMappedFileInput(const TString& path)
105 : TMemoryInput(nullptr, 0)

Callers

nothing calls this directly

Calls 4

ResetFunction · 0.50
TFileClass · 0.50
DataMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected