Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,278 for hash_code (0.23 sec)

  1. platforms/core-execution/build-cache/src/testFixtures/groovy/org/gradle/caching/internal/TestBuildCacheKey.groovy

    import org.gradle.internal.hash.HashCode
    import org.gradle.internal.hash.TestHashCodes
    
    class TestBuildCacheKey implements BuildCacheKeyInternal {
        private final HashCode hashCode
    
        TestBuildCacheKey(long hashCode) {
            this(TestHashCodes.hashCodeFrom(hashCode))
        }
    
        TestBuildCacheKey(HashCode hashCode) {
            this.hashCode = hashCode
        }
    
        @Override
        String getHashCode() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/AbiExtractingClasspathResourceHasher.java

                @Nullable
                @Override
                HashCode handle(RegularFileSnapshot fileSnapshot, IoFunction<RegularFileSnapshot, HashCode> function) throws IOException {
                    return function.apply(fileSnapshot);
                }
    
                @Nullable
                @Override
                HashCode handle(ZipEntryContent zipEntry, IoFunction<ZipEntryContent, HashCode> function) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java

            hash = hash * 31 + (plugin.isExtensions() ? 1 : 0);
    
            for (Dependency dependency : plugin.getDependencies()) {
                hash = hash * 31 + Objects.hashCode(dependency.getGroupId());
                hash = hash * 31 + Objects.hashCode(dependency.getArtifactId());
                hash = hash * 31 + Objects.hashCode(dependency.getVersion());
                hash = hash * 31 + Objects.hashCode(dependency.getType());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DefaultComponentSelectionDescriptor.java

            this.isEquivalentToForce = isEquivalentToForce;
            if (hasCustomDescription) {
                this.hashCode = 31 * (31 * cause.hashCode() + description.hashCode()) + (isEquivalentToForce ? 1 : 0);
            } else {
                this.hashCode = 31 * cause.hashCode() + (isEquivalentToForce ? 1 : 0);
            }
        }
    
        @Override
        public ComponentSelectionCause getCause() {
            return cause;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileCollectionFingerprintSerializer.java

            }
            ImmutableMultimap<String, HashCode> rootHashes = readRootHashes(decoder);
            HashCode strategyConfigurationHash = hashCodeSerializer.read(decoder);
            return new SerializableFileCollectionFingerprint(fingerprints, rootHashes, strategyConfigurationHash);
        }
    
        private ImmutableMultimap<String, HashCode> readRootHashes(Decoder decoder) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-base/src/main/java/org/gradle/caching/internal/origin/OriginMetadata.java

                return false;
            }
            return executionTime.equals(that.executionTime);
        }
    
        @Override
        public int hashCode() {
            int result = buildInvocationId.hashCode();
            result = 31 * result + buildCacheKey.hashCode();
            result = 31 * result + executionTime.hashCode();
            return result;
        }
    
        @Override
        public String toString() {
            return "OriginMetadata{"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtEffects.kt

        public val occurrencesRange: EventOccurrencesRange get() = withValidityAssertion { backingOccurrencesRange }
    
        override fun hashCode(): Int = Objects.hashCode(backingValueParameterReference, backingOccurrencesRange)
        override fun equals(other: Any?): Boolean {
            return this === other ||
                    other is KaContractCallsInPlaceContractEffectDeclaration &&
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ProgramId.kt

        }
    
        override fun hashCode(): Int {
            var result = templateId.hashCode()
            result = 31 * result + sourceHash.hashCode()
            parentClassLoader.get()?.let { loader ->
                result = 31 * result + loader.hashCode()
            }
            accessorsClassPathHash?.let { classPathHash ->
                result = 31 * result + classPathHash.hashCode()
            }
            classPathHash?.let { classPathHash ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:57 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/CachingExcludeFactory.java

            private final ExcludeSpec right;
            private final int hashCode;
    
            // Optimizes comparisons by making sure that the 2 elements of
            // the pair are "sorted" by hashcode ascending
            private static ExcludePair of(ExcludeSpec left, ExcludeSpec right) {
                if (left.hashCode() > right.hashCode()) {
                    return new ExcludePair(right, left);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. pilot/pkg/model/typed_xds_cache_test.go

    		ConfigKey{Kind: kind.DestinationRule, Name: "name", Namespace: "namespace"}.HashCode(): sets.New(firstEntry.Key()),
    		ConfigKey{Kind: kind.Gateway, Name: "name", Namespace: "namespace"}.HashCode():         sets.New(firstEntry.Key()),
    		ConfigKey{Kind: kind.EnvoyFilter, Name: "name", Namespace: "namespace"}.HashCode():     sets.New(secondEntry.Key()),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 29 20:35:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top