Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BonzaiThePenguin/WikiSort
/ functions
Functions
126 in github.com/BonzaiThePenguin/WikiSort
⨍
Functions
126
◇
Types & classes
24
↓ 105 callers
Function
Range_length
WikiSort.c:104
↓ 105 callers
Method
length
()
WikiSort.java:53
↓ 71 callers
Function
Range_new
WikiSort.c:106
↓ 61 callers
Method
NetSwap
(T array[], int order[], Range range, Comparator<T> comp, int x, int y)
WikiSort.java:443
↓ 50 callers
Method
length
WikiSort.cpp:59
↓ 37 callers
Method
compare
(Test a, Test b)
WikiSort.java:25
↓ 31 callers
Method
set
(int start1, int end1)
WikiSort.java:48
↓ 11 callers
Function
WikiIterator_nextRange
WikiSort.c:291
↓ 11 callers
Method
begin
WikiSort.cpp:298
↓ 11 callers
Method
nextRange
WikiSort.cpp:303
↓ 11 callers
Method
nextRange
()
WikiSort.java:103
↓ 9 callers
Function
Rotate
rotate the values in an array ([0 1 2 3] becomes [1 2 3 0] if we rotate by 1) */ this assumes that 0 <= amount <= range.length() */
WikiSort.c:248
↓ 9 callers
Method
Rotate
(T array[], int amount, Range range, boolean use_cache)
WikiSort.java:269
↓ 8 callers
Method
nextInt
(int max)
WikiSort.java:1086
↓ 7 callers
Function
WikiIterator_length
WikiSort.c:319
↓ 7 callers
Method
length
()
WikiSort.java:131
↓ 6 callers
Function
BinaryFirst
find the index of the first value within the range that is equal to array[index] */
WikiSort.c:142
↓ 6 callers
Method
BinaryFirst
(T array[], T value, Range range, Comparator<T> comp)
WikiSort.java:166
↓ 6 callers
Function
BinaryLast
find the index of the last value within the range that is equal to array[index], plus 1 */
WikiSort.c:157
↓ 6 callers
Function
BlockSwap
swap a series of values in the array */
WikiSort.c:240
↓ 6 callers
Method
BlockSwap
(T array[], int start1, int start2, int block_size)
WikiSort.java:259
↓ 6 callers
Function
Seconds
WikiSort.c:37
↓ 6 callers
Function
Seconds
WikiSort.cpp:39
↓ 6 callers
Method
Seconds
()
WikiSort.java:1165
↓ 6 callers
Function
WikiIterator_begin
WikiSort.c:287
↓ 5 callers
Method
BinaryLast
(T array[], T value, Range range, Comparator<T> comp)
WikiSort.java:180
↓ 5 callers
Function
WikiIterator_finished
WikiSort.c:304
↓ 5 callers
Method
begin
()
WikiSort.java:99
↓ 5 callers
Method
finished
WikiSort.cpp:316
↓ 5 callers
Method
finished
()
WikiSort.java:116
↓ 4 callers
Function
Max
WikiSort.c:54
↓ 4 callers
Method
Sort
(T array[], Comparator<T> comp)
WikiSort.java:456
↓ 3 callers
Function
MergeExternal
merge operation using an external buffer, */
WikiSort.c:364
↓ 3 callers
Function
MergeExternal
WikiSort.cpp:170
↓ 3 callers
Method
MergeExternal
(T array[], Range A, Range B, Comparator<T> comp)
WikiSort.java:341
↓ 3 callers
Function
MergeInto
merge two ranges from one array and save the results into a different array */
WikiSort.c:335
↓ 3 callers
Method
MergeInto
(T from[], Range A, Range B, Comparator<T> comp, T into[], int at_index)
WikiSort.java:310
↓ 3 callers
Function
Reverse
reverse a range of values within the array */
WikiSort.c:233
↓ 3 callers
Method
Reverse
(T array[], Range range)
WikiSort.java:250
↓ 2 callers
Function
FindFirstBackward
WikiSort.c:197
↓ 2 callers
Function
FindFirstBackward
WikiSort.cpp:113
↓ 2 callers
Method
FindFirstBackward
(T array[], T value, Range range, Comparator<T> comp, int unique)
WikiSort.java:217
↓ 2 callers
Function
FindLastForward
WikiSort.c:185
↓ 2 callers
Function
FindLastForward
WikiSort.cpp:96
↓ 2 callers
Method
FindLastForward
(T array[], T value, Range range, Comparator<T> comp, int unique)
WikiSort.java:206
↓ 2 callers
Function
InsertionSort
n^2 sorting algorithm used to sort tiny chunks of the full array */
WikiSort.c:222
↓ 2 callers
Function
MergeInPlace
merge operation without a buffer */
WikiSort.c:419
↓ 2 callers
Function
MergeInPlace
WikiSort.cpp:235
↓ 2 callers
Method
MergeInPlace
(T array[], Range A, Range B, Comparator<T> comp)
WikiSort.java:400
↓ 2 callers
Function
MergeInternal
merge operation using an internal buffer */
WikiSort.c:393
↓ 2 callers
Function
MergeInternal
WikiSort.cpp:202
↓ 2 callers
Method
MergeInternal
(T array[], Range A, Range B, Comparator<T> comp, Range buffer)
WikiSort.java:370
↓ 2 callers
Function
MergeSort
WikiSort.c:1084
↓ 2 callers
Function
Sort
WikiSort.cpp:377
↓ 2 callers
Method
Sort
(T array[], Comparator<T> comp)
WikiSort.java:1073
↓ 2 callers
Function
Verify
WikiSort.cpp:1021
↓ 2 callers
Method
Verify
(Test array[], Range range, TestComparator comp, String msg)
WikiSort.java:1172
↓ 2 callers
Function
WikiIterator_nextLevel
WikiSort.c:308
↓ 2 callers
Function
WikiSort
bottom-up merge sort combined with an in-place merge algorithm for O(1) memory use */
WikiSort.c:460
↓ 2 callers
Function
WikiVerify
WikiSort.c:1139
↓ 2 callers
Method
nextLevel
WikiSort.cpp:320
↓ 2 callers
Method
nextLevel
()
WikiSort.java:120
↓ 2 callers
Method
reset
()
WikiSort.java:62
↓ 1 callers
Function
FindFirstForward
combine a linear search with a binary search to reduce the number of comparisons in situations */ where have some idea as to how many unique values th
WikiSort.c:173
↓ 1 callers
Function
FindFirstForward
WikiSort.cpp:79
↓ 1 callers
Method
FindFirstForward
(T array[], T value, Range range, Comparator<T> comp, int unique)
WikiSort.java:195
↓ 1 callers
Function
FindLastBackward
WikiSort.c:209
↓ 1 callers
Function
FindLastBackward
WikiSort.cpp:130
↓ 1 callers
Method
FindLastBackward
(T array[], T value, Range range, Comparator<T> comp, int unique)
WikiSort.java:228
↓ 1 callers
Function
FloorPowerOfTwo
63 -> 32, 64 -> 64, etc. */ this comes from Hacker's Delight */
WikiSort.c:128
↓ 1 callers
Method
FloorPowerOfTwo
(int value)
WikiSort.java:80
↓ 1 callers
Function
Hyperfloor
WikiSort.cpp:69
↓ 1 callers
Function
InsertionSort
WikiSort.cpp:147
↓ 1 callers
Method
InsertionSort
(T array[], Range range, Comparator<T> comp)
WikiSort.java:240
↓ 1 callers
Method
InsertionSort
(T array[], Range range, Comparator<T> comp)
WikiSort.java:1031
↓ 1 callers
Function
MergeSortR
standard merge sort, so we have a baseline for how well WikiSort works */
WikiSort.c:1051
↓ 1 callers
Function
Min
WikiSort.c:49
↓ 1 callers
Function
Random
WikiSort.cpp:1039
↓ 1 callers
Method
SortR
(T array[], Range range, Comparator<T> comp, T buffer[])
WikiSort.java:1042
↓ 1 callers
Function
TestingRandom
WikiSort.c:1093
↓ 1 callers
Function
WikiIterator_new
WikiSort.c:323
↓ 1 callers
Method
value
(int index, int total)
WikiSort.java:1097
Function
Append
the last 1/5 of the data is random
WikiSort.cpp:1076
Function
Ascending
WikiSort.cpp:1055
Method
Cache
WikiSort.cpp:349
Function
Descending
WikiSort.cpp:1059
Function
Equal
WikiSort.cpp:1063
Method
Iterator
WikiSort.cpp:288
Method
Iterator
(int size2, int min_level)
WikiSort.java:90
Function
Jittered
WikiSort.cpp:1067
Function
MostlyAscending
WikiSort.cpp:1051
Function
MostlyDescending
WikiSort.cpp:1047
Function
MostlyEqual
WikiSort.cpp:1071
Method
Pull
()
WikiSort.java:61
Function
RandomFew
WikiSort.cpp:1043
Method
Range
WikiSort.cpp:52
Method
Range
(int start1, int end1)
WikiSort.java:38
Function
TestCompare
WikiSort.c:78
Function
TestCompare
WikiSort.cpp:998
Function
TestingAppend
the last 1/5 of the data is random */
WikiSort.c:1130
next →
1–100 of 126, ranked by callers