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

Method AllocateAligned

library/cpp/yt/memory/ref.cpp:352–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352TSharedMutableRef TSharedMutableRef::AllocateAligned(size_t size, size_t alignment, TSharedMutableRefAllocateOptions options, TRefCountedTypeCookie tagCookie)
353{
354 auto holder = New<TCustomAlignedAllocationHolder>(size, alignment, options, tagCookie);
355 auto ref = holder->GetRef();
356 return TSharedMutableRef(ref, std::move(holder));
357}
358
359TSharedMutableRef TSharedMutableRef::FromBlob(TBlob&& blob)
360{

Callers 10

DoNextMethod · 0.45
allocateMethod · 0.45
AllocateAlignedFunction · 0.45
AllocateAlignedNoHookMethod · 0.45
MaybeGetSplitBaseMethod · 0.45
AllocateMethod · 0.45

Calls 3

TSharedMutableRefClass · 0.85
moveFunction · 0.50
GetRefMethod · 0.45

Tested by

no test coverage detected