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/
DRopeByteString.java572 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()
DInternal.java292 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()
DByteString.java903 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()
DNioByteString.java212 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.java496 int hash = stringUnderTest.partialHash(stringUnderTest.size(), 0, stringUnderTest.size()); in testPartialHash()
DNioByteStringTest.java558 int hash = testString.partialHash(testString.size(), 0, testString.size()); in testPartialHash()