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

Method find

util/generic/strbase.h:398–400  ·  view source on GitHub ↗

~~~~Search~~~~ * @return Position of the substring inside this string, or `npos` if not found. */

Source from the content-addressed store, hash-verified

396 * @return Position of the substring inside this string, or `npos` if not found.
397 */
398 inline size_t find(const TStringView s, size_t pos = 0) const noexcept {
399 return find(s.data(), pos, s.size());
400 }
401
402 inline size_t find(const TCharType* s, size_t pos, size_t count) const noexcept {
403 return AsStringView().find(s, pos, count);

Callers

nothing calls this directly

Calls 3

findFunction · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected