Home
last modified time | relevance | path

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

12

/external/guava/guava-tests/test/com/google/common/hash/
DMurmur3Hash32Test.java55 assertHash(0, murmur3_32().hashString("", Charsets.UTF_8)); in testKnownUtf8StringInputs()
56 assertHash(0xcfbda5d1, murmur3_32().hashString("k", Charsets.UTF_8)); in testKnownUtf8StringInputs()
57 assertHash(0xa167dbf3, murmur3_32().hashString("hell", Charsets.UTF_8)); in testKnownUtf8StringInputs()
58 assertHash(0x248bfa47, murmur3_32().hashString("hello", Charsets.UTF_8)); in testKnownUtf8StringInputs()
59 assertHash(0x3d41b97c, murmur3_32().hashString("http://www.google.com/", Charsets.UTF_8)); in testKnownUtf8StringInputs()
62 murmur3_32().hashString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8)); in testKnownUtf8StringInputs()
63 assertHash(0xfc5ba834, murmur3_32().hashString("毎月1日,毎週月曜日", Charsets.UTF_8)); in testKnownUtf8StringInputs()
70 murmur3_32().hashString("ABCDefGHI\u0799", Charsets.UTF_8)); in testSimpleStringUtf8()
93 murmur3_32().hashString(str, Charsets.UTF_8)); in testStringInputsUtf8()
140 murmur3_32().hashString(str, Charsets.UTF_8)); in testInvalidUnicodeHashString()
DSipHashFunctionTest.java168 assertEquals(expected, SIP_WITH_KEY.hashString(input, UTF_8).asLong()); in assertSip()
170 assertEquals(expected, SIP_WITHOUT_KEY.hashString(input, UTF_8).asLong()); in assertSip()
DHashCodeTest.java184 HashCode hash1 = Hashing.sha1().hashString("foo", Charsets.US_ASCII); in testRoundTripHashCodeUsingBaseEncoding()
216 HashCode hash1 = Hashing.sha1().hashString("foo", Charsets.US_ASCII); in testRoundTripHashCodeUsingFromString()
240 String string = Hashing.sha1().hashString("foo", Charsets.US_ASCII).toString().toUpperCase(); in testFromStringFailsWithUpperCaseString()
DMacHashFunctionTest.java145 .hashString("The quick brown fox jumps over the lazy dog", UTF_8) in testCustomKey()
203 assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashString(input, UTF_8).toString()); in testKnownInputs()
216 assertEquals(knownOutput, Hashing.hmacMd5(SHA1_KEY).hashString(input, UTF_8).toString()); in testKnownInputs_mixedAlgorithms()
DMurmur3Hash128Test.java43 murmur3_128(0).hashString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8); in testKnownValues()
/external/guava/android/guava-tests/test/com/google/common/hash/
DMurmur3Hash32Test.java55 assertHash(0, murmur3_32().hashString("", Charsets.UTF_8)); in testKnownUtf8StringInputs()
56 assertHash(0xcfbda5d1, murmur3_32().hashString("k", Charsets.UTF_8)); in testKnownUtf8StringInputs()
57 assertHash(0xa167dbf3, murmur3_32().hashString("hell", Charsets.UTF_8)); in testKnownUtf8StringInputs()
58 assertHash(0x248bfa47, murmur3_32().hashString("hello", Charsets.UTF_8)); in testKnownUtf8StringInputs()
59 assertHash(0x3d41b97c, murmur3_32().hashString("http://www.google.com/", Charsets.UTF_8)); in testKnownUtf8StringInputs()
62 murmur3_32().hashString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8)); in testKnownUtf8StringInputs()
63 assertHash(0xfc5ba834, murmur3_32().hashString("毎月1日,毎週月曜日", Charsets.UTF_8)); in testKnownUtf8StringInputs()
70 murmur3_32().hashString("ABCDefGHI\u0799", Charsets.UTF_8)); in testSimpleStringUtf8()
93 murmur3_32().hashString(str, Charsets.UTF_8)); in testStringInputsUtf8()
140 murmur3_32().hashString(str, Charsets.UTF_8)); in testInvalidUnicodeHashString()
DSipHashFunctionTest.java168 assertEquals(expected, SIP_WITH_KEY.hashString(input, UTF_8).asLong()); in assertSip()
170 assertEquals(expected, SIP_WITHOUT_KEY.hashString(input, UTF_8).asLong()); in assertSip()
DHashCodeTest.java184 HashCode hash1 = Hashing.sha1().hashString("foo", Charsets.US_ASCII); in testRoundTripHashCodeUsingBaseEncoding()
216 HashCode hash1 = Hashing.sha1().hashString("foo", Charsets.US_ASCII); in testRoundTripHashCodeUsingFromString()
240 String string = Hashing.sha1().hashString("foo", Charsets.US_ASCII).toString().toUpperCase(); in testFromStringFailsWithUpperCaseString()
DMacHashFunctionTest.java145 .hashString("The quick brown fox jumps over the lazy dog", UTF_8) in testCustomKey()
203 assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashString(input, UTF_8).toString()); in testKnownInputs()
216 assertEquals(knownOutput, Hashing.hmacMd5(SHA1_KEY).hashString(input, UTF_8).toString()); in testKnownInputs_mixedAlgorithms()
DMurmur3Hash128Test.java43 murmur3_128(0).hashString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8); in testKnownValues()
/external/guava/android/guava/src/com/google/common/hash/
DHashFunction.java206 HashCode hashString(CharSequence input, Charset charset); in hashString() method
DAbstractHashFunction.java43 public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in AbstractHashFunction
DAbstractNonStreamingHashFunction.java66 public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in AbstractNonStreamingHashFunction
/external/guava/guava/src/com/google/common/hash/
DHashFunction.java206 HashCode hashString(CharSequence input, Charset charset); in hashString() method
DAbstractHashFunction.java43 public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in AbstractHashFunction
DAbstractNonStreamingHashFunction.java66 public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in AbstractNonStreamingHashFunction
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
DNamedStreamMap.h54 uint32_t hashString(uint32_t Offset) const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DNamedStreamMap.h54 uint32_t hashString(uint32_t Offset) const;
/external/starlark-go/starlark/
Dhashtable_test.go27 hashString(s)
/external/guava/guava-tests/benchmark/com/google/common/hash/
DHashStringBenchmark.java123 .hashString(strings[i & SAMPLE_MASK], StandardCharsets.UTF_8)); in hashUtf8()
/external/guava/android/guava-tests/benchmark/com/google/common/hash/
DHashStringBenchmark.java123 .hashString(strings[i & SAMPLE_MASK], StandardCharsets.UTF_8)); in hashUtf8()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DNamedStreamMap.cpp96 uint32_t NamedStreamMap::hashString(uint32_t Offset) const { in hashString() function in NamedStreamMap
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNamedStreamMap.cpp96 uint32_t NamedStreamMap::hashString(uint32_t Offset) const { in hashString() function in NamedStreamMap
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/containers/
DCrossProfileTypeInfo.java83 .hashString(crossProfileTypeElement().getQualifiedName().toString(), StandardCharsets.UTF_8) in identifier()
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/
DTextClassifierEventLogger.java119 ? Hashing.goodFastHash(64).hashString(resultId, UTF_8).toString() in logConversationActionsEvent()

12