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

Method Open

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

Source from the content-addressed store, hash-verified

60 }
61
62 bool Open(const TGUID& guid, const size_t size) {
63 Y_ABORT_UNLESS(Guid.IsEmpty(), "You must call Close before");
64 return CreateOpen(guid, size, false);
65 }
66
67 // after unlinking Open will return false, and Create may map new region with same name.
68 void Close(const EUnlinkPolicy up = UP_CREATOR_UNLINKS) // default argument for compatibility with TSharedMemory

Callers

nothing calls this directly

Calls 1

IsEmptyMethod · 0.45

Tested by

no test coverage detected