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

Method GetString

library/cpp/threading/skip_list/perf/main.cpp:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 TStringBuf GetString(size_t len) const {
64 size_t start = RandomNumber(Buffer.size() - len);
65 return TStringBuf(&Buffer[start], len);
66 }
67
68 TStringBuf GetString(size_t min, size_t max) const {
69 return GetString(min + RandomNumber(max - min));

Callers 10

GetOptionFunction · 0.45
LoadMethod · 0.45
GetOptionFunction · 0.45
GetContainerOptionFunction · 0.45
TEST_InsertRandomMethod · 0.45
TEST_InsertSequentialMethod · 0.45
TEST_LookupRandomMethod · 0.45
TEST_ConcurrentMethod · 0.45
MergeSubprocessReportMethod · 0.45

Calls 2

GetStringFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected