MCPcopy Create free account
hub / github.com/aria2/aria2 / bufferEmpty

Method bufferEmpty

src/SocketRecvBuffer.h:69–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 size_t getBufferLength() const { return last_ - pos_; }
68
69 bool bufferEmpty() const { return pos_ == last_; }
70
71private:
72 std::array<unsigned char, 16_k> buf_;

Callers 11

receiveRequestMethod · 0.80
receiveBodyMethod · 0.80
executeInternalMethod · 0.80
executeInternalMethod · 0.80
checkSocketRecvBufferMethod · 0.80
executeMethod · 0.80
shouldProcessMethod · 0.80
checkSocketRecvBufferMethod · 0.80
HttpServerBodyCommandMethod · 0.80
executeMethod · 0.80
receiveResponseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected