MCPcopy Create free account
hub / github.com/catboost/catboost / FindFirstOf

Method FindFirstOf

util/string/split.h:205–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 }
204
205 inline Char* FindFirstOf(Char* b, Char* e) const noexcept {
206 Char* ret = b;
207 for (; ret != e; ++ret) {
208 if (NStringSplitPrivate::Find(Set, *ret)) {
209 break;
210 }
211 }
212 return ret;
213 }
214
215 inline Char* FindFirstOf(Char* b) const noexcept {
216 const auto bView = std::basic_string_view(b);

Callers 1

FindMethod · 0.45

Calls 4

FindFunction · 0.70
basic_string_viewClass · 0.50
find_first_ofMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected