Home | History | Annotate | Download | only in src

Lines Matching refs:Collector

21  * in memory). The collector may move elements unless it has guaranteed not
25 class Collector {
27 explicit Collector(int initial_capacity = kMinCapacity)
32 virtual ~Collector() {
52 // A basic Collector will keep this vector valid as long as the Collector
70 // A basic Collector will keep this vector valid as long as the Collector
85 // Write the contents of the collector into the provided vector.
112 // Resets the collector to be empty.
122 // Total number of elements added to collector so far.
130 int size_; // Total number of elements in collector.
138 // The collector started out as empty.
172 * A collector that allows sequences of values to be guaranteed to
177 * NOTICE: Blocks allocated using Collector::AddBlock(int) can move
181 class SequenceCollector : public Collector<T, growth_factor, max_growth> {
184 : Collector<T, growth_factor, max_growth>(initial_capacity),
213 this->Collector<T, growth_factor, max_growth>::Reset();
224 this->Collector<T, growth_factor, max_growth>::NewChunk(new_capacity);