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

Method Write

util/system/pipe.cpp:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13ssize_t TPipeHandle::Write(const void* buffer, size_t byteCount) const noexcept {
14#ifdef _win_
15 return send(Fd_, (const char*)buffer, byteCount, 0);
16#else
17 return write(Fd_, buffer, byteCount);
18#endif
19}
20
21bool TPipeHandle::Close() noexcept {
22 bool ok = true;

Callers 15

SaveMethod · 0.45
SavePodTypeFunction · 0.45
SavePodArrayFunction · 0.45
THostEntropyMethod · 0.45
Y_UNIT_TESTFunction · 0.45
TestSockMethod · 0.45
BindMethod · 0.45
Out<TInstant>Function · 0.45
Y_UNIT_TESTFunction · 0.45
TouchFunction · 0.45
RunRenameTestFunction · 0.45
RunHardlinkTestFunction · 0.45

Calls 1

writeFunction · 0.50

Tested by 12

TestSockMethod · 0.36
TestEnsureExistsMethod · 0.36
TestLinkToMethod · 0.36
TestAppendMethod · 0.36
TestReWriteMethod · 0.36
TestResizeMethod · 0.36
TestRWMethod · 0.36
TestRawReadMethod · 0.36
TestReadMethod · 0.36
TestRawPreadMethod · 0.36
TestPreadMethod · 0.36
TestHugeFileFunction · 0.36