Searched refs:ss_median3 (Results 1 – 1 of 1) sorted by relevance
/external/libdivsufsort/lib/ |
D | sssort.c | 234 ss_median3(const sauchar_t *Td, const saidx_t *PA, in ss_median3() function 272 return ss_median3(Td, PA, first, middle, last - 1); in ss_pivot() 279 first = ss_median3(Td, PA, first, first + t, first + (t << 1)); in ss_pivot() 280 middle = ss_median3(Td, PA, middle - t, middle, middle + t); in ss_pivot() 281 last = ss_median3(Td, PA, last - 1 - (t << 1), last - 1 - t, last - 1); in ss_pivot() 282 return ss_median3(Td, PA, first, middle, last); in ss_pivot()
|