/external/guava/guava/src/com/google/common/hash/ |
HashFunction.java | 174 HashCode hashBytes(byte[] input); 184 HashCode hashBytes(byte[] input, int off, int len);
|
AbstractNonStreamingHashFunction.java | 29 * #hashBytes(byte[], int, int)} method. 68 return hashBytes(input.toString().getBytes(charset.name())); 82 @Override public HashCode hashBytes(byte[] input) { 83 return hashBytes(input, 0, input.length); 158 return hashBytes(stream.byteArray(), 0, stream.length());
|
AbstractStreamingHashFunction.java | 64 @Override public HashCode hashBytes(byte[] input) { 68 @Override public HashCode hashBytes(byte[] input, int off, int len) {
|
/external/guava/guava-tests/test/com/google/common/hash/ |
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());
|
ChecksumHashFunctionTest.java | 77 assertEquals(value, func.hashBytes(bytes).padToLong()); 84 assertEquals(expected, func.hashBytes(bytes).asInt());
|
MessageDigestHashFunctionTest.java | 100 ALGORITHMS.get(algorithmName).hashBytes(input)); 104 new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input));
|
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),
|
AbstractNonStreamingHashFunctionTest.java | 135 public HashCode hashBytes(byte[] input) { 140 public HashCode hashBytes(byte[] input, int off, int len) {
|
Murmur3Hash128Test.java | 54 assertEquals(expected, murmur3_128(seed).hashBytes(input));
|
AbstractStreamingHasherTest.java | 253 public HashCode hashBytes(byte[] input) { 258 public HashCode hashBytes(byte[] input, int off, int len) { 259 return hashBytes(Arrays.copyOfRange(input, off, off + len));
|
HashingInputStreamTest.java | 116 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); 127 HashCode expectedHash = Hashing.md5().hashBytes(testBytes); 139 HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
|
HashingOutputStreamTest.java | 82 HashCode expectedHash = Hashing.md5().hashBytes(buf);
|
HashCodeTest.java | 372 byte[] hashBytes = hashCode.asBytes(); 379 assertTrue(Arrays.equals(Arrays.copyOf(hashBytes, bytes), bb));
|
HashingTest.java | 365 Hashing.md5().hashBytes(Ints.toByteArray(input)),
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
HashFunctionBenchmark.java | 58 result ^= hashFunction.hashBytes(testBytes).asBytes()[0];
|
ChecksumBenchmark.java | 91 result ^= hashFunction.hashBytes(testBytes).asBytes()[0];
|
MessageDigestAlgorithmBenchmark.java | 57 return algorithm.getHashFunction().hashBytes(input).asBytes();
|
/libcore/luni/src/main/java/java/util/jar/ |
JarVerifier.java | 214 byte[] hashBytes = hash.getBytes(StandardCharsets.ISO_8859_1); 217 return new VerifierEntry(name, MessageDigest.getInstance(algorithm), hashBytes, 390 byte[] hashBytes = hash.getBytes(StandardCharsets.ISO_8859_1); 391 return MessageDigest.isEqual(b, Base64.decode(hashBytes));
|
/external/guava/guava-tests/test/com/google/common/io/ |
ByteSourceTester.java | 199 HashCode expectedHash = Hashing.md5().hashBytes(expected);
|
/external/guava/guava/src/com/google/common/io/ |
ByteSource.java | 552 return hashFunction.hashBytes(bytes);
|
/external/conscrypt/src/main/native/ |
org_conscrypt_NativeCrypto.cpp | [all...] |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/ow2/asm/asm-debug-all/4.0/ |
asm-debug-all-4.0.jar | |
/prebuilts/tools/common/asm-tools/ |
asm-debug-all-4.0.jar | |
/prebuilts/devtools/tools/lib/ |
guava-13.0.1.jar | |
guava-17.0.jar | |