Public Member Functions | |
BitReader (const string &buf_) | |
Xapian::termpos | decode (Xapian::termpos outof) |
unsigned int | read_bits (int count) |
bool | check_all_gone () const |
void | decode_interpolative (vector< Xapian::termpos > &pos, int j, int k) |
Private Attributes | |
string | buf |
size_t | idx |
int | n_bits |
unsigned int | acc |
Definition at line 96 of file xapian-check.cc.
BitReader::BitReader | ( | const string & | buf_ | ) | [inline] |
Definition at line 103 of file xapian-check.cc.
Xapian::termpos BitReader::decode | ( | Xapian::termpos | outof | ) | [inline] |
Definition at line 104 of file xapian-check.cc.
References Assert, my_fls(), and read_bits().
Referenced by check_table(), and decode_interpolative().
unsigned int BitReader::read_bits | ( | int | count | ) | [inline] |
Definition at line 120 of file xapian-check.cc.
References acc, Assert, buf, idx, and n_bits.
Referenced by check_table(), and decode().
bool BitReader::check_all_gone | ( | ) | const [inline] |
void BitReader::decode_interpolative | ( | vector< Xapian::termpos > & | pos, | |
int | j, | |||
int | k | |||
) |
string BitReader::buf [private] |
size_t BitReader::idx [private] |
int BitReader::n_bits [private] |
unsigned int BitReader::acc [private] |