Mercurial > hg > Members > masakoha > testcode
view regexParser/bitVector.h @ 202:39ca25ed0607
add searchBit test
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 26 Dec 2015 19:49:34 +0900 |
parents | 02031fb73af8 |
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); }