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

Method Read

util/system/pipe.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 }
99
100 size_t Read(void* buffer, size_t count) const {
101 ssize_t r = Handle_.Read(buffer, count);
102 if (r < 0) {
103 ythrow TFileError() << "failed to read from pipe";
104 }
105 return r;
106 }
107
108 size_t Write(const void* buffer, size_t count) const {
109 ssize_t r = Handle_.Write(buffer, count);

Callers

nothing calls this directly

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected