16 |
|
static int reps = 16; |
17 |
|
static final long maxValue = 1 << 12; |
18 |
|
|
19 |
< |
public static void main (String[] args) throws Exception { |
19 |
> |
public static void main(String[] args) throws Exception { |
20 |
|
int n = 1 << 20; |
21 |
|
Long[] a = new Long[n]; |
22 |
|
ParallelArray<Long> pa = ParallelArray.createUsingHandoff(a, fjpool); |
291 |
|
return u; |
292 |
|
} |
293 |
|
|
294 |
< |
static void checkSorted (ParallelArray<Long> pa) { |
294 |
> |
static void checkSorted(ParallelArray<Long> pa) { |
295 |
|
int n = pa.size(); |
296 |
|
for (int i = 0; i < n - 1; i++) { |
297 |
|
if (pa.get(i).compareTo(pa.get(i+1)) >= 0) { |