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

Method StartsWith

library/cpp/charset/ci_string.h:69–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 static bool is_suffix(const TStringBuf& what, const TStringBuf& of, const CodePage& cp = csYandex);
68
69 bool StartsWith(const TStringBuf& s, const CodePage& cp = csYandex) const {
70 return is_prefix(s, *this, cp);
71 }
72
73 bool EndsWith(const TStringBuf& s, const CodePage& cp = csYandex) const {
74 return is_suffix(s, *this, cp);

Callers 15

ParseHttpVersionMethod · 0.45
DecodeContentMethod · 0.45
HasResponseBodyMethod · 0.45
AppendQueryStringMethod · 0.45
ErasePatternMethod · 0.45
GenerateZshMethod · 0.45
ParseShortOptArgMethod · 0.45
ParseOptParamMethod · 0.45
FindUserTyposFunction · 0.45
TestZeroMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestZeroMethod · 0.36
TestFindTailsImplMethod · 0.36