Lines Matching defs:Buckets
181 // Instead of using a bucket per vertex, we use a single array Buckets that
183 // Buckets[i] stores the index of the first element in V's bucket. After V's
184 // bucket is processed, Buckets[i] stores the index of the next element in the
186 SmallVector<unsigned, 32> Buckets;
187 Buckets.resize(N + 1);
189 Buckets[i] = i;
197 for (unsigned j = i; Buckets[j] != i; j = Buckets[j]) {
198 typename GraphT::NodeType* V = DT.Vertex[Buckets[j]];
225 Buckets[i] = Buckets[WInfo.Semi];
226 Buckets[WInfo.Semi] = i;
232 for (unsigned j = 1; Buckets[j] != 1; j = Buckets[j]) {
233 typename GraphT::NodeType* V = DT.Vertex[Buckets[j]];