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

Method FromString

library/cpp/yt/misc/guid.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47TGuid TGuid::FromString(TStringBuf str)
48{
49 TGuid guid;
50 if (!FromString(str, &guid)) {
51 throw TSimpleException(Sprintf("Error parsing GUID \"%s\"",
52 std::string(str).c_str()));
53 }
54 return guid;
55}
56
57bool TGuid::FromString(TStringBuf str, TGuid* result)
58{

Callers

nothing calls this directly

Calls 6

TSimpleExceptionClass · 0.85
SprintfFunction · 0.85
FromStringFunction · 0.50
stringClass · 0.50
c_strMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected