Lines Matching defs:ChunkRange
5 // Implementation of ChunkRange class.
16 ChunkRange::ChunkRange(int start) : start_(start), stop_(start) {
19 ChunkRange::ChunkRange(int start, int stop) : start_(start), stop_(stop) {
22 ChunkRange::ChunkRange(const ChunkRange& rhs)
55 void RangesToChunks(const std::vector<ChunkRange>& ranges,
59 const ChunkRange& range = ranges[i];
67 std::vector<ChunkRange>* ranges) {
87 ranges->push_back(ChunkRange(start, stop));
94 bool IsChunkInRange(int chunk_number, const std::vector<ChunkRange>& ranges) {
104 const ChunkRange& chunk = ranges[mid];