/external/guava/guava-tests/test/com/google/common/hash/ |
D | Murmur3Hash32Test.java | 55 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()
|
D | SipHashFunctionTest.java | 168 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()
|
D | HashCodeTest.java | 184 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()
|
D | MacHashFunctionTest.java | 145 .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()
|
D | Murmur3Hash128Test.java | 43 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/ |
D | Murmur3Hash32Test.java | 55 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()
|
D | SipHashFunctionTest.java | 168 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()
|
D | HashCodeTest.java | 184 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()
|
D | MacHashFunctionTest.java | 145 .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()
|
D | Murmur3Hash128Test.java | 43 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/ |
D | HashFunction.java | 206 HashCode hashString(CharSequence input, Charset charset); in hashString() method
|
D | AbstractHashFunction.java | 43 public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in AbstractHashFunction
|
D | AbstractNonStreamingHashFunction.java | 66 public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in AbstractNonStreamingHashFunction
|
/external/guava/guava/src/com/google/common/hash/ |
D | HashFunction.java | 206 HashCode hashString(CharSequence input, Charset charset); in hashString() method
|
D | AbstractHashFunction.java | 43 public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in AbstractHashFunction
|
D | AbstractNonStreamingHashFunction.java | 66 public HashCode hashString(CharSequence input, Charset charset) { in hashString() method in AbstractNonStreamingHashFunction
|
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | NamedStreamMap.h | 54 uint32_t hashString(uint32_t Offset) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | NamedStreamMap.h | 54 uint32_t hashString(uint32_t Offset) const;
|
/external/starlark-go/starlark/ |
D | hashtable_test.go | 27 hashString(s)
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
D | HashStringBenchmark.java | 123 .hashString(strings[i & SAMPLE_MASK], StandardCharsets.UTF_8)); in hashUtf8()
|
/external/guava/android/guava-tests/benchmark/com/google/common/hash/ |
D | HashStringBenchmark.java | 123 .hashString(strings[i & SAMPLE_MASK], StandardCharsets.UTF_8)); in hashUtf8()
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | NamedStreamMap.cpp | 96 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/ |
D | NamedStreamMap.cpp | 96 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/ |
D | CrossProfileTypeInfo.java | 83 .hashString(crossProfileTypeElement().getQualifiedName().toString(), StandardCharsets.UTF_8) in identifier()
|
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/ |
D | TextClassifierEventLogger.java | 119 ? Hashing.goodFastHash(64).hashString(resultId, UTF_8).toString() in logConversationActionsEvent()
|