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

Function ReadD

library/cpp/coroutine/engine/network.cpp:143–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142
143 TContIOStatus ReadD(TCont* cont, SOCKET fd, void* buf, size_t len, TInstant deadline) noexcept {
144 IOutputStream::TPart part(buf, len);
145 TContIOVector vec(&part, 1);
146 return ReadVectorD(cont, fd, &vec, deadline);
147 }
148
149 TContIOStatus ReadT(TCont* cont, SOCKET fd, void* buf, size_t len, TDuration timeout) noexcept {
150 return ReadD(cont, fd, buf, len, timeout.ToDeadLine());

Callers 4

ReadTFunction · 0.85
ReadIFunction · 0.85
operator()Method · 0.85
DoIoSleepFunction · 0.85

Calls 1

ReadVectorDFunction · 0.85

Tested by

no test coverage detected