proxygen
folly::compression::BitVectorCompressedListBase< Pointer > Struct Template Reference

#include <BitVectorCoding.h>

Public Member Functions

 BitVectorCompressedListBase ()=default
 
template<class OtherPointer >
 BitVectorCompressedListBase (const BitVectorCompressedListBase< OtherPointer > &other)
 
template<class T = Pointer>
auto free () -> decltype(::free(T(nullptr)))
 

Public Attributes

size_t size = 0
 
size_t upperBound = 0
 
folly::Range< Pointer > data
 
Pointer bits = nullptr
 
Pointer skipPointers = nullptr
 
Pointer forwardPointers = nullptr
 

Detailed Description

template<class Pointer>
struct folly::compression::BitVectorCompressedListBase< Pointer >

Definition at line 43 of file BitVectorCoding.h.

Constructor & Destructor Documentation

template<class Pointer>
folly::compression::BitVectorCompressedListBase< Pointer >::BitVectorCompressedListBase ( )
default
template<class Pointer>
template<class OtherPointer >
folly::compression::BitVectorCompressedListBase< Pointer >::BitVectorCompressedListBase ( const BitVectorCompressedListBase< OtherPointer > &  other)
inline

Definition at line 47 of file BitVectorCoding.h.

49  : size(other.size),
50  upperBound(other.upperBound),
51  data(other.data),
52  bits(reinterpret_cast<Pointer>(other.bits)),
53  skipPointers(reinterpret_cast<Pointer>(other.skipPointers)),
54  forwardPointers(reinterpret_cast<Pointer>(other.forwardPointers)) {}

Member Function Documentation

template<class Pointer>
template<class T = Pointer>
auto folly::compression::BitVectorCompressedListBase< Pointer >::free ( ) -> decltype(::free(T(nullptr)))
inline

Definition at line 57 of file BitVectorCoding.h.

References folly::compression::BitVectorCompressedListBase< Pointer >::data, folly::Range< Iter >::data(), and bm::free().

Referenced by BENCHMARK(), bm::free(), and TEST_F().

57  {
59  }
constexpr Iter data() const
Definition: Range.h:446
void free()

Member Data Documentation


The documentation for this struct was generated from the following file: