HomeSort by relevance Sort by last modified time
    Searched refs:hashBytes (Results 1 - 25 of 71) sorted by null

1 2 3

  /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 28 * #hashBytes(byte[], int, int)} method.
58 return hashBytes(input.toString().getBytes(charset));
69 @Override public HashCode hashBytes(byte[] input) {
70 return hashBytes(input, 0, input.length);
145 return hashBytes(stream.byteArray(), 0, stream.length());
AbstractStreamingHashFunction.java 56 @Override public HashCode hashBytes(byte[] input) {
60 @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 101 ALGORITHMS.get(algorithmName).hashBytes(input));
105 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 133 public HashCode hashBytes(byte[] input) {
138 public HashCode hashBytes(byte[] input, int off, int len) {
Murmur3Hash128Test.java 54 assertEquals(expected, murmur3_128(seed).hashBytes(input));
AbstractStreamingHasherTest.java 252 public HashCode hashBytes(byte[] input) {
257 public HashCode hashBytes(byte[] input, int off, int len) {
258 return hashBytes(Arrays.copyOfRange(input, off, off + len));
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'});
Crc32cHashFunctionTest.java 96 int actualCrc = Hashing.crc32c().hashBytes(data).asInt();
HashingOutputStreamTest.java 82 HashCode expectedHash = Hashing.md5().hashBytes(buf);
HashCodeTest.java 374 byte[] hashBytes = hashCode.asBytes();
381 assertTrue(Arrays.equals(Arrays.copyOf(hashBytes, bytes), bb));
HashingTest.java 358 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();
  /frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
TimedStatement.java 91 HashCode code1 = hashFunction.hashBytes(buffer);
93 HashCode code2 = hashFunction.hashBytes(buffer);
  /frameworks/base/core/java/android/util/jar/
StrictJarVerifier.java 234 byte[] hashBytes = hash.getBytes(StandardCharsets.ISO_8859_1);
237 return new VerifierEntry(name, MessageDigest.getInstance(algorithm), hashBytes,
  /external/guava/guava-tests/test/com/google/common/io/
ByteSourceTester.java 189 HashCode expectedHash = Hashing.md5().hashBytes(expected);
  /external/guava/guava/src/com/google/common/io/
ByteSource.java 537 return hashFunction.hashBytes(bytes);
  /frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
TarBackupReaderTest.java 183 String signatureSha256 = Hashing.sha256().hashBytes(signatures[0].toByteArray()).toString();
204 String signatureSha256 = Hashing.sha256().hashBytes(signatures[0].toByteArray()).toString();
  /libcore/ojluni/src/main/java/java/io/
ObjectStreamClass.java     [all...]
  /prebuilts/tools/common/m2/repository/org/jboss/forge/roaster/roaster-api/2.18.7.Final/
roaster-api-2.18.7.Final.jar 

Completed in 1354 milliseconds

1 2 3