Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,660 for hash_code (0.38 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/DefaultModuleComponentSelector.java

            this.hashCode = computeHashcode(module, version, attributes, requestedCapabilities);
        }
    
        private int computeHashcode(ModuleIdentifier module, ImmutableVersionConstraint version, ImmutableAttributes attributes, ImmutableList<Capability> requestedCapabilities) {
            int hashCode = version.hashCode();
            hashCode = 31 * hashCode + module.hashCode();
            hashCode = 31 * hashCode + attributes.hashCode();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/model/internal/type/ParameterizedTypeWrapper.java

            int hashCode = rawType.hashCode();
            for (TypeWrapper actualTypeArgument : actualTypeArguments) {
                hashCode ^= actualTypeArgument.hashCode();
            }
            if (ownerType != null) {
                hashCode ^= ownerType.hashCode();
            }
            return hashCode;
        }
    
        public TypeWrapper getRawType() {
            return rawType;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          assertErrorMessage(
              e,
              "the Object#hashCode ("
                  + a.hashCode()
                  + ") of "
                  + a
                  + " [group 1, item 1] must be equal to the Object#hashCode ("
                  + b.hashCode()
                  + ") of "
                  + b);
          return;
        }
        fail("Should get invalid hashCode error");
      }
    
      public void testNullEqualityGroup() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/simple/DefaultIvyPatternMatcherExcludeRuleSpec.java

            return hashCode == that.hashCode &&
                isArtifactExclude == that.isArtifactExclude &&
                Objects.equal(moduleId, that.moduleId) &&
                Objects.equal(ivyArtifactName, that.ivyArtifactName) &&
                Objects.equal(matcher, that.matcher);
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

          dummy += Objects.hashCode(S0, S1, S2, S3);
        }
        return dummy;
      }
    
      @Benchmark
      int hashString_5(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(S0, S1, S2, S3, S4);
        }
        return dummy;
      }
    
      @Benchmark
      int hashMixed_5(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(I2, S1, D1, S2, I0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshot.java

            String className = type.getName();
            HashCode classLoaderHash = classLoaderHasher.getClassLoaderHash(type.getClassLoader());
            return of(className, classLoaderHash, isLambdaClass(type), null);
        }
    
        public static ImplementationSnapshot of(String className, @Nullable HashCode classLoaderHash) {
            return of(className, classLoaderHash, isLambdaClassName(className), null);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

                int hash = 17;
                hash = hash * 31 + groupId.hashCode();
                hash = hash * 31 + artifactId.hashCode();
                hash = hash * 31 + version.hashCode();
                hash = hash * 31 + hash(workspace);
                hash = hash * 31 + localRepo.hashCode();
                hash = hash * 31 + RepositoryUtils.repositoriesHashCode(repositories);
                this.hashCode = hash;
            }
    
            @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:49 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

          for (int index = 0; index < size; index++) {
            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayIndexedLength(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (int index = 0; index < array.length; index++) {
            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/MacroWithComplexExpression.java

            return type == other.type && Objects.equal(value, other.value) && arguments.equals(other.arguments);
        }
    
        @Override
        public int hashCode() {
            return super.hashCode() ^ type.hashCode() ^ (value == null ? 0 : value.hashCode()) ^ arguments.hashCode();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/ImmutableWorkspaceMetadata.java

    import org.gradle.caching.internal.origin.OriginMetadata;
    import org.gradle.internal.hash.HashCode;
    
    public class ImmutableWorkspaceMetadata {
        private final OriginMetadata originMetadata;
        private final ImmutableListMultimap<String, HashCode> outputPropertyHashes;
    
        public ImmutableWorkspaceMetadata(OriginMetadata originMetadata, ImmutableListMultimap<String, HashCode> outputPropertyHashes) {
            this.originMetadata = originMetadata;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:46:25 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top