MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / rfind

Function rfind

example/cacheHierarchy/fkYAML/node.hpp:2676–2678  ·  view source on GitHub ↗

@brief Retrospectively finds the beginning position of `sv` characters in this referenced character sequence. @param sv The character sequence to compare with. @param pos The offset of the search beginning position in this referenced character sequence. @return The beginning position of `sv` characters, `npos` otherwise.

Source from the content-addressed store, hash-verified

2674 /// @param pos The offset of the search beginning position in this referenced character sequence.
2675 /// @return The beginning position of `sv` characters, `npos` otherwise.
2676 size_type rfind(basic_str_view sv, size_type pos = npos) const noexcept {
2677 return rfind(sv.mp_str, pos, sv.m_len);
2678 }
2679
2680 /// @brief Retrospectively finds the beginning position of `c` character in this referenced character sequence.
2681 /// @param sv The character to compare with.

Callers 1

find_last_ofFunction · 0.85

Calls 2

compareFunction · 0.85
basic_str_viewFunction · 0.85

Tested by

no test coverage detected