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

Method Load

util/system/file.cpp:1061–1065  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1059 }
1060
1061 void Load(void* buf, size_t len) {
1062 if (Read(buf, len) != len) {
1063 ythrow TFileError() << "can't read " << len << " bytes from " << FileName_.Quote();
1064 }
1065 }
1066
1067 // Maximum amount of bytes to be written via single system call.
1068 // Some libraries fail when it is greater than max int.

Callers

nothing calls this directly

Calls 1

ReadFunction · 0.50

Tested by

no test coverage detected