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

Function GetPageSize

library/cpp/yt/memory/ref.cpp:401–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401size_t GetPageSize()
402{
403 static const size_t PageSize = NSystemInfo::GetPageSize();
404 return PageSize;
405}
406
407size_t RoundUpToPage(size_t bytes)
408{

Callers 15

GetTotalByteSizeMethod · 0.70
RoundUpToPageFunction · 0.70
DoAllocateMethod · 0.70
ResetPtrsMethod · 0.50
GetPageSizeMethod · 0.50
WriteMethod · 0.50
FlushSyncMethod · 0.50
MadviseFunction · 0.50
LockMemoryFunction · 0.50
UnlockMemoryFunction · 0.50
TestGetPageSizeMethod · 0.50

Calls

no outgoing calls

Tested by 2

TestGetPageSizeMethod · 0.40
TestMemInfoMethod · 0.40