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

Function MaskLowerBits

util/generic/bitops.h:246–248  ·  view source on GitHub ↗

* Returns 64-bit mask with `bits` lower bits set. */

Source from the content-addressed store, hash-verified

244 * Returns 64-bit mask with `bits` lower bits set.
245 */
246Y_FORCE_INLINE ui64 MaskLowerBits(ui64 bits) {
247 return ::NBitOps::NPrivate::WORD_MASK[bits];
248}
249
250/*
251 * Return 64-bit mask with `bits` set starting from `skipbits`.

Callers 3

InverseMaskLowerBitsFunction · 0.85
ReverseBitsFunction · 0.85
Y_UNIT_TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected