MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / PopRecvBuff

Method PopRecvBuff

pcsx2/DEV9/Sessions/TCP_Session/TCP_Session.cpp:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 _recvBuff.Enqueue(std::move(tcp));
24 }
25 std::optional<ReceivedPayload> TCP_Session::PopRecvBuff()
26 {
27 ReceivedPayload ret;
28 if (_recvBuff.Dequeue(&ret))
29 return ret;
30 else
31 return std::nullopt;
32 }
33
34 void TCP_Session::IncrementMyNumber(u32 amount)
35 {

Callers

nothing calls this directly

Calls 1

DequeueMethod · 0.80

Tested by

no test coverage detected