MCPcopy 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
78static inline i64 DownToGranularity(i64 offset) noexcept {
79 return offset & ~((i64)(GRANULARITY - 1));
80}
81
82#if defined(_unix_)
83static int ModeToMmapFlags(TMemoryMapCommon::EOpenMode mode) {

Callers 1

MapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected