Mercurial > hg > Applications > Grep
view regexParser/bitVector.h @ 219:a8e477f1352d
add an example for subset construction
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 01 Jan 2016 00:05:57 +0900 |
parents | 39ca25ed0607 |
children | 399380ad95b7 |
line wrap: on
line source
extern BitVector createBitVector(int state); extern const BitVectorPtr allocateBitVector(); extern void bitSet(BitVectorPtr bi, int bitSetPosition); extern void bitPrint(BitVectorPtr bi); inline int searchBit(BitVector bi) { return __builtin_ffs(bi.bitContainer); }