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

Method is_readable

examples/server/httplib.h:5015–5017  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5013inline SocketStream::~SocketStream() {}
5014
5015inline bool SocketStream::is_readable() const {
5016 return select_read(sock_, read_timeout_sec_, read_timeout_usec_) > 0;
5017}
5018
5019inline bool SocketStream::is_writable() const {
5020 return select_write(sock_, write_timeout_sec_, write_timeout_usec_) > 0 &&

Callers

nothing calls this directly

Calls 1

select_readFunction · 0.85

Tested by

no test coverage detected