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

Method Write

util/system/shellcommand.cpp:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 return doneBytes;
166 }
167 ssize_t Write(const void* buffer, size_t byteCount) const noexcept {
168 DWORD doneBytes;
169 if (!WriteFile(Fd_, buffer, byteCount, &doneBytes, nullptr)) {
170 return -1;
171 }
172 return doneBytes;
173 }
174
175 static void Pipe(TRealPipeHandle& reader, TRealPipeHandle& writer, EOpenMode mode) {
176 (void)mode;

Callers 3

ReadStreamMethod · 0.45
WriteStreamMethod · 0.45
CommunicateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected