MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / writev

Method writev

net/pooled_socket.cpp:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 iovector_view((struct iovec*)iov, iovcnt).sum());
74 }
75 ssize_t writev(const struct iovec* iov, int iovcnt) override {
76 FORWARD_SOCK_ACT(less, writev(iov, iovcnt),
77 iovector_view((struct iovec*)iov, iovcnt).sum());
78 }
79 ssize_t writev_mutable(struct iovec* iov, int iovcnt) override {
80 FORWARD_SOCK_ACT(less, writev_mutable(iov, iovcnt),
81 iovector_view((struct iovec*)iov, iovcnt).sum());

Callers

nothing calls this directly

Calls 3

writevFunction · 0.85
iovector_viewClass · 0.50
sumMethod · 0.45

Tested by

no test coverage detected