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

Method Create

library/cpp/netliba/v12/posix_shared_memory.h:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 bool Create(const size_t size, TGUID preferedGuid = TGUID()) {
55 Y_ABORT_UNLESS(Guid.IsEmpty(), "You must call Close before");
56 if (preferedGuid.IsEmpty()) {
57 CreateGuid(&preferedGuid);
58 }
59 return CreateOpen(preferedGuid, size, true);
60 }
61
62 bool Open(const TGUID& guid, const size_t size) {
63 Y_ABORT_UNLESS(Guid.IsEmpty(), "You must call Close before");

Callers 4

DoSendsMethod · 0.45
SendRequestImplMethod · 0.45
DoSendsMethod · 0.45
SendRequestImplMethod · 0.45

Calls 3

CreateGuidFunction · 0.85
TGUIDClass · 0.50
IsEmptyMethod · 0.45

Tested by

no test coverage detected