Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for HashString (0.24 sec)

  1. subprojects/core/src/main/java/org/gradle/initialization/DefaultSettings.java

                // using "-" to separate the parts of the root project name to allow easier usage in the CLI, just in case.
                return "generated-" + rootIndicator  + (rootIndicator.isEmpty() ? "" : "-") +
                    sha512().hashString(now().toString()).toString().substring(0, 6);
            }
            return settingsDir.getName();
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 18:31:24 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/CachingModuleComponentRepositoryTest.groovy

            def file = new File("local")
            def result = Stub(BuildableArtifactFileResolveResult) {
                getFile() >> file
                getFailure() >> null
            }
    
            def descriptorHash = Hashing.sha1().hashString("Hello")
            def moduleSource = Stub(ModuleDescriptorHashModuleSource) {
                getDescriptorHash() >> descriptorHash
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          h1 ^= k1;
        }
    
        return fmix(h1, Chars.BYTES * input.length());
      }
    
      @SuppressWarnings("deprecation") // need to use Charsets for Android tests to pass
      @Override
      public HashCode hashString(CharSequence input, Charset charset) {
        if (Charsets.UTF_8.equals(charset)) {
          int utf16Length = input.length();
          int h1 = seed;
          int i = 0;
          int len = 0;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorFragments.kt

    import kotlinx.metadata.flagsOf
    import kotlinx.metadata.jvm.JvmMethodSignature
    import org.gradle.api.reflect.TypeOf
    import org.gradle.internal.deprecation.ConfigurationDeprecationType
    import org.gradle.internal.hash.Hashing.hashString
    import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.primitiveTypeStrings
    import org.gradle.kotlin.dsl.support.bytecode.ALOAD
    import org.gradle.kotlin.dsl.support.bytecode.ARETURN
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          h1 ^= k1;
        }
    
        return fmix(h1, Chars.BYTES * input.length());
      }
    
      @SuppressWarnings("deprecation") // need to use Charsets for Android tests to pass
      @Override
      public HashCode hashString(CharSequence input, Charset charset) {
        if (Charsets.UTF_8.equals(charset)) {
          int utf16Length = input.length();
          int h1 = seed;
          int i = 0;
          int len = 0;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

    import static org.gradle.integtests.fixtures.executer.OutputScrapingExecutionResult.normalizeLambdaIds;
    import static org.gradle.internal.hash.Hashing.hashString;
    import static org.gradle.util.Matchers.normalizedLineSeparators;
    import static org.hamcrest.CoreMatchers.containsString;
    import static org.hamcrest.CoreMatchers.equalTo;
    import static org.hamcrest.CoreMatchers.hasItem;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandlerTest.groovy

        }
    
        abstract static class TestBaseScript extends Script {
        }
    
        private static HashCode hashFor(String scriptText) {
            Hashing.hashString(scriptText)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 08:24:10 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Hashing.java

       * have the bug.
       *
       * @deprecated This implementation produces incorrect hash values from the {@link
       *     HashFunction#hashString} method if the string contains non-BMP characters. Use {@link
       *     #murmur3_32_fixed(int)} instead.
       */
      @Deprecated
      public static HashFunction murmur3_32(int seed) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       * have the bug.
       *
       * @deprecated This implementation produces incorrect hash values from the {@link
       *     HashFunction#hashString} method if the string contains non-BMP characters. Use {@link
       *     #murmur3_32_fixed(int)} instead.
       */
      @Deprecated
      public static HashFunction murmur3_32(int seed) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt

            return generatedSourceFiles.single()
        }
    
        private
        fun hashTargetTypeSourceName(sourceName: String): String =
            Hashing.hashString(sourceName).toCompactString()
    }
    
    
    private
    val fixtureParameterNamesSupplier = { key: String ->
        when {
            key.startsWith("${ClassToKClass::class.qualifiedName}.") -> when {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 12 16:16:08 UTC 2023
    - 22.3K bytes
    - Viewed (0)
Back to top