MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / ends_with

Function ends_with

src/include/migraphx/stringutils.hpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65inline bool ends_with(const std::string& value, const std::string& suffix)
66{
67 if(suffix.size() > value.size())
68 return false;
69 else
70 return std::equal(suffix.rbegin(), suffix.rend(), value.rbegin());
71}
72
73template <class Strings>
74inline std::string join_strings(Strings strings, const std::string& delim)

Callers 5

read_weight_filesFunction · 0.85
is_deadFunction · 0.85
compute_command_nameFunction · 0.85
get_file_typeMethod · 0.85
hiprtc_programMethod · 0.85

Calls 2

equalFunction · 0.70
sizeMethod · 0.45

Tested by 1

read_weight_filesFunction · 0.68