MCPcopy Create free account
hub / github.com/LFYSec/MScan / sort

Method sort

src/test/resources/dataflow/livevar/Sort.java:3–6  ·  view source on GitHub ↗
(Comparable[] a)

Source from the content-addressed store, hash-verified

1public class Sort {
2
3 public static void sort(Comparable[] a) {
4 Comparable[] aux = new Comparable[a.length];
5 mergeSort(a, aux, 0, a.length - 1);
6 }
7
8 private static void mergeSort(Comparable[] a, Comparable[] aux, int lo, int hi) {
9 if (hi <= lo)

Callers 1

setRandomMultiEntryMethod · 0.80

Calls 1

mergeSortMethod · 0.95

Tested by

no test coverage detected