Logo Search packages:      
Sourcecode: jlex version File versions  Download package

void JLex::SparseBitSet::set ( int  bit ) [inline]

Sets a bit.

bitthe bit to be set

Definition at line 7535 of file Main.java.

References bits, BITS_M1, LG_BITS, offs, and size().

Referenced by JLex::CSimplifyNfa::computeClasses(), main(), and JLex::CSet::map().

      int bnum = bit >> LG_BITS;
      int idx  = bsearch(bnum);
      if (idx >= size || offs[idx]!=bnum)
          new_block(idx, bnum);
      bits[idx] |= (1L << (bit & BITS_M1) );

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index