Home
last modified time | relevance | path

Searched refs:getTreeDepth (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java137 treeDepth = Math.max(left.getTreeDepth(), right.getTreeDepth()) + 1; in RopeByteString()
188 if (leftRope.left.getTreeDepth() > leftRope.right.getTreeDepth() in concatenate()
189 && leftRope.getTreeDepth() > right.getTreeDepth()) { in concatenate()
201 int newDepth = Math.max(left.getTreeDepth(), right.getTreeDepth()) + 1; in concatenate()
274 protected int getTreeDepth() { in getTreeDepth() method in RopeByteString
DByteString.java814 protected final int getTreeDepth() { in getTreeDepth() method in LeafByteString
1151 protected abstract int getTreeDepth(); in getTreeDepth() method
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DRopeByteStringSubstringTest.java65 3, stringUnderTest.getTreeDepth()); in testGetTreeDepth()
DRopeByteStringTest.java68 4, stringUnderTest.getTreeDepth()); in testGetTreeDepth()
DLiteralByteStringTest.java123 assertEquals(classUnderTest + " must have depth 0", 0, stringUnderTest.getTreeDepth()); in testGetTreeDepth()
DNioByteStringTest.java117 assertEquals(CLASSNAME + " must have depth 0", 0, testString.getTreeDepth()); in testGetTreeDepth()
DByteStringTest.java742 assertEquals(1, root.getTreeDepth()); in testWriteToOutputStream()