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

Method SubString

util/generic/strbuf.h:180–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 }
179
180 Y_PURE_FUNCTION inline TBasicStringBuf SubString(size_t pos, size_t n) const noexcept {
181 pos = Min(pos, size());
182 n = Min(n, size() - pos);
183 return TBasicStringBuf(data() + pos, n);
184 }
185
186public:
187 void Clear() {

Callers 5

cow_string.hFile · 0.80
PrintWhitespacesMethod · 0.80
PrintWhitespacesMethod · 0.80
RunMainMethod · 0.80
string.hFile · 0.80

Calls 4

MinFunction · 0.70
TBasicStringBufClass · 0.70
dataFunction · 0.70
sizeFunction · 0.50

Tested by

no test coverage detected