Home
last modified time | relevance | path

Searched refs:hashString (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava/src/com/google/common/hash/
DHashFunction.java206 HashCode hashString(CharSequence input); in hashString() method
213 HashCode hashString(CharSequence input, Charset charset); in hashString() method
DAbstractNonStreamingHashFunction.java53 @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
DAbstractStreamingHashFunction.java44 @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
DMurmur3_32HashFunction.java105 @Override public HashCode hashString(CharSequence input) { in hashString() method in Murmur3_32HashFunction
/external/guava/guava-tests/test/com/google/common/hash/
DSipHashFunctionTest.java165 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()
DAbstractNonStreamingHashFunctionTest.java145 public HashCode hashString(CharSequence input) { in hashString() method in NonStreamingVersion
150 public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in NonStreamingVersion
DHashCodeTest.java171 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()
DAbstractStreamingHasherTest.java268 public HashCode hashString(CharSequence input) {
273 public HashCode hashString(CharSequence input, Charset charset) {
DMurmur3Hash128Test.java47 murmur3_128(0).hashString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8); in testKnownValues()
DHashTestUtils.java543 assertEquals(hashFunction.hashString(string, charset), in assertHashStringEquivalence()
DHashingTest.java446 func.hashString(input, Charsets.UTF_8).toString()); in testKnownUtf8Hashing()