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

Method substr

util/generic/strbase.h:524–526  ·  view source on GitHub ↗

~~~ Partial copy ~~~~

Source from the content-addressed store, hash-verified

522
523 // ~~~ Partial copy ~~~~
524 TDerived substr(size_t pos, size_t n = npos) const Y_WARN_UNUSED_RESULT {
525 return TDerived(*This(), pos, n);
526 }
527
528private:
529 using GenericFinder = const TCharType* (*)(const TCharType*, size_t, const TCharType*, size_t);

Callers 15

ParseEnumValuesFunction · 0.45
DoMultiLineCommentMethod · 0.45
CutFirstSlashFunction · 0.45
mainFunction · 0.45
FormatterFunction · 0.45
WriteMethod · 0.45
BasenameMethod · 0.45
mainFunction · 0.45
FromStringMethod · 0.45
FirstLineParserMethod · 0.45
IsRequestMethod · 0.45
CombStringFunction · 0.45

Calls 1

TDerivedClass · 0.70

Tested by 12

TestDecodingMethodsMethod · 0.36
TestDecodingMethodsMethod · 0.36
TestFindTailsImplMethod · 0.36
TestReplaceMethod · 0.36
TestDecodingMethodsMethod · 0.36
TestDecodingMethodsMethod · 0.36
TestMessageCropMethod · 0.36
TestSubstrUTF8Method · 0.36