xapian-core  1.4.25
Namespaces | Functions
bitstream.cc File Reference

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>
+ Include dependency graph for bitstream.cc:

Go to the source code of this file.


 The Xapian namespace contains public interfaces for the Xapian library.


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...

Detailed Description

Classes to encode/decode a bitstream.

Definition in file bitstream.cc.

Function Documentation

◆ highest_order_bit()

template<typename T >
static int highest_order_bit ( mask)