📄 pgpbitutils.h
字号:
/*____________________________________________________________________________
Copyright (C) 1998 Network Associates Inc. and affiliated companies.
All rights reserved.
$Id: pgpBitUtils.h,v 1.2 1999/03/10 02:47:10 heller Exp $
____________________________________________________________________________*/
#ifndef Included_pgpBitUtils_h /* [ */
#define Included_pgpBitUtils_h
#include "pgpBase.h"
typedef PGPUInt32 PGPBitIndex;
typedef PGPUInt32 PGPBitCount;
PGP_BEGIN_C_DECLARATIONS
#if PRAGMA_IMPORT_SUPPORTED
#pragma import on
#endif
void pgpSetBit(PGPByte *bitmap, PGPBitIndex bitIndex);
void pgpSetBitRange(PGPByte *bitmap, PGPBitIndex startBitIndex,
PGPBitCount numBits);
void pgpClearBit(PGPByte *bitmap, PGPBitIndex bitIndex);
void pgpClearBitRange(PGPByte *bitmap, PGPBitIndex startBitIndex,
PGPBitCount numBits);
PGPBoolean pgpTestBit(PGPByte *bitmap, PGPBitIndex bitIndex);
PGPBoolean pgpTestAndClearBit(PGPByte *bitmap, PGPBitIndex bitIndex);
PGPBoolean pgpTestAndSetBit(PGPByte *bitmap, PGPBitIndex bitIndex);
PGPBitCount pgpCountAndClearBitRange(PGPByte *bitmap,
PGPBitIndex startBitIndex, PGPBitCount numBits);
PGPBitCount pgpCountAndSetBitRange(PGPByte *bitmap,
PGPBitIndex startBitIndex, PGPBitCount numBits);
PGPBitCount pgpCountClearBitsInRange(PGPByte *bitmap,
PGPBitIndex startBitIndex, PGPBitCount numBits);
PGPBitCount pgpCountSetBitsInRange(PGPByte *bitmap,
PGPBitIndex startBitIndex, PGPBitCount numBits);
#if PRAGMA_IMPORT_SUPPORTED
#pragma import reset
#endif
PGP_END_C_DECLARATIONS
#endif /* ] Included_pgpBitUtils_h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -