Mercurial > hg > Members > masakoha > testcode
view regexParser/test/searchBit.cc @ 217:a9e3512120e2
NFA generation end
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 30 Dec 2015 18:37:01 +0900 |
parents | 39ca25ed0607 |
children |
line wrap: on
line source
#include <stdio.h> #include "regexParser.h" #include "bitVector.h" int main () { unsigned long x1 = 0x1000011; BitVector bi = createBitVector(0); bi.bitContainer = x1; printf("%lx pos %d\n",bi.bitContainer,searchBit(bi)); unsigned long x2 = 0x1000010; bi.bitContainer = x2; printf("%lx pos %d\n",bi.bitContainer,searchBit(bi)); return 1; }