MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / CheckAllIfAny

Function CheckAllIfAny

Tests/PresentMon.cpp:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54bool CheckAllIfAny(size_t const* columnIndex, bool* ok, std::initializer_list<PresentMonCsv::Header> const& headers)
55{
56 *ok = true;
57 for (auto const& h : headers) {
58 if (columnIndex[h] != SIZE_MAX) {
59 CheckAll(columnIndex, ok, headers);
60 return *ok;
61 }
62 }
63 return false;
64}
65
66bool CaseInsensitiveCompare(const std::string& str1, const std::string& str2) {
67 if (str1.size() != str2.size()) {

Callers 1

OpenMethod · 0.85

Calls 1

CheckAllFunction · 0.85

Tested by

no test coverage detected