#include "util.h"
#include "bitvector.h"
Functions | |
| int32_t | aw_bitvector_andmerge (aw_bitvector_t *bv1, aw_bitvector_t *bv2) |
| Bitwise AND bv2 into bv1 (bv1 is changed). | |
| aw_bitvector_t * | aw_bitvector_create (u_int32_t nbits) |
| Create a bitvector to accomidate 'n' bits. | |
| void | aw_bitvector_destroy (aw_bitvector_t *bv) |
| Freeup resources for a bitvector. | |
| int32_t | aw_bitvector_findfirstbit (u_int32_t start_index, aw_bitvector_t *bv) |
| Finds index of the first 1 from the starting bit index. | |
| int32_t | aw_bitvector_ormerge (aw_bitvector_t *bv1, aw_bitvector_t *bv2) |
| Bitwise OR bv2 into bv1 (bv1 is changed). | |
|
||||||||||||
|
Bitwise AND bv2 into bv1 (bv1 is changed). aw_bitvector_andmerge
|
|
|
Create a bitvector to accomidate 'n' bits. Changes: 03/23/2004 Russell Leighton Added merge funtions |
|
|
Freeup resources for a bitvector. aw_bitvector_destroy
|
|
||||||||||||
|
Finds index of the first 1 from the starting bit index. aw_bitvector_findfirstbit
|
|
||||||||||||
|
Bitwise OR bv2 into bv1 (bv1 is changed). aw_bitvector_ormerge
|