Searched refs:new_hole_pos (Results 1 – 1 of 1) sorted by relevance
135 size_t MoveHole(size_t new_hole_pos, size_t old_hole_pos) { in MoveHole() argument136 DCHECK_GT(new_hole_pos, 0u); in MoveHole()137 DCHECK_LE(new_hole_pos, size_); in MoveHole()138 DCHECK_GT(new_hole_pos, 0u); in MoveHole()139 DCHECK_LE(new_hole_pos, size_); in MoveHole()140 DCHECK_NE(old_hole_pos, new_hole_pos); in MoveHole()141 nodes_[old_hole_pos] = std::move(nodes_[new_hole_pos]); in MoveHole()143 return new_hole_pos; in MoveHole()