proxygen
|
#include <BitVectorCoding.h>
Public Types | |
typedef Encoder | EncoderType |
typedef Encoder::ValueType | ValueType |
typedef Encoder::ValueType | SizeType |
typedef Encoder::SkipValueType | SkipValueType |
Public Member Functions | |
BitVectorReader (const typename Encoder::CompressedList &list) | |
void | reset () |
bool | next () |
bool | skip (SizeType n) |
bool | skipTo (ValueType v) |
SizeType | size () const |
bool | valid () const |
SizeType | position () const |
ValueType | value () const |
bool | jump (SizeType n) |
bool | jumpTo (ValueType v) |
bool | setDone () |
Private Member Functions | |
bool | setValue (size_t inner) |
void | reposition (size_t dest) |
Private Member Functions inherited from folly::compression::detail::ForwardPointers< Encoder::forwardQuantum > | |
ForwardPointers (const unsigned char *ptr) | |
Private Member Functions inherited from folly::compression::detail::SkipPointers< Encoder::skipQuantum > | |
SkipPointers (const unsigned char *ptr) | |
Private Attributes | |
const uint8_t *const | bits_ |
uint64_t | block_ |
SizeType | outer_ |
SizeType | position_ |
ValueType | value_ |
const SizeType | size_ |
const ValueType | upperBound_ |
Private Attributes inherited from folly::compression::detail::ForwardPointers< Encoder::forwardQuantum > | |
const unsigned char *const | forwardPointers_ |
Private Attributes inherited from folly::compression::detail::SkipPointers< Encoder::skipQuantum > | |
const unsigned char *const | skipPointers_ |
Static Private Attributes | |
static constexpr ValueType | kInvalidValue |
static constexpr size_t | kLinearScanThreshold = 4 |
Definition at line 247 of file BitVectorCoding.h.
typedef Encoder folly::compression::BitVectorReader< Encoder, Instructions, kUnchecked >::EncoderType |
Definition at line 250 of file BitVectorCoding.h.
typedef Encoder::ValueType folly::compression::BitVectorReader< Encoder, Instructions, kUnchecked >::SizeType |
Definition at line 253 of file BitVectorCoding.h.
typedef Encoder::SkipValueType folly::compression::BitVectorReader< Encoder, Instructions, kUnchecked >::SkipValueType |
Definition at line 254 of file BitVectorCoding.h.
typedef Encoder::ValueType folly::compression::BitVectorReader< Encoder, Instructions, kUnchecked >::ValueType |
Definition at line 251 of file BitVectorCoding.h.
|
inlineexplicit |
Definition at line 256 of file BitVectorCoding.h.
|
inline |
|
inline |
Definition at line 409 of file BitVectorCoding.h.
|
inline |
Definition at line 273 of file BitVectorCoding.h.
References uint64_t, and UNLIKELY.
|
inline |
Definition at line 396 of file BitVectorCoding.h.
|
inlineprivate |
Definition at line 430 of file BitVectorCoding.h.
References uint64_t.
|
inline |
Definition at line 266 of file BitVectorCoding.h.
|
inline |
Definition at line 414 of file BitVectorCoding.h.
|
inlineprivate |
Definition at line 425 of file BitVectorCoding.h.
|
inline |
Definition at line 388 of file BitVectorCoding.h.
|
inline |
Definition at line 290 of file BitVectorCoding.h.
References upload::dest, i, LIKELY, cpp.ast::next(), folly::popcount(), shell_builder::steps, and uint64_t.
|
inline |
Definition at line 332 of file BitVectorCoding.h.
References cpp.ast::next(), folly::popcount(), uint64_t, and folly::value().
|
inline |
Definition at line 392 of file BitVectorCoding.h.
References folly::compression::BitVectorCompressedListBase< Pointer >::size.
|
inline |
Definition at line 399 of file BitVectorCoding.h.
|
private |
Definition at line 439 of file BitVectorCoding.h.
|
private |
Definition at line 440 of file BitVectorCoding.h.
|
staticprivate |
Definition at line 421 of file BitVectorCoding.h.
|
staticprivate |
Definition at line 437 of file BitVectorCoding.h.
|
private |
Definition at line 441 of file BitVectorCoding.h.
|
private |
Definition at line 442 of file BitVectorCoding.h.
|
private |
Definition at line 445 of file BitVectorCoding.h.
|
private |
Definition at line 446 of file BitVectorCoding.h.
|
private |
Definition at line 443 of file BitVectorCoding.h.