/external/guava/guava/src/com/google/common/hash/ |
D | AbstractStreamingHashFunction.java | 37 return newHasher().putObject(instance, funnel).hash(); in hashObject() 49 return newHasher().putUnencodedChars(input).hash(); in hashUnencodedChars() 53 return newHasher().putString(input, charset).hash(); in hashString() 57 return newHasher().putInt(input).hash(); in hashInt() 61 return newHasher().putLong(input).hash(); in hashLong() 65 return newHasher().putBytes(input).hash(); in hashBytes() 69 return newHasher().putBytes(input, off, len).hash(); in hashBytes() 72 @Override public Hasher newHasher(int expectedInputSize) { in newHasher() method in AbstractStreamingHashFunction 74 return newHasher(); in newHasher()
|
D | AbstractNonStreamingHashFunction.java | 35 public Hasher newHasher() { in newHasher() method in AbstractNonStreamingHashFunction 40 public Hasher newHasher(int expectedInputSize) { in newHasher() method in AbstractNonStreamingHashFunction 46 return newHasher().putObject(instance, funnel).hash(); in hashObject() 59 Hasher hasher = newHasher(len * 2); in hashUnencodedChars() 75 return newHasher(4).putInt(input).hash(); in hashInt() 79 return newHasher(8).putLong(input).hash(); in hashLong()
|
D | HashFunction.java | 143 Hasher newHasher(); in newHasher() method 151 Hasher newHasher(int expectedInputSize); in newHasher() method
|
D | AbstractCompositeHashFunction.java | 49 public Hasher newHasher() { in newHasher() method in AbstractCompositeHashFunction 52 hashers[i] = functions[i].newHasher(); in newHasher()
|
D | HashingOutputStream.java | 47 this.hasher = checkNotNull(hashFunction.newHasher()); in HashingOutputStream()
|
D | HashingInputStream.java | 43 this.hasher = checkNotNull(hashFunction.newHasher()); in HashingInputStream()
|
D | ChecksumHashFunction.java | 49 public Hasher newHasher() { in newHasher() method in ChecksumHashFunction
|
D | SipHashFunction.java | 67 @Override public Hasher newHasher() { in newHasher() method in SipHashFunction
|
D | MessageDigestHashFunction.java | 81 @Override public Hasher newHasher() { in newHasher() method in MessageDigestHashFunction
|
D | Murmur3_32HashFunction.java | 61 @Override public Hasher newHasher() { in newHasher() method in Murmur3_32HashFunction
|
D | Murmur3_128HashFunction.java | 55 @Override public Hasher newHasher() { in newHasher() method in Murmur3_128HashFunction
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | AbstractNonStreamingHashFunctionTest.java | 43 new StreamingVersion().newHasher(), in testExhaustive() 44 new StreamingVersion().newHasher(52), in testExhaustive() 45 new NonStreamingVersion().newHasher(), in testExhaustive() 46 new NonStreamingVersion().newHasher(123)); in testExhaustive() 85 Hasher h1 = new NonStreamingVersion().newHasher(); in assertPutString() 86 Hasher h2 = new NonStreamingVersion().newHasher(); in assertPutString() 103 public Hasher newHasher() { in newHasher() method in AbstractNonStreamingHashFunctionTest.StreamingVersion
|
D | HashTestUtils.java | 459 Hasher hasher1 = hashFunction.newHasher(); in assertIndependentHashers() 460 Hasher hasher2 = hashFunction.newHasher(); in assertIndependentHashers() 471 Hasher hasher = hashFunction.newHasher(); in randomHash() 494 hashFunction.newHasher(size).putBytes(bytes).hash()); in assertHashBytesEquivalence() 498 hashFunction.newHasher(size).putBytes(bytes, off, len).hash()); in assertHashBytesEquivalence() 504 hashFunction.newHasher().putInt(i).hash()); in assertHashIntEquivalence() 510 hashFunction.newHasher().putLong(l).hash()); in assertHashLongEquivalence() 526 hashFunction.newHasher().putUnencodedChars("abc").hash(), in assertHashStringEquivalence() 527 hashFunction.newHasher().putUnencodedChars("ab").putUnencodedChars("c").hash(), in assertHashStringEquivalence() 528 hashFunction.newHasher().putUnencodedChars("a").putUnencodedChars("bc").hash(), in assertHashStringEquivalence() [all …]
|
D | SipHashFunctionTest.java | 166 assertEquals(expected, SIP_WITH_KEY.newHasher().putString(input, UTF_8).hash().asLong()); in assertSip() 168 assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putString(input, UTF_8).hash().asLong()); in assertSip() 173 assertEquals(expected, SIP_WITH_KEY.newHasher().putBytes(input).hash().asLong()); in assertSip() 175 assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putBytes(input).hash().asLong()); in assertSip()
|
D | Murmur3Hash128Test.java | 55 assertEquals(expected, murmur3_128(seed).newHasher().putBytes(input).hash()); in assertHash() 72 Hasher hasher = murmur3_128(seed).newHasher(); in testParanoid()
|
D | MessageDigestHashFunctionTest.java | 61 Hasher sha1 = Hashing.sha1().newHasher(); in testPutAfterHash() 75 Hasher sha1 = Hashing.sha1().newHasher(); in testHashTwice()
|
D | Murmur3Hash32Test.java | 62 Hasher hasher = murmur3_32(seed).newHasher(); in testParanoid()
|
D | HashingOutputStreamTest.java | 40 EasyMock.expect(hashFunction.newHasher()).andReturn(hasher).once(); in setUp()
|
D | HashingInputStreamTest.java | 45 EasyMock.expect(hashFunction.newHasher()).andReturn(hasher).once(); in setUp()
|
D | AbstractStreamingHasherTest.java | 157 Hasher controlSink = control.newHasher(1024); in testExhaustive()
|
D | HashingTest.java | 373 Hasher hasher = Hashing.md5().newHasher(); in testHashIntVsForLoop()
|
/external/guava/guava/src/com/google/common/io/ |
D | ByteSource.java | 311 Hasher hasher = hashFunction.newHasher(); in hash()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | FilesTest.java | 606 assertEquals(init, Hashing.md5().newHasher().hash().toString()); in testHash()
|
/external/owasp/sanitizer/lib/guava-libraries/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/owasp/sanitizer/distrib/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |