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

Function DoReadVector

library/cpp/coroutine/engine/network.cpp:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 }
19
20 ssize_t DoReadVector(SOCKET fd, TContIOVector* vec) noexcept {
21 return readv(fd, (const iovec*) vec->Parts(), Min(IOV_MAX, (int) vec->Count()));
22 }
23
24 ssize_t DoWriteVector(SOCKET fd, TContIOVector* vec) noexcept {
25 return writev(fd, (const iovec*) vec->Parts(), Min(IOV_MAX, (int) vec->Count()));

Callers 1

ReadVectorDFunction · 0.85

Calls 4

readvFunction · 0.85
PartsMethod · 0.80
MinFunction · 0.50
CountMethod · 0.45

Tested by

no test coverage detected