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

Method Find

util/string/split.h:150–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 inline Char* Find(Char*& b, Char* e) const noexcept {
151 const auto ret = std::basic_string_view(b, e - b).find(Ch);
152
153 if (ret != std::string::npos) {
154 const auto result = b + ret;
155 b = result + 1;
156 return result;
157 }
158
159 return (b = e);
160 }
161
162 inline Char* Find(Char*& b) const noexcept {
163 Char* ret = FastStrChr(b, Ch);

Callers

nothing calls this directly

Calls 3

FastStrChrFunction · 0.85
basic_string_viewClass · 0.50
findMethod · 0.45

Tested by

no test coverage detected