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

Method Contains

engine/Poseidon/IO/FileServer.cpp:219–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217 return (!strcmpi(_filename, with._filename) && _from == with._from && _to == with._to);
218}
219bool FileRequest::Contains(const FileRequest& with) const
220{
221 return (!strcmpi(_filename, with._filename) && _from <= with._from && _to >= with._to);
222}
223
224int FileServerST::RequestPresentAndDone(const FileRequest& req) const
225{

Callers 6

RequestPresentAndDoneMethod · 0.45
PreloadWaveMethod · 0.45
test_pcm_cache.cppFile · 0.45

Calls 1

strcmpiFunction · 0.50

Tested by

no test coverage detected