Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,277 for hash_code (0.43 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/ProjectLibrary.java

        }
    
        @Override
        public int hashCode() {
            int result;
            result = name.hashCode();
            result = 31 * result + (type != null ? type.hashCode() : 0);
            result = 31 * result + compilerClasspath.hashCode();
            result = 31 * result + classes.hashCode();
            result = 31 * result + javadoc.hashCode();
            result = 31 * result + sources.hashCode();
            return result;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/descriptor/DefaultExclude.java

        }
    
        @Override
        public int hashCode() {
            int result = moduleId.hashCode();
            result = 31 * result + (artifact != null ? artifact.hashCode() : 0);
            result = 31 * result + configurations.hashCode();
            result = 31 * result + (patternMatcher != null ? patternMatcher.hashCode() : 0);
            return result;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. 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)
  9. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/ModuleDependencyTest.groovy

        }
    
        def hash() {
            expect:
            new ModuleDependency("a", null).hashCode() == new ModuleDependency("a", "COMPILE").hashCode()
            new ModuleDependency("a", "").hashCode() == new ModuleDependency("a", "COMPILE").hashCode()
        }
    
        def shouldNotExportDependencies() {
            expect:
            !(new ModuleDependency("a", "COMPILE").exported)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/data/MavenDependencyKeyTest.groovy

            strictlyEquals(key1, key2) == equality
            (key1.hashCode() == key2.hashCode()) == hashCode
            (key1.toString() == key2.toString()) == stringRepresentation
    
            where:
            groupId     | artifactId     | type  | classifier | equality | hashCode | stringRepresentation
            'group-one' | 'artifact-one' | 'jar' | null       | false    | false    | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top