📄 bit.h
字号:
/*------------------------------------------------------------------------- * * bit.h * Standard bit array definitions. * * * Copyright (c) 1994, Regents of the University of California * * $Id: bit.h,v 1.6 1999/05/25 16:14:51 momjian Exp $ * *------------------------------------------------------------------------- */#ifndef BIT_H#define BIT_Htypedef bits8 *BitArray;typedef uint32 BitIndex;#define BitsPerByte 8/* * BitArraySetBit * Sets (to 1) the value of a bit in a bit array. */extern void BitArraySetBit(BitArray bitArray, BitIndex bitIndex);/* * BitArrayClearBit * Clears (to 0) the value of a bit in a bit array. */extern void BitArrayClearBit(BitArray bitArray, BitIndex bitIndex);/* * BitArrayBitIsSet * True iff the bit is set (1) in a bit array. */extern bool BitArrayBitIsSet(BitArray bitArray, BitIndex bitIndex);#endif /* BIT_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -