| 59 | } |
| 60 | |
| 61 | void RadixSort::resize( unsigned int s ) |
| 62 | { |
| 63 | m_ranks->writable().resize( s ); |
| 64 | m_ranks2->writable().resize( s ); |
| 65 | } |
| 66 | |
| 67 | template<typename T> |
| 68 | bool RadixSort::checkPassValidity( const std::vector<T> &input, unsigned int pass, unsigned int* &curCount, unsigned char &uniqueVal ) |