proxygen
|
#include <ConcurrentSkipList.h>
Public Types | |
typedef T | value_type |
typedef T & | reference |
typedef T * | pointer |
typedef ptrdiff_t | difference_type |
Public Member Functions | |
Skipper (const std::shared_ptr< SkipListType > &skipList) | |
Skipper (const Accessor &accessor) | |
void | init () |
Skipper & | operator++ () |
bool | good () const |
int | maxLayer () const |
int | curHeight () const |
const value_type & | data () const |
value_type & | operator* () const |
value_type * | operator-> () |
bool | to (const value_type &data) |
Private Types | |
typedef detail::SkipListNode< T > | NodeType |
typedef ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT > | SkipListType |
typedef SkipListType::Accessor | Accessor |
Private Member Functions | |
NodeType * | head () const |
Private Attributes | |
Accessor | accessor_ |
int | headHeight_ |
NodeType * | succs_ [MAX_HEIGHT] |
NodeType * | preds_ [MAX_HEIGHT] |
uint8_t | hints_ [MAX_HEIGHT] |
Definition at line 760 of file ConcurrentSkipList.h.
|
private |
Definition at line 763 of file ConcurrentSkipList.h.
typedef ptrdiff_t folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::Skipper::difference_type |
Definition at line 769 of file ConcurrentSkipList.h.
|
private |
Definition at line 761 of file ConcurrentSkipList.h.
typedef T* folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::Skipper::pointer |
Definition at line 768 of file ConcurrentSkipList.h.
typedef T& folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::Skipper::reference |
Definition at line 767 of file ConcurrentSkipList.h.
|
private |
Definition at line 762 of file ConcurrentSkipList.h.
typedef T folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::Skipper::value_type |
Definition at line 766 of file ConcurrentSkipList.h.
|
inline |
|
inline |
|
inline |
Definition at line 814 of file ConcurrentSkipList.h.
References folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::height(), and min.
|
inline |
Definition at line 821 of file ConcurrentSkipList.h.
|
inline |
Definition at line 806 of file ConcurrentSkipList.h.
|
inlineprivate |
Definition at line 867 of file ConcurrentSkipList.h.
|
inline |
Definition at line 779 of file ConcurrentSkipList.h.
References folly::detail::SkipListNode< T >::height(), i, folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::maxLayer(), folly::detail::SkipListNode< T >::skip(), and uint8_t.
|
inline |
Definition at line 810 of file ConcurrentSkipList.h.
|
inline |
Definition at line 826 of file ConcurrentSkipList.h.
|
inline |
Definition at line 795 of file ConcurrentSkipList.h.
References folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::height(), and i.
|
inline |
Definition at line 831 of file ConcurrentSkipList.h.
|
inline |
Definition at line 842 of file ConcurrentSkipList.h.
References folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::findInsertionPoint(), folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::greater(), and folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::maxLayer().
|
private |
Definition at line 871 of file ConcurrentSkipList.h.
|
private |
Definition at line 872 of file ConcurrentSkipList.h.
|
private |
Definition at line 874 of file ConcurrentSkipList.h.
|
private |
Definition at line 873 of file ConcurrentSkipList.h.
|
private |
Definition at line 873 of file ConcurrentSkipList.h.