proxygen
|
#include <EliasFanoCoding.h>
Public Types | |
typedef Encoder | EncoderType |
typedef Encoder::ValueType | ValueType |
Public Member Functions | |
EliasFanoReader (const typename Encoder::CompressedList &list) | |
void | reset () |
bool | previous () |
bool | next () |
bool | skip (SizeType n) |
bool | skipTo (ValueType value) |
void | prepareSkipTo (ValueType value) const |
bool | jump (SizeType n) |
bool | jumpTo (ValueType value) |
ValueType | lastValue () const |
ValueType | previousValue () const |
SizeType | size () const |
bool | valid () const |
SizeType | position () const |
ValueType | value () const |
Private Member Functions | |
bool | setDone () |
ValueType | readLowerPart (SizeType i) const |
void | iterateTo (ValueType value) |
Private Attributes | |
detail::UpperBitsReader< Encoder, Instructions, SizeType > | upper_ |
const uint8_t * | lower_ |
SizeType | size_ |
ValueType | value_ = kInvalidValue |
ValueType | lastValue_ |
uint8_t | numLowerBits_ |
Static Private Attributes | |
static constexpr ValueType | kInvalidValue |
static constexpr size_t | kLinearScanThreshold = 8 |
Definition at line 576 of file EliasFanoCoding.h.
typedef Encoder folly::compression::EliasFanoReader< Encoder, Instructions, kUnchecked, SizeType >::EncoderType |
Definition at line 578 of file EliasFanoCoding.h.
typedef Encoder::ValueType folly::compression::EliasFanoReader< Encoder, Instructions, kUnchecked, SizeType >::ValueType |
Definition at line 579 of file EliasFanoCoding.h.
|
inlineexplicit |
Definition at line 581 of file EliasFanoCoding.h.
References folly::findLastSet(), and UNLIKELY.
|
inlineprivate |
Definition at line 766 of file EliasFanoCoding.h.
References LIKELY.
|
inline |
Definition at line 698 of file EliasFanoCoding.h.
References LIKELY.
|
inline |
Definition at line 706 of file EliasFanoCoding.h.
|
inline |
Definition at line 716 of file EliasFanoCoding.h.
|
inline |
Definition at line 618 of file EliasFanoCoding.h.
References UNLIKELY.
|
inline |
Definition at line 736 of file EliasFanoCoding.h.
|
inline |
Prepare to skip to value
by prefetching appropriate memory in both the upper and lower bits.
Definition at line 679 of file EliasFanoCoding.h.
References addr.
|
inline |
Definition at line 607 of file EliasFanoCoding.h.
References UNLIKELY.
|
inline |
Definition at line 721 of file EliasFanoCoding.h.
References folly::compression::EliasFanoCompressedListBase< Pointer >::size.
|
inlineprivate |
Definition at line 755 of file EliasFanoCoding.h.
References folly::assume(), ptr, and uint64_t.
|
inline |
Definition at line 602 of file EliasFanoCoding.h.
|
inlineprivate |
Definition at line 749 of file EliasFanoCoding.h.
|
inline |
Definition at line 728 of file EliasFanoCoding.h.
|
inline |
Definition at line 628 of file EliasFanoCoding.h.
|
inline |
Definition at line 647 of file EliasFanoCoding.h.
References UNLIKELY.
|
inline |
Definition at line 732 of file EliasFanoCoding.h.
References folly::compression::EliasFanoCompressedListBase< Pointer >::size.
|
inline |
Definition at line 739 of file EliasFanoCoding.h.
|
staticprivate |
Definition at line 746 of file EliasFanoCoding.h.
|
staticprivate |
Definition at line 777 of file EliasFanoCoding.h.
|
private |
Definition at line 783 of file EliasFanoCoding.h.
|
private |
Definition at line 780 of file EliasFanoCoding.h.
|
private |
Definition at line 784 of file EliasFanoCoding.h.
|
private |
Definition at line 781 of file EliasFanoCoding.h.
|
private |
Definition at line 779 of file EliasFanoCoding.h.
|
private |
Definition at line 782 of file EliasFanoCoding.h.