v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion > Class Template Referencefinal

#include <threaded-list.h>

Inheritance diagram for v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >:
Collaboration diagram for v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >:

Classes

class  ConstIterator
 
class  Iterator
 

Public Member Functions

 ThreadedListBase ()
 
 ThreadedListBase (const ThreadedListBase &)=delete
 
ThreadedListBaseoperator= (const ThreadedListBase &)=delete
 
void Add (T *v)
 
void AddFront (T *v)
 
void DropHead ()
 
bool Contains (T *v)
 
void Append (ThreadedListBase &&list)
 
void Prepend (ThreadedListBase &&list)
 
void TruncateAt (ThreadedListBase *rem, T *v)
 
void Clear ()
 
ThreadedListBaseoperator= (ThreadedListBase &&other) V8_NOEXCEPT
 
 ThreadedListBase (ThreadedListBase &&other) V8_NOEXCEPT
 
bool Remove (T *v)
 
Iterator begin ()
 
Iterator end ()
 
ConstIterator begin () const
 
ConstIterator end () const
 
void Rewind (Iterator reset_point)
 
void MoveTail (ThreadedListBase *from_list, Iterator from_location)
 
Iterator RemoveAt (Iterator it)
 
bool is_empty () const
 
Tfirst () const
 
int LengthForTest ()
 
TAtForTest (int i)
 
bool Verify () const
 
void EnsureValidTail () const
 

Static Public Member Functions

static void AddAfter (T *after_this, T *v)
 

Private Attributes

Thead_
 
T ** tail_
 

Detailed Description

template<typename T, typename BaseClass, typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
class v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >

Definition at line 35 of file threaded-list.h.

Constructor & Destructor Documentation

◆ ThreadedListBase() [1/3]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ThreadedListBase ( )
inline

Definition at line 37 of file threaded-list.h.

◆ ThreadedListBase() [2/3]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ThreadedListBase ( const ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion > & )
delete

◆ ThreadedListBase() [3/3]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ThreadedListBase ( ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion > && other)
inline

Definition at line 151 of file threaded-list.h.

Member Function Documentation

◆ Add()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Add ( T * v)
inline

Definition at line 41 of file threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddAfter()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
static void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::AddAfter ( T * after_this,
T * v )
inlinestatic

Definition at line 63 of file threaded-list.h.

◆ AddFront()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::AddFront ( T * v)
inline

Definition at line 51 of file threaded-list.h.

◆ Append()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Append ( ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion > && list)
inline

Definition at line 86 of file threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AtForTest()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
T * v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::AtForTest ( int i)
inline

Definition at line 326 of file threaded-list.h.

Here is the call graph for this function:

◆ begin() [1/2]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
Iterator v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::begin ( )
inline

Definition at line 263 of file threaded-list.h.

Here is the caller graph for this function:

◆ begin() [2/2]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
ConstIterator v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::begin ( ) const
inline

Definition at line 269 of file threaded-list.h.

◆ Clear()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Clear ( )
inline

Definition at line 137 of file threaded-list.h.

Here is the caller graph for this function:

◆ Contains()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
bool v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Contains ( T * v)
inline

Definition at line 79 of file threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DropHead()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::DropHead ( )
inline

Definition at line 70 of file threaded-list.h.

Here is the caller graph for this function:

◆ end() [1/2]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
Iterator v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::end ( )
inline

Definition at line 264 of file threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ end() [2/2]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
ConstIterator v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::end ( ) const
inline

Definition at line 270 of file threaded-list.h.

Here is the call graph for this function:

◆ EnsureValidTail()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::EnsureValidTail ( ) const
inline

Definition at line 345 of file threaded-list.h.

Here is the caller graph for this function:

◆ first()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
T * v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::first ( ) const
inline

Definition at line 317 of file threaded-list.h.

Here is the caller graph for this function:

◆ is_empty()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
bool v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::is_empty ( ) const
inline

Definition at line 315 of file threaded-list.h.

Here is the caller graph for this function:

◆ LengthForTest()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
int v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::LengthForTest ( )
inline

Definition at line 320 of file threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MoveTail()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::MoveTail ( ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion > * from_list,
Iterator from_location )
inline

Definition at line 284 of file threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
ThreadedListBase & v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::operator= ( const ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion > & )
delete

◆ operator=() [2/2]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
ThreadedListBase & v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::operator= ( ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion > && other)
inline

Definition at line 142 of file threaded-list.h.

◆ Prepend()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Prepend ( ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion > && list)
inline

Definition at line 95 of file threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Remove()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
bool v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Remove ( T * v)
inline

Definition at line 159 of file threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RemoveAt()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
Iterator v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::RemoveAt ( Iterator it)
inline

Definition at line 299 of file threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Rewind()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Rewind ( Iterator reset_point)
inline

Definition at line 277 of file threaded-list.h.

Here is the caller graph for this function:

◆ TruncateAt()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::TruncateAt ( ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion > * rem,
T * v )
inline

Definition at line 109 of file threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Verify()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
bool v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Verify ( ) const
inline

Definition at line 332 of file threaded-list.h.

Here is the call graph for this function:

Member Data Documentation

◆ head_

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
T* v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::head_
private

Definition at line 368 of file threaded-list.h.

◆ tail_

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
T** v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::tail_
mutableprivate

Definition at line 369 of file threaded-list.h.


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