MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / RequestPresentAndNotDone

Method RequestPresentAndNotDone

engine/Poseidon/IO/FileServer.cpp:235–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 return -1;
234}
235int FileServerST::RequestPresentAndNotDone(const FileRequest& req) const
236{
237 for (int i = 0; i < _queue.Size(); i++)
238 {
239 if (_queue[i].Contains(req))
240 {
241 return i;
242 }
243 }
244 return -1;
245}
246
247bool FileServerST::RequestPresent(const FileRequest& req) const
248{

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.45
ContainsMethod · 0.45

Tested by

no test coverage detected