Searched refs:partialHash (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | RopeByteString.java | 572 protected int partialHash(int h, int offset, int length) { in partialHash() method 575 return left.partialHash(h, offset, length); in partialHash() 577 return right.partialHash(h, offset - leftLength, length); in partialHash() 580 int leftPartial = left.partialHash(h, offset, leftLength); in partialHash() 581 return right.partialHash(leftPartial, 0, length - leftLength); in partialHash()
|
D | Internal.java | 292 int h = Internal.partialHash(length, bytes, offset, length); in hashCode() 297 static int partialHash(int h, byte[] bytes, int offset, int length) { in partialHash() method in Internal 342 int h = partialHash(bytes.capacity(), bytes.array(), bytes.arrayOffset(), bytes.capacity()); in hashCodeByteBuffer() 357 h = partialHash(h, buffer, 0, length); in hashCodeByteBuffer()
|
D | ByteString.java | 903 h = partialHash(size, 0, size); in hashCode() 1225 protected abstract int partialHash(int h, int offset, int length); in partialHash() method 1471 protected final int partialHash(int h, int offset, int length) { in partialHash() method in LiteralByteString 1472 return Internal.partialHash(h, bytes, getOffsetIntoBytes() + offset, length); in partialHash()
|
D | NioByteString.java | 212 protected int partialHash(int h, int offset, int length) { in partialHash() method in NioByteString
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | LiteralByteStringTest.java | 496 int hash = stringUnderTest.partialHash(stringUnderTest.size(), 0, stringUnderTest.size()); in testPartialHash()
|
D | NioByteStringTest.java | 558 int hash = testString.partialHash(testString.size(), 0, testString.size()); in testPartialHash()
|