/external/guava/android/guava-tests/test/com/google/common/hash/ |
D | HashingInputStreamTest.java | 109 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); in testHash_hashesCorrectly() local 116 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectly() 120 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); in testHash_hashesCorrectlyReadOutOfBound() local 128 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectlyReadOutOfBound() 132 HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'}); in testHash_hashesCorrectlyForSkipping() local 142 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectlyForSkipping()
|
D | HashingOutputStreamTest.java | 78 HashCode expectedHash = Hashing.md5().hashBytes(buf); in testHash_hashesCorrectly() local 83 assertEquals(expectedHash, out.hash()); in testHash_hashesCorrectly()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashingInputStreamTest.java | 109 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); in testHash_hashesCorrectly() local 116 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectly() 120 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); in testHash_hashesCorrectlyReadOutOfBound() local 128 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectlyReadOutOfBound() 132 HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'}); in testHash_hashesCorrectlyForSkipping() local 142 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectlyForSkipping()
|
D | HashingOutputStreamTest.java | 78 HashCode expectedHash = Hashing.md5().hashBytes(buf); in testHash_hashesCorrectly() local 83 assertEquals(expectedHash, out.hash()); in testHash_hashesCorrectly()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz4/ |
D | FramedLZ4CompressorInputStream.java | 242 int expectedHash = (int) ((contentHash.getValue() >> 8) & 0xff); in readFrameDescriptor() local 244 if (headerHash != expectedHash) { in readFrameDescriptor() 305 long expectedHash = hash.getValue(); in verifyChecksum() local 306 if (expectedHash != ByteUtils.fromLittleEndian(checksum)) { in verifyChecksum()
|
/external/deqp/modules/internal/ |
D | ditImageIOTests.cpp | 43 …ReadCase (tcu::TestContext& testCtx, const char* name, const char* filename, deUint32 expectedHash) in ImageReadCase() argument 46 , m_expectedHash (expectedHash) in ImageReadCase()
|
/external/okio/okio/src/jvmTest/java/okio/ |
D | PipeTest.java | 62 ByteString expectedHash = ByteString.decodeHex("7c3b224bea749086babe079360cf29f98d88262d"); in largeDataset() local 100 assertEquals(expectedHash, sinkHash.get()); in largeDataset() 101 assertEquals(expectedHash, sourceHash.get()); in largeDataset()
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | ByteSourceTester.java | 217 HashCode expectedHash = Hashing.md5().hashBytes(expected); in testHash() local 218 assertEquals(expectedHash, source.hash(Hashing.md5())); in testHash()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | ByteSourceTester.java | 217 HashCode expectedHash = Hashing.md5().hashBytes(expected); in testHash() local 218 assertEquals(expectedHash, source.hash(Hashing.md5())); in testHash()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | MapInterfaceTest.java | 211 int expectedHash = in assertInvariants() local 214 assertEquals(expectedHash, entry.hashCode()); in assertInvariants() 215 expectedEntrySetHash += expectedHash; in assertInvariants() 243 int expectedHash = 0; in assertInvariants() local 245 expectedHash += entry.hashCode(); in assertInvariants() 247 assertEquals(expectedHash, map.hashCode()); in assertInvariants()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/ |
D | MapInterfaceTest.java | 211 int expectedHash = in assertInvariants() local 214 assertEquals(expectedHash, entry.hashCode()); in assertInvariants() 215 expectedEntrySetHash += expectedHash; in assertInvariants() 243 int expectedHash = 0; in assertInvariants() local 245 expectedHash += entry.hashCode(); in assertInvariants() 247 assertEquals(expectedHash, map.hashCode()); in assertInvariants()
|