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

Function read_n

net/basic_socket.cpp:158–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158ssize_t read_n(int fd, void *buf, size_t count, Timeout timeout) {
159 return DOIO_LOOP(read(fd, buf, count, timeout), BufStep(buf, count));
160}
161
162ssize_t sendfile_n(int out_fd, int in_fd, off_t *offset, size_t count,
163 Timeout timeout) {

Callers 4

TESTFunction · 0.85
serverFunction · 0.85
st_read_fullyFunction · 0.85
st_read_residFunction · 0.85

Calls 2

readFunction · 0.85
BufStepClass · 0.70

Tested by 1

TESTFunction · 0.68