Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
407
size_t RoundUpToPage(size_t bytes)
408
{
409
return AlignUp<size_t>(bytes, GetPageSize());
410
}
411
412
size_t GetByteSize(const TSharedRefArray& array)
413
{
Callers
3
TChunkedOutputStream
Method · 0.85
ReserveNewChunk
Method · 0.85
Preallocate
Method · 0.85
Calls
1
GetPageSize
Function · 0.70
Tested by
no test coverage detected