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

Function WriteSome

library/cpp/neh/asio/tcp_socket_impl.h:279–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277 }
278
279 size_t WriteSome(TContIOVector& iov, TErrorCode& ec) noexcept {
280 for (;;) {
281 ssize_t n = writev(S_, (const iovec*)iov.Parts(), Min(IOV_MAX, (int)iov.Count()));
282 DBGOUT("WriteSome(): n=" << n);
283 if (SysCallHasResult(n, ec)) {
284 return n;
285 }
286 }
287 }
288
289 size_t WriteSome(const void* buff, size_t size, TErrorCode& ec) noexcept {
290 for (;;) {

Callers 1

WriteSomeMethod · 0.85

Calls 5

writevFunction · 0.85
SysCallHasResultFunction · 0.85
PartsMethod · 0.80
MinFunction · 0.50
CountMethod · 0.45

Tested by

no test coverage detected