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

Method IsAligned

util/system/direct_io.h:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48private:
49 inline bool IsAligned(i64 value) {
50 return Alignment ? value == AlignDown<i64>(value, Alignment) : true;
51 }
52
53 inline bool IsAligned(const void* value) {
54 return Alignment ? value == AlignDown(value, Alignment) : true;

Callers

nothing calls this directly

Calls 1

AlignDownFunction · 0.70

Tested by

no test coverage detected