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

Method copy

util/generic/strbase.h:498–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496 }
497
498 inline size_t copy(TCharType* pc, size_t n, size_t pos) const {
499 if (pos > Len()) {
500 throw std::out_of_range("TStringBase::copy");
501 }
502
503 return CopyImpl(pc, n, pos);
504 }
505
506 inline size_t copy(TCharType* pc, size_t n) const noexcept {
507 return CopyImpl(pc, n, 0);

Callers 5

TestRangeFunction · 0.45
TestIterFunction · 0.45
TestIterPartialFunction · 0.45
TestReplaceMethod · 0.45
TestCopyMethod · 0.45

Calls

no outgoing calls

Tested by 5

TestRangeFunction · 0.36
TestIterFunction · 0.36
TestIterPartialFunction · 0.36
TestReplaceMethod · 0.36
TestCopyMethod · 0.36