Searched refs:min_candidate (Results 1 – 2 of 2) sorted by relevance
253 int min_candidate = 0; in peek_bottom() local255 if (cmp_(elements_[min_candidate], elements_[i])) { in peek_bottom()256 min_candidate = i; in peek_bottom()261 if (min_candidate != 0) { in peek_bottom()263 swap(elements_[0], elements_[min_candidate]); in peek_bottom()
255 int min_candidate = 0; in peek_bottom() local257 if (cmp_(elements_[min_candidate], elements_[i])) { in peek_bottom()258 min_candidate = i; in peek_bottom()263 if (min_candidate != 0) { in peek_bottom()265 swap(elements_[0], elements_[min_candidate]); in peek_bottom()