Searched refs:expectedHash (Results 1 – 6 of 6) sorted by relevance
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashingInputStreamTest.java | 117 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); in testHash_hashesCorrectly() local 124 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectly() 128 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); in testHash_hashesCorrectlyReadOutOfBound() local 136 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectlyReadOutOfBound() 140 HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'}); in testHash_hashesCorrectlyForSkipping() local 150 assertEquals(expectedHash, in.hash()); in testHash_hashesCorrectlyForSkipping()
|
D | HashingOutputStreamTest.java | 82 HashCode expectedHash = Hashing.md5().hashBytes(buf); in testHash_hashesCorrectly() local 87 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/guava/guava-tests/test/com/google/common/io/ |
D | ByteSourceTester.java | 189 HashCode expectedHash = Hashing.md5().hashBytes(expected); in testHash() local 190 assertEquals(expectedHash, source.hash(Hashing.md5())); in testHash()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | MapInterfaceTest.java | 222 int expectedHash = in assertInvariants() local 225 assertEquals(expectedHash, entry.hashCode()); in assertInvariants() 226 expectedEntrySetHash += expectedHash; in assertInvariants() 254 int expectedHash = 0; in assertInvariants() local 256 expectedHash += entry.hashCode(); in assertInvariants() 258 assertEquals(expectedHash, map.hashCode()); in assertInvariants()
|