Android Open Source - MergeSortBenchmark C Merge Sort






From Project

Back to project page MergeSortBenchmark.

License

The source code is released under:

MIT License

If you think the Android project MergeSortBenchmark listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package io.jamescscott.mergesortbenchmark;
/*from w w w .j a  va2  s .  c o m*/
/**
 * Created by jamescscott on 11/23/14.
 */
import java.util.Random;
public class CMergeSort implements IMergeSortable {
    private static native int[] CMergeSortFn(int[] array, int size, boolean ascending);
    @Override
    public long MergeSortEntry(int size, int ascending, int[] randomArray) {
        //return CMergeSortFn(array, array.length, ascending);
        return 0;
    }

    @Override
    public String getSortLanguage() {
        return "C";
    }
}




Java Source Code List

go.Go.java
go.Seq.java
go.mergesort.Mergesort.java
io.jamescscott.mergesortbenchmark.ApplicationTest.java
io.jamescscott.mergesortbenchmark.CMergeSort.java
io.jamescscott.mergesortbenchmark.GoMergeSort.java
io.jamescscott.mergesortbenchmark.IMergeSortable.java
io.jamescscott.mergesortbenchmark.JavaMergeSort.java
io.jamescscott.mergesortbenchmark.MainActivity.java
io.jamescscott.mergesortbenchmark.MergeSortBenchmarkController.java
io.jamescscott.mergesortbenchmark.MergeSortBenchmarkData.java