MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / string_ends_with

Function string_ends_with

Source/pfile.cpp:258–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256};
257
258inline bool string_ends_with(string_view value, string_view suffix)
259{
260 if (suffix.size() > value.size())
261 return false;
262 return std::equal(suffix.rbegin(), suffix.rend(), value.rbegin());
263}
264
265void CreateDetailDiffs(string_view prefix, string_view memoryMapFile, CompareInfo &compareInfoReference, CompareInfo &compareInfoActual, std::unordered_map<std::string, size_t> &foundDiffs)
266{

Callers 1

CreateDetailDiffsFunction · 0.85

Calls 3

sizeMethod · 0.45
rbeginMethod · 0.45
rendMethod · 0.45

Tested by

no test coverage detected