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

Comparing jsr166/src/test/extra166y/ScalarLongSortDemo.java (file contents):
Revision 1.1 by dl, Sun Nov 1 22:00:35 2009 UTC vs.
Revision 1.2 by jsr166, Wed Sep 1 07:28:19 2010 UTC

# Line 11 | Line 11 | import java.util.*;
11   class ScalarLongSortDemo {
12      static final long NPS = (1000L * 1000 * 1000);
13  
14 <    public static void main (String[] args) throws Exception {
14 >    public static void main(String[] args) throws Exception {
15          int n = 1 << 20;
16          int sreps = 4;
17          int reps = 10;
# Line 45 | Line 45 | class ScalarLongSortDemo {
45          fjpool.shutdown();
46      }
47  
48 <    static void checkSorted (long[] a)  {
48 >    static void checkSorted(long[] a)  {
49          int n = a.length;
50          for (int i = 0; i < n - 1; i++) {
51              if (a[i] > a[i+1]) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines