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

Comparing jsr166/src/test/loops/FinalLongTest.java (file contents):
Revision 1.3 by jsr166, Thu Oct 29 23:09:07 2009 UTC vs.
Revision 1.4 by jsr166, Tue Nov 3 01:04:02 2009 UTC

# Line 47 | Line 47 | public class FinalLongTest {
47              Long[] ns = nums;
48  
49              while (n-- > 0) {
50 <                //                int k = (int)(s & (LEN-1));
50 >                //                int k = (int) (s & (LEN-1));
51                  //                if (k < 0 || k >= LEN) k = 1;
52                  //                int l = (k+1) & (LEN-1);
53                  //                if (l < 0 || l >= LEN) l = 0;
# Line 78 | Line 78 | public class FinalLongTest {
78              int n = iters;
79              long s = initialSeed(this);
80              while (s != 0 && n > 0) {
81 <                long nexts; // = nums[(int)(s & (LEN-1))].longValue();
81 >                long nexts; // = nums[(int) (s & (LEN-1))].longValue();
82                  if ((s & (LEN-1)) == 0)
83                      nexts = n0.longValue();
84                  else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines