Lines Matching refs:tree_index
119 uint64_t tree_index = treePLRU_replacement_data->index;
124 const bool right = isRightSubtree(tree_index);
127 tree_index = parentIndex(tree_index);
130 tree->at(tree_index) = right;
131 } while (tree_index != 0);
145 uint64_t tree_index = treePLRU_replacement_data->index;
150 const bool right = isRightSubtree(tree_index);
153 tree_index = parentIndex(tree_index);
156 tree->at(tree_index) = !right;
157 } while (tree_index != 0);
179 uint64_t tree_index = 0;
182 while (tree_index < tree->size()) {
184 if (tree->at(tree_index)) {
185 tree_index = rightSubtreeIndex(tree_index);
187 tree_index = leftSubtreeIndex(tree_index);
193 return candidates[tree_index - (numLeaves - 1)];