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

Function RoundUpToPage

library/cpp/yt/memory/ref.cpp:407–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407size_t RoundUpToPage(size_t bytes)
408{
409 return AlignUp<size_t>(bytes, GetPageSize());
410}
411
412size_t GetByteSize(const TSharedRefArray& array)
413{

Callers 3

TChunkedOutputStreamMethod · 0.85
ReserveNewChunkMethod · 0.85
PreallocateMethod · 0.85

Calls 1

GetPageSizeFunction · 0.70

Tested by

no test coverage detected