xapian-core
1.4.26
|
Classes to encode/decode a bitstream. More...
#include <config.h>
#include "bitstream.h"
#include <xapian/types.h>
#include "omassert.h"
#include "pack.h"
#include <vector>
Go to the source code of this file.
Namespaces | |
Xapian | |
The Xapian namespace contains public interfaces for the Xapian library. | |
Functions | |
template<typename T > | |
static int | highest_order_bit (T mask) |
template<typename T , typename U > | |
static constexpr T | Xapian::safe_shl (T x, U shift) |
Shift left that's safe for shifts wider than the type. More... | |
Classes to encode/decode a bitstream.
Definition in file bitstream.cc.
|
inlinestatic |
Definition at line 40 of file bitstream.cc.
Referenced by Xapian::BitReader::decode(), Xapian::BitReader::decode_interpolative(), and Xapian::BitWriter::encode().