Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 735 for hash_code (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pilot/pkg/networking/core/route/route_cache_test.go

    					Name:      "foo",
    					Namespace: "default",
    				}.HashCode(),
    				model.ConfigKey{
    					Kind:      kind.HTTPRoute,
    					Name:      "bar",
    					Namespace: "default",
    				}.HashCode(),
    				model.ConfigKey{
    					Kind:      kind.HTTPRoute,
    					Name:      "baz",
    					Namespace: "default",
    				}.HashCode(),
    			},
    		},
    	}
    	for _, tt := range tests {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtValues.kt

        override fun equals(other: Any?): Boolean {
            return this === other || other is KaContractConstantValue && other.backingConstantType == backingConstantType
        }
    
        override fun hashCode(): Int = backingConstantType.hashCode()
    }
    
    public typealias KtContractConstantValue = KaContractConstantValue
    
    /**
     * Represents parameter that can be passed to `value` argument of [kotlin.contracts.ContractBuilder.callsInPlace].
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultImmutableAttributes.java

            hierarchyByName.put(attribute.getName(), this);
            this.hierarchyByName = ImmutableMap.copyOf(hierarchyByName);
            int hashCode = parent.hashCode();
            hashCode = 31 * hashCode + attribute.hashCode();
            hashCode = 31 * hashCode + value.hashCode();
            this.hashCode = hashCode;
            if (hierarchyByName.size() == 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. testing/soak/src/testFixtures/groovy/org/gradle/launcher/daemon/fixtures/FullyQualifiedGarbageCollector.groovy

            }
            if (version != that.version) {
                return false
            }
    
            return true
        }
    
        int hashCode() {
            int result
            result = vendor.hashCode()
            result = 31 * result + version.hashCode()
            result = 31 * result + gc.hashCode()
            return result
        }
    
    
        @Override
        public String toString() {
            return "FullyQualifiedGarbageCollector{" +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializer.java

            encoder.writeByte((byte) accessType.ordinal());
        }
    
        private static HashCode readHashCode(Decoder decoder) throws IOException {
            return HashCode.fromBytes(decoder.readBinary());
        }
    
        private static void writeHashCode(Encoder encoder, HashCode hashCode) throws IOException {
            encoder.writeBinary(hashCode.toByteArray());
        }
    
        private static class SnapshotStack {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 15:45:55 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top