src/mem/cache/replacement_policies/tree_plru_rp.cc
/**
 * Find out if the subtree at index corresponds to the right or left subtree
 * of its parent tree.
 *
 * @param index The index of the subtree.
 * @return True if it is a right subtree, false otherwise.
 */
Find out if the subtree at index corresponds to the right or left subtree
of its parent tree.

@param index The index of the subtree.
@return True if it is a right subtree, false otherwise.
Find out if the subtree at index corresponds to the right or left subtree of its parent tree . @param index The index of the subtree . @return True if it is a right subtree false otherwise .
static bool
isRightSubtree(const uint64_t index)
{
    return index%2 == 0;
}
static bool isRightSubtree ( const uint64_t index ) { return index % 2 == 0 ; }
Find out if the subtree at index corresponds to the right or left subtree
 of its parent tree.
Find out if the subtree at index corresponds to the right or left subtree of its parent tree .