V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::Collector< T, growth_factor, max_growth > Class Template Reference
Inheritance diagram for v8::internal::Collector< T, growth_factor, max_growth >:
v8::internal::SequenceCollector< T, growth_factor, max_growth >

Public Member Functions

 Collector (int initial_capacity=kMinCapacity)
 
void Add (T value)
 
Vector< TAddBlock (int size, T initial_value)
 
Vector< TAddBlock (Vector< const T > source)
 
void WriteTo (Vector< T > destination)
 
Vector< TToVector ()
 
virtual void Reset ()
 
int size ()
 

Protected Member Functions

void Grow (int min_capacity)
 
virtual void NewChunk (int new_capacity)
 

Protected Attributes

std::vector< Vector< T > > chunks_
 
Vector< Tcurrent_chunk_
 
int index_
 
int size_
 

Static Protected Attributes

static const int kMinCapacity = 16
 

Detailed Description

template<typename T, int growth_factor = 2, int max_growth = 1 * MB>
class v8::internal::Collector< T, growth_factor, max_growth >

Definition at line 26 of file collector.h.


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