v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <utils.h>
Public Member Functions | |
SequenceCollector (int initial_capacity) | |
virtual | ~SequenceCollector () |
void | StartSequence () |
Vector< T > | EndSequence () |
void | DropSequence () |
virtual void | Reset () |
Public Member Functions inherited from Collector< T, growth_factor, max_growth > | |
Collector (int initial_capacity=kMinCapacity) | |
virtual | ~Collector () |
void | Add (T value) |
Vector< T > | AddBlock (int size, T initial_value) |
Vector< T > | AddBlock (Vector< const T > source) |
void | WriteTo (Vector< T > destination) |
Vector< T > | ToVector () |
int | size () |
Additional Inherited Members | |
Protected Member Functions inherited from Collector< T, growth_factor, max_growth > | |
void | Grow (int min_capacity) |
Protected Attributes inherited from Collector< T, growth_factor, max_growth > | |
List< Vector< T > > | chunks_ |
Vector< T > | current_chunk_ |
int | index_ |
int | size_ |
Static Protected Attributes inherited from Collector< T, growth_factor, max_growth > | |
static const int | kMinCapacity = 16 |
|
inlineexplicit |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from Collector< T, growth_factor, max_growth >.