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

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

Clears a bit.

bitthe bit to be cleared

Definition at line 7547 of file Main.java.

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

Referenced by main().

      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