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

Function FormatName

util/system/shmat.cpp:100–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98
99#if defined(_win_)
100static void FormatName(char* buf, const TGUID& id) {
101 sprintf(buf, "Global\\shmat-%s", GetGuidAsString(id).c_str());
102}
103
104bool TSharedMemory::Open(const TGUID& id, int size) {
105 // Y_ASSERT(Data == 0);

Callers 2

OpenMethod · 0.85
CreateMethod · 0.85

Calls 3

sprintfFunction · 0.85
GetGuidAsStringFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected