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

Function _bit_offset

freebsd/sys/bitstring.h:94–98  ·  view source on GitHub ↗

bit number within bitstr_t at _bit_idx(_bit). */

Source from the content-addressed store, hash-verified

92
93/* bit number within bitstr_t at _bit_idx(_bit). */
94static inline int
95_bit_offset(int _bit)
96{
97 return (_bit % _BITSTR_BITS);
98}
99
100/* Mask for the bit within its long. */
101static inline bitstr_t

Callers 7

_bit_maskFunction · 0.85
_bit_make_maskFunction · 0.85
bit_ffs_atFunction · 0.85
bit_ffc_atFunction · 0.85
bit_ffs_area_atFunction · 0.85
bit_ffc_area_atFunction · 0.85
bit_countFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected