ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/extra166y/PAS.java
(Generate patch)

Comparing jsr166/src/extra166y/PAS.java (file contents):
Revision 1.2 by dl, Mon Jan 12 17:16:36 2009 UTC vs.
Revision 1.3 by jsr166, Wed Jul 22 17:50:01 2009 UTC

# Line 2351 | Line 2351 | class PAS {
2351              if (left - lo <= hi - right) {
2352                  oquickSort(a, cmp, lo, left);
2353                  lo = left + 1;
2354 <            }              
2354 >            }
2355              else {
2356                  oquickSort(a, cmp, right, hi);
2357                  hi = left;
# Line 2455 | Line 2455 | class PAS {
2455              if (left - lo <= hi - right) {
2456                  dquickSort(a, cmp, lo, left);
2457                  lo = left + 1;
2458 <            }              
2458 >            }
2459              else {
2460                  dquickSort(a, cmp, right, hi);
2461                  hi = left;
# Line 2559 | Line 2559 | class PAS {
2559              if (left - lo <= hi - right) {
2560                  lquickSort(a, cmp, lo, left);
2561                  lo = left + 1;
2562 <            }              
2562 >            }
2563              else {
2564                  lquickSort(a, cmp, right, hi);
2565                  hi = left;
# Line 2709 | Line 2709 | class PAS {
2709                  int cb;
2710                  for (;;) { // Establish action: sum, cumulate, or both
2711                      int b = phase;
2712 <                    if ((b & FINISHED) != 0) // already done
2712 >                    if ((b & FINISHED) != 0) // already done
2713                          return false;
2714                      if ((b & CUMULATE) != 0)
2715                          cb = FINISHED;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines