MCPcopy Create free account
hub / github.com/F-Stack/f-stack / _bit_mask

Function _bit_mask

freebsd/sys/bitstring.h:101–105  ·  view source on GitHub ↗

Mask for the bit within its long. */

Source from the content-addressed store, hash-verified

99
100/* Mask for the bit within its long. */
101static inline bitstr_t
102_bit_mask(int _bit)
103{
104 return (1UL << _bit_offset(_bit));
105}
106
107static inline bitstr_t
108_bit_make_mask(int _start, int _stop)

Callers 3

bit_testFunction · 0.85
bit_setFunction · 0.85
bit_clearFunction · 0.85

Calls 1

_bit_offsetFunction · 0.85

Tested by

no test coverage detected