Searched refs:partialHash (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Internal.java | 300 int h = Internal.partialHash(length, bytes, offset, length); in hashCode() 307 static int partialHash(int h, byte[] bytes, int offset, int length) { in partialHash() method in Internal 365 int h = partialHash(bytes.capacity(), bytes.array(), bytes.arrayOffset(), bytes.capacity()); in hashCodeByteBuffer() 380 h = partialHash(h, buffer, 0, length); in hashCodeByteBuffer()
|
D | RopeByteString.java | 528 protected int partialHash(int h, int offset, int length) { in partialHash() method in RopeByteString 531 return left.partialHash(h, offset, length); in partialHash() 533 return right.partialHash(h, offset - leftLength, length); in partialHash() 536 int leftPartial = left.partialHash(h, offset, leftLength); in partialHash() 537 return right.partialHash(leftPartial, 0, length - leftLength); in partialHash()
|
D | ByteString.java | 847 h = partialHash(size, 0, size); in hashCode() 1181 protected abstract int partialHash(int h, int offset, int length); in partialHash() method 1421 protected final int partialHash(int h, int offset, int length) { in partialHash() method in LiteralByteString 1422 return Internal.partialHash(h, bytes, getOffsetIntoBytes() + offset, length); in partialHash()
|
D | NioByteString.java | 210 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 | 468 int hash = stringUnderTest.partialHash(stringUnderTest.size(), 0, stringUnderTest.size()); in testPartialHash()
|
D | NioByteStringTest.java | 539 int hash = testString.partialHash(testString.size(), 0, testString.size()); in testPartialHash()
|