/external/guava/guava/src/com/google/common/hash/ |
H A D | HashFunction.java | 174 HashCode hashBytes(byte[] input); method in interface:HashFunction 184 HashCode hashBytes(byte[] input, int off, int len); method in interface:HashFunction
|
H A D | AbstractNonStreamingHashFunction.java | 28 * #hashBytes(byte[], int, int)} method. 58 return hashBytes(input.toString().getBytes(charset)); 69 @Override public HashCode hashBytes(byte[] input) { method in class:AbstractNonStreamingHashFunction 70 return hashBytes(input, 0, input.length); 145 return hashBytes(stream.byteArray(), 0, stream.length());
|
H A D | AbstractStreamingHashFunction.java | 56 @Override public HashCode hashBytes(byte[] input) { method in class:AbstractStreamingHashFunction 60 @Override public HashCode hashBytes(byte[] input, int off, int len) { method in class:AbstractStreamingHashFunction
|
/external/guava/guava-tests/test/com/google/common/hash/ |
H A D | SipHashFunctionTest.java | 124 assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong()); 152 SIP_WITH_KEY.hashBytes(col1), 153 SIP_WITH_KEY.hashBytes(col2), 154 SIP_WITH_KEY.hashBytes(col3)); 172 assertEquals(expected, SIP_WITH_KEY.hashBytes(input).asLong()); 174 assertEquals(expected, SIP_WITHOUT_KEY.hashBytes(input).asLong());
|
H A D | ChecksumHashFunctionTest.java | 77 assertEquals(value, func.hashBytes(bytes).padToLong()); 84 assertEquals(expected, func.hashBytes(bytes).asInt());
|
H A D | MessageDigestHashFunctionTest.java | 101 ALGORITHMS.get(algorithmName).hashBytes(input)); 105 new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input));
|
H A D | HashTestUtils.java | 59 int hashBytes = hashbits / 8; 62 byte[] hashes = new byte[hashBytes * 256]; 69 System.arraycopy(hash, 0, hashes, i * hashBytes, hash.length); 434 hashFunction.hashBytes(new byte[64], 0, 0); 437 hashFunction.hashBytes(new byte[128], -1, 128); 441 hashFunction.hashBytes(new byte[128], 64, 256 /* too long len */); 445 hashFunction.hashBytes(new byte[64], 0, -1); 493 assertEquals(hashFunction.hashBytes(bytes), 497 assertEquals(hashFunction.hashBytes(bytes, off, len),
|
H A D | AbstractNonStreamingHashFunctionTest.java | 133 public HashCode hashBytes(byte[] input) { method in class:AbstractNonStreamingHashFunctionTest.NonStreamingVersion 138 public HashCode hashBytes(byte[] input, int off, int len) { method in class:AbstractNonStreamingHashFunctionTest.NonStreamingVersion
|
H A D | Murmur3Hash128Test.java | 54 assertEquals(expected, murmur3_128(seed).hashBytes(input));
|
H A D | AbstractStreamingHasherTest.java | 252 public HashCode hashBytes(byte[] input) { method in class:AbstractStreamingHasherTest.Control 257 public HashCode hashBytes(byte[] input, int off, int len) { method in class:AbstractStreamingHasherTest.Control 258 return hashBytes(Arrays.copyOfRange(input, off, off + len));
|
H A D | HashingInputStreamTest.java | 117 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); 128 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); 140 HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
|
H A D | Crc32cHashFunctionTest.java | 96 int actualCrc = Hashing.crc32c().hashBytes(data).asInt();
|
H A D | HashingOutputStreamTest.java | 82 HashCode expectedHash = Hashing.md5().hashBytes(buf);
|
H A D | HashCodeTest.java | 374 byte[] hashBytes = hashCode.asBytes(); 381 assertTrue(Arrays.equals(Arrays.copyOf(hashBytes, bytes), bb));
|
H A D | HashingTest.java | 358 Hashing.md5().hashBytes(Ints.toByteArray(input)),
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
H A D | HashFunctionBenchmark.java | 58 result ^= hashFunction.hashBytes(testBytes).asBytes()[0];
|
H A D | ChecksumBenchmark.java | 91 result ^= hashFunction.hashBytes(testBytes).asBytes()[0];
|
H A D | MessageDigestAlgorithmBenchmark.java | 57 return algorithm.getHashFunction().hashBytes(input).asBytes();
|
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | ByteSourceTester.java | 189 HashCode expectedHash = Hashing.md5().hashBytes(expected);
|
/external/guava/guava/src/com/google/common/io/ |
H A D | ByteSource.java | 537 return hashFunction.hashBytes(bytes);
|
/external/conscrypt/common/src/jni/main/cpp/ |
H A D | NativeCrypto.cpp | 2192 ScopedByteArrayRW hashBytes(env, hash); 2193 if (hashBytes.get() == nullptr) { 2198 reinterpret_cast<unsigned char*>(hashBytes.get() + offset),
|
/external/guice/lib/ |
H A D | guava-16.0.1.jar | META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ... |
/external/jacoco/ |
H A D | asm-debug-all-5.0.1.jar | META-INF/MANIFEST.MF org/ org/objectweb/ org/objectweb/asm/ org/objectweb/asm/AnnotationVisitor.class AnnotationVisitor ... |
/external/owasp/sanitizer/distrib/lib/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |
/external/owasp/sanitizer/lib/guava-libraries/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |