Home | History | Annotate | Download | only in Scripts

Lines Matching refs:endIndex

131 my $endIndex = $revisions[1] ? findNearestNightlyIndex(@nightlies, $revisions[1], 'floor') : $#nightlies;
153 $nightlies[$endIndex]->{rev};
154 downloadNightly($nightlies[$endIndex]->{file}, $nightlyFilesURLBase, $nightlyDownloadDirectory);
155 mountAndRunNightly($nightlies[$endIndex]->{file}, $nightlyDownloadDirectory, $safariPath, $tempFile);
156 $didReproduceBug = promptForTest($nightlies[$endIndex]->{rev});
157 $endIndex++ if $didReproduceBug < 0;
165 printStatus($nightlies[$startIndex]->{rev}, $nightlies[$endIndex]->{rev}, $isProgression);
168 while (abs($endIndex - $startIndex) > 1) {
169 my $index = $startIndex + int(($endIndex - $startIndex) / 2);
174 my $buildsLeft = max(max(0, $endIndex - $index - 1), max(0, $index - $startIndex - 1));
184 $endIndex--;
185 $index = $startIndex + int(($endIndex - $startIndex) / 2);
190 $endIndex = $index;
197 printStatus($nightlies[$startIndex]->{rev}, $nightlies[$endIndex]->{rev}, $isProgression);