MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / is_writable

Method is_writable

examples/server/httplib.h:5019–5022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5017}
5018
5019inline bool SocketStream::is_writable() const {
5020 return select_write(sock_, write_timeout_sec_, write_timeout_usec_) > 0 &&
5021 is_socket_alive(sock_);
5022}
5023
5024inline ssize_t SocketStream::read(char *ptr, size_t size) {
5025#ifdef _WIN32

Callers 4

mainFunction · 0.80
write_contentFunction · 0.80
write_content_chunkedFunction · 0.80

Calls 2

select_writeFunction · 0.85
is_socket_aliveFunction · 0.85

Tested by

no test coverage detected