Home
last modified time | relevance | path

Searched refs:minLengthByDepth (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java83 static final int[] minLengthByDepth = { field in RopeByteString
214 if (newLength >= minLengthByDepth[newDepth]) { in concatenate()
331 return totalLength >= minLengthByDepth[treeDepth]; in isBalanced()
659 int binEnd = minLengthByDepth[depthBin + 1]; in insert()
668 int binStart = minLengthByDepth[depthBin]; in insert()
683 binEnd = minLengthByDepth[depthBin + 1]; in insert()
696 int depth = Arrays.binarySearch(minLengthByDepth, length); in getDepthBinForLength()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DRopeByteStringTest.java71 assertEquals(a, RopeByteString.minLengthByDepth[i]); in testMinLengthByDepth()
76 assertEquals(Integer.MAX_VALUE, RopeByteString.minLengthByDepth[i]); in testMinLengthByDepth()
77 assertEquals(i + 1, RopeByteString.minLengthByDepth.length); in testMinLengthByDepth()