Searched refs:half (Results 1 – 4 of 4) sorted by relevance
395 int half = n >>> 1; // loop while a non-leaf in siftDownComparable() local396 while (k < half) { in siftDownComparable()416 int half = n >>> 1; in siftDownUsingComparator() local417 while (k < half) { in siftDownUsingComparator()439 int half = (n >>> 1) - 1; in heapify() local442 for (int i = half; i >= 0; i--) in heapify()446 for (int i = half; i >= 0; i--) in heapify()
936 int half = size >>> 1; in siftDown() local937 while (k < half) { in siftDown()
695 int half = size >>> 1; // loop while a non-leaf in siftDownComparable() local696 while (k < half) { in siftDownComparable()713 int half = size >>> 1; in siftDownUsingComparator() local714 while (k < half) { in siftDownUsingComparator()
1736 int half = (Math.max(xlen, ylen)+1) / 2; in multiplyKaratsuba() local1740 BigInteger xl = x.getLower(half); in multiplyKaratsuba()1741 BigInteger xh = x.getUpper(half); in multiplyKaratsuba()1742 BigInteger yl = y.getLower(half); in multiplyKaratsuba()1743 BigInteger yh = y.getUpper(half); in multiplyKaratsuba()1752 …BigInteger result = p1.shiftLeft(32*half).add(p3.subtract(p1).subtract(p2)).shiftLeft(32*half).add… in multiplyKaratsuba()2134 int half = (mag.length+1) / 2; in squareKaratsuba() local2136 BigInteger xl = getLower(half); in squareKaratsuba()2137 BigInteger xh = getUpper(half); in squareKaratsuba()2143 …return xhs.shiftLeft(half*32).add(xl.add(xh).square().subtract(xhs.add(xls))).shiftLeft(half*32).a… in squareKaratsuba()