Searched refs:bin_cache (Results 1 – 1 of 1) sorted by relevance
/external/webrtc/src/system_wrappers/source/spreadsortlib/ |
D | spreadsort.hpp | 108 …size_bins(std::vector<size_t> &bin_sizes, std::vector<RandomAccessIter> &bin_cache, unsigned cache… in size_bins() argument 117 if(cache_end > bin_cache.size()) in size_bins() 118 bin_cache.resize(cache_end); in size_bins() 119 return &(bin_cache[cache_offset]); in size_bins() 125 …AccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_… in spread_sort_rec() argument 141 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); in spread_sort_rec() 189 for(unsigned u = cache_offset; u < cache_end; lastPos = bin_cache[u], ++u) { in spread_sort_rec() 190 size_t count = bin_cache[u] - lastPos; in spread_sort_rec() 196 std::sort(lastPos, bin_cache[u]); in spread_sort_rec() 198 …spread_sort_rec<RandomAccessIter, div_type, data_type>(lastPos, bin_cache[u], bin_cache, cache_end… in spread_sort_rec() [all …]
|