![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <zone-chunk-list.h>
Classes | |
struct | Chunk |
struct | SeekResult |
Public Types | |
using | iterator = ZoneChunkListIterator<T, false, true> |
using | const_iterator = ZoneChunkListIterator<T, false, false> |
using | reverse_iterator = ZoneChunkListIterator<T, true, true> |
using | const_reverse_iterator = ZoneChunkListIterator<T, true, false> |
Static Public Attributes | |
static constexpr uint32_t | kInitialChunkCapacity = 8 |
static constexpr uint32_t | kMaxChunkCapacity = 256 |
Private Member Functions | |
Chunk * | NewChunk (const uint32_t capacity) |
SeekResult | SeekIndex (size_t index) const |
Static Private Member Functions | |
static uint32_t | NextChunkCapacity (uint32_t previous_capacity) |
Private Attributes | |
Zone * | zone_ |
size_t | size_ = 0 |
Chunk * | front_ = nullptr |
Chunk * | last_nonempty_ = nullptr |
Friends | |
template<typename S , bool backwards, bool modifiable> | |
class | ZoneChunkListIterator |
Definition at line 39 of file zone-chunk-list.h.
using v8::internal::ZoneChunkList< T >::const_iterator = ZoneChunkListIterator<T, false, false> |
Definition at line 42 of file zone-chunk-list.h.
using v8::internal::ZoneChunkList< T >::const_reverse_iterator = ZoneChunkListIterator<T, true, false> |
Definition at line 44 of file zone-chunk-list.h.
using v8::internal::ZoneChunkList< T >::iterator = ZoneChunkListIterator<T, false, true> |
Definition at line 41 of file zone-chunk-list.h.
using v8::internal::ZoneChunkList< T >::reverse_iterator = ZoneChunkListIterator<T, true, true> |
Definition at line 43 of file zone-chunk-list.h.
|
inlineexplicit |
Definition at line 49 of file zone-chunk-list.h.
void v8::internal::ZoneChunkList< T >::Append | ( | ZoneChunkList< T > & | other | ) |
Definition at line 501 of file zone-chunk-list.h.
T & v8::internal::ZoneChunkList< T >::back | ( | ) |
Definition at line 323 of file zone-chunk-list.h.
const T & v8::internal::ZoneChunkList< T >::back | ( | ) | const |
Definition at line 331 of file zone-chunk-list.h.
|
inline |
|
inline |
void v8::internal::ZoneChunkList< T >::CopyTo | ( | T * | ptr | ) |
|
inline |
Definition at line 54 of file zone-chunk-list.h.
|
inline |
|
inline |
ZoneChunkList< T >::iterator v8::internal::ZoneChunkList< T >::Find | ( | const size_t | index | ) |
Definition at line 425 of file zone-chunk-list.h.
ZoneChunkList< T >::const_iterator v8::internal::ZoneChunkList< T >::Find | ( | const size_t | index | ) | const |
Definition at line 432 of file zone-chunk-list.h.
T & v8::internal::ZoneChunkList< T >::front | ( | ) |
Definition at line 311 of file zone-chunk-list.h.
const T & v8::internal::ZoneChunkList< T >::front | ( | ) | const |
Definition at line 317 of file zone-chunk-list.h.
v8::internal::ZoneChunkList< T >::MOVE_ONLY_NO_DEFAULT_CONSTRUCTOR | ( | ZoneChunkList< T > | ) |
|
inlineprivate |
|
inlinestaticprivate |
Definition at line 133 of file zone-chunk-list.h.
void v8::internal::ZoneChunkList< T >::push_back | ( | const T & | item | ) |
void v8::internal::ZoneChunkList< T >::push_front | ( | const T & | item | ) |
Definition at line 362 of file zone-chunk-list.h.
|
inline |
|
inline |
|
inline |
|
inline |
void v8::internal::ZoneChunkList< T >::Rewind | ( | const size_t | limit = 0 | ) |
Definition at line 399 of file zone-chunk-list.h.
|
private |
Definition at line 386 of file zone-chunk-list.h.
|
inline |
ZoneChunkList< T > v8::internal::ZoneChunkList< T >::SplitAt | ( | iterator | split_begin | ) |
|
inline |
Definition at line 100 of file zone-chunk-list.h.
|
friend |
Definition at line 109 of file zone-chunk-list.h.
|
private |
Definition at line 183 of file zone-chunk-list.h.
|
staticconstexpr |
Definition at line 46 of file zone-chunk-list.h.
|
staticconstexpr |
Definition at line 47 of file zone-chunk-list.h.
|
private |
Definition at line 184 of file zone-chunk-list.h.
|
private |
Definition at line 182 of file zone-chunk-list.h.
|
private |
Definition at line 180 of file zone-chunk-list.h.