Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,181 for hash_code (0.29 sec)

  1. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasher.java

            hasher.putString(getClass().getName());
        }
    
        @Override
        Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext) {
            return Optional.of(snapshotContext)
                .flatMap(IoFunction.wrap(this::hashContent));
        }
    
        @Override
        Optional<HashCode> tryHash(ZipEntryContext zipEntryContext) {
            return Optional.of(zipEntryContext)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/DefaultModuleComponentArtifactIdentifier.java

            this.componentIdentifier = componentIdentifier;
            this.name = artifact;
            this.hashCode = 31 * name.hashCode() + componentIdentifier.hashCode();
        }
    
        @Override
        public String getFileName() {
            String classifier = StringUtils.isNotEmpty(name.getClassifier()) ? "-" + name.getClassifier() : "";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/model/Checksum.java

            this.origin = origin;
            this.reason = reason;
            this.hashCode = computeHashcode();
        }
    
        private int computeHashcode() {
            int result = kind.hashCode();
            result = 31 * result + value.hashCode();
            result = 31 * result + (alternatives != null ? alternatives.hashCode() : 0);
            result = 31 * result + (origin != null ? origin.hashCode() : 0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/booleans/KtLogicalCombinators.kt

        public val right: KaContractBooleanExpression get() = withValidityAssertion { backingRight }
        public val operation: KaLogicOperation get() = withValidityAssertion { backingOperation }
    
        override fun hashCode(): Int = Objects.hashCode(backingLeft, backingRight, backingOperation)
        override fun equals(other: Any?): Boolean {
            return this === other ||
                    other is KaContractBinaryLogicExpression &&
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java

            MavenArtifactRepositorySubclass r3 = new MavenArtifactRepositorySubclass("bar");
    
            assertTrue(r1.hashCode() == r2.hashCode());
            assertFalse(r1.hashCode() == r3.hashCode());
    
            assertTrue(r1.equals(r2));
            assertTrue(r2.equals(r1));
    
            assertFalse(r1.equals(r3));
            assertFalse(r3.equals(r1));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Objects.java

       * public int hashCode() {
       *   return Objects.hashCode(getX(), getY(), getZ());
       * }
       * }</pre>
       *
       * <p><b>Warning:</b> When a single object is supplied, the returned hash code does not equal the
       * hash code of that object.
       *
       * <p><b>Java 7+ users:</b> This method should be treated as deprecated; use {@link
       * java.util.Objects#hash} instead.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

                int hash = 17;
                hash = hash * 31 + Objects.hashCode(groupId);
                hash = hash * 31 + Objects.hashCode(artifactId);
                hash = hash * 31 + Objects.hashCode(version);
                hash = hash * 31 + Objects.hashCode(dependencyArtifacts);
                hash = hash * 31 + Objects.hashCode(workspace);
                hash = hash * 31 + Objects.hashCode(localRepo);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:49 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/DefaultTestFailureDetails.java

            return Arrays.equals(actualContent, that.actualContent);
        }
    
        @Override
        public int hashCode() {
            int result = message != null ? message.hashCode() : 0;
            result = 31 * result + (className != null ? className.hashCode() : 0);
            result = 31 * result + (stacktrace != null ? stacktrace.hashCode() : 0);
            result = 31 * result + (isAssertionFailure ? 1 : 0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

                hash = hash * 31 + CacheUtils.pluginHashCode(plugin);
                hash = hash * 31 + Objects.hashCode(workspace);
                hash = hash * 31 + Objects.hashCode(localRepo);
                hash = hash * 31 + RepositoryUtils.repositoriesHashCode(repositories);
                hash = hash * 31 + Objects.hashCode(extensionFilter);
                this.hashCode = hash;
            }
    
            @Override
            public String toString() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultMutableVersionConstraint.java

        }
    
        @Override
        public int hashCode() {
            int result = super.hashCode();
            result = 31 * result + (requiredVersion != null ? requiredVersion.hashCode() : 0);
            result = 31 * result + (preferredVersion != null ? preferredVersion.hashCode() : 0);
            result = 31 * result + (strictVersion != null ? strictVersion.hashCode() : 0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:20:28 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top