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

Method AsGuidString

util/generic/guid.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17} // namespace
18
19TString TGUID::AsGuidString() const {
20 TStringBuilder s;
21 s.reserve(50);
22 s << Hex(dw[0], 0) << '-' << Hex(dw[1], 0) << '-' << Hex(dw[2], 0) << '-' << Hex(dw[3], 0);
23 LowerCaseHex(s);
24 return std::move(s);
25}
26
27TString TGUID::AsUuidString() const {
28 TStringBuilder s;

Callers 3

Y_UNIT_TESTFunction · 0.80
GetGuidAsStringFunction · 0.80
CreateGuidAsStringFunction · 0.80

Calls 4

LowerCaseHexFunction · 0.85
HexFunction · 0.50
moveFunction · 0.50
reserveMethod · 0.45

Tested by

no test coverage detected