Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ DownToGranularity
Function
DownToGranularity
util/system/filemap.cpp:78–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
}
77
78
static inline i64 DownToGranularity(i64 offset) noexcept {
79
return offset & ~((i64)(GRANULARITY - 1));
80
}
81
82
#if defined(_unix_)
83
static int ModeToMmapFlags(TMemoryMapCommon::EOpenMode mode) {
Callers
1
Map
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected