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

Function GetKey

util/system/shmat.cpp:166–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165#else
166static key_t GetKey(const TGUID& id) {
167 i64 id64 = (ui64)(((ui64)id.dw[0] + (ui64)id.dw[2]) << 32) + (ui64)id.dw[1] + (ui64)id.dw[3];
168
169 return id64;
170}
171
172bool TSharedMemory::Open(const TGUID& id, int size) {
173 Y_ABORT_UNLESS(id, "invalid shared memory guid: %s", GetGuidAsString(id).data());

Callers 3

OpenMethod · 0.70
CreateMethod · 0.70
operator*Method · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected