Searched refs:hashString (Results 1 – 11 of 11) sorted by relevance
/external/guava/guava/src/com/google/common/hash/ |
D | HashFunction.java | 206 HashCode hashString(CharSequence input); in hashString() method 213 HashCode hashString(CharSequence input, Charset charset); in hashString() method
|
D | AbstractNonStreamingHashFunction.java | 53 @Override public HashCode hashString(CharSequence input) { in hashString() method in AbstractNonStreamingHashFunction 66 @Override public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in AbstractNonStreamingHashFunction
|
D | AbstractStreamingHashFunction.java | 44 @Override public HashCode hashString(CharSequence input) { in hashString() method in AbstractStreamingHashFunction 52 @Override public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in AbstractStreamingHashFunction
|
D | Murmur3_32HashFunction.java | 105 @Override public HashCode hashString(CharSequence input) { in hashString() method in Murmur3_32HashFunction
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | SipHashFunctionTest.java | 165 assertEquals(expected, SIP_WITH_KEY.hashString(input, UTF_8).asLong()); in assertSip() 167 assertEquals(expected, SIP_WITHOUT_KEY.hashString(input, UTF_8).asLong()); in assertSip()
|
D | AbstractNonStreamingHashFunctionTest.java | 145 public HashCode hashString(CharSequence input) { in hashString() method in NonStreamingVersion 150 public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in NonStreamingVersion
|
D | HashCodeTest.java | 171 HashCode hash1 = Hashing.sha1().hashString("foo"); in testRoundTripHashCodeUsingBaseEncoding() 204 HashCode hash1 = Hashing.sha1().hashString("foo"); in testRoundTripHashCodeUsingFromString() 229 String string = Hashing.sha1().hashString("foo").toString().toUpperCase(); in testFromStringFailsWithUpperCaseString()
|
D | AbstractStreamingHasherTest.java | 268 public HashCode hashString(CharSequence input) { 273 public HashCode hashString(CharSequence input, Charset charset) {
|
D | Murmur3Hash128Test.java | 47 murmur3_128(0).hashString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8); in testKnownValues()
|
D | HashTestUtils.java | 543 assertEquals(hashFunction.hashString(string, charset), in assertHashStringEquivalence()
|
D | HashingTest.java | 446 func.hashString(input, Charsets.UTF_8).toString()); in testKnownUtf8Hashing()
|