Home
last modified time | relevance | path

Searched refs:partialHash (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DInternal.java300 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()
DRopeByteString.java528 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()
DByteString.java847 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()
DNioByteString.java210 protected int partialHash(int h, int offset, int length) { in partialHash() method in NioByteString
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java468 int hash = stringUnderTest.partialHash(stringUnderTest.size(), 0, stringUnderTest.size()); in testPartialHash()
DNioByteStringTest.java539 int hash = testString.partialHash(testString.size(), 0, testString.size()); in testPartialHash()