v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::DetachableVector< T > Class Template Reference

#include <detachable-vector.h>

Inheritance diagram for v8::internal::DetachableVector< T >:
Collaboration diagram for v8::internal::DetachableVector< T >:

Public Member Functions

 DetachableVector ()=default
 
 ~DetachableVector ()
 
void push_back (const T &value)
 
void free ()
 
Tat (size_t i) const
 
Tback () const
 
Tfront () const
 
void shrink_to_fit ()
 
- Public Member Functions inherited from v8::internal::DetachableVectorBase
void detach ()
 
void pop_back ()
 
size_t capacity () const
 
size_t size () const
 
bool empty () const
 

Private Member Functions

Tdata () const
 
void Resize (size_t new_capacity)
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::DetachableVectorBase
static const size_t kMinimumCapacity = 8
 
static const size_t kDataOffset
 
static const size_t kCapacityOffset
 
static const size_t kSizeOffset
 
- Protected Attributes inherited from v8::internal::DetachableVectorBase
void * data_ = nullptr
 
size_t capacity_ = 0
 
size_t size_ = 0
 

Detailed Description

template<typename T>
class v8::internal::DetachableVector< T >

Definition at line 49 of file detachable-vector.h.

Constructor & Destructor Documentation

◆ DetachableVector()

template<typename T >
v8::internal::DetachableVector< T >::DetachableVector ( )
default

◆ ~DetachableVector()

template<typename T >
v8::internal::DetachableVector< T >::~DetachableVector ( )
inline

Definition at line 52 of file detachable-vector.h.

Here is the call graph for this function:

Member Function Documentation

◆ at()

template<typename T >
T & v8::internal::DetachableVector< T >::at ( size_t i) const
inline

Definition at line 72 of file detachable-vector.h.

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

◆ back()

template<typename T >
T & v8::internal::DetachableVector< T >::back ( ) const
inline

Definition at line 76 of file detachable-vector.h.

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

◆ data()

template<typename T >
T * v8::internal::DetachableVector< T >::data ( ) const
inlineprivate

Definition at line 87 of file detachable-vector.h.

Here is the caller graph for this function:

◆ free()

template<typename T >
void v8::internal::DetachableVector< T >::free ( )
inline

Definition at line 65 of file detachable-vector.h.

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

◆ front()

template<typename T >
T & v8::internal::DetachableVector< T >::front ( ) const
inline

Definition at line 77 of file detachable-vector.h.

Here is the call graph for this function:

◆ push_back()

template<typename T >
void v8::internal::DetachableVector< T >::push_back ( const T & value)
inline

Definition at line 54 of file detachable-vector.h.

Here is the call graph for this function:

◆ Resize()

template<typename T >
void v8::internal::DetachableVector< T >::Resize ( size_t new_capacity)
inlineprivate

Definition at line 89 of file detachable-vector.h.

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

◆ shrink_to_fit()

template<typename T >
void v8::internal::DetachableVector< T >::shrink_to_fit ( )
inline

Definition at line 79 of file detachable-vector.h.

Here is the call graph for this function:

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