Debian Codegraph @

export_test.go

raw
1 // Copyright 2011 The Go Authors.
2 // Copyright 2015 Randall Farmer.
3 // All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
6
7 package sorts
8
9 import "sort"
10
11 func Heapsort(data sort.Interface) {
12 heapSort(data, 0, data.Len())
13 }
14
15 func GuessIntShift(data Int64Interface, l int) uint {
16 return guessIntShift(intwrapper{data}, l)
17 }
18
19 func SetQSortCutoff(i int) int {
20 orig := qSortCutoff
21 qSortCutoff = i
22 return orig
23 }
24
25 func SetMinOffload(i int) int {
26 orig := minOffload
27 minOffload = i
28 return orig
29 }
30
31 func Checking() bool {
32 return true
33 }