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

Method strcpy

util/generic/strbase.h:510–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508 }
509
510 inline size_t strcpy(TCharType* pc, size_t n) const noexcept {
511 if (n) {
512 n = copy(pc, n - 1);
513 pc[n] = 0;
514 }
515
516 return n;
517 }
518
519 inline TDerived copy() const Y_WARN_UNUSED_RESULT {
520 return TDerived(Ptr(), Len());

Callers 1

TestStrCpyMethod · 0.80

Calls 1

copyFunction · 0.50

Tested by 1

TestStrCpyMethod · 0.64