HomeSort by relevance Sort by last modified time
    Searched full:partialhash (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
LiteralByteStringTest.java 330 // partialHash() is more strenuously tested elsewhere by testing hashes of substrings.
332 int hash = stringUnderTest.partialHash(stringUnderTest.size(), 0, stringUnderTest.size());
333 assertEquals(classUnderTest + ".partialHash() must yield expected hashCode",
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
RopeByteString.java 537 h = partialHash(h, 0, totalLength);
552 protected int partialHash(int h, int offset, int length) {
555 return left.partialHash(h, offset, length);
557 return right.partialHash(h, offset - leftLength, length);
560 int leftPartial = left.partialHash(h, offset, leftLength);
561 return right.partialHash(leftPartial, 0, length - leftLength);
    [all...]
LiteralByteString.java 248 h = partialHash(size, 0, size);
263 protected int partialHash(int h, int offset, int length) {
ByteString.java     [all...]

Completed in 476 milliseconds