Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,181 for hash_code (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/ChecksumEntry.java

            this.checksumKind = checksumKind;
            this.hashCode = precomputeHashCode();
        }
    
        private int precomputeHashCode() {
            int result = id.hashCode();
            result = 31 * result + getFile().getName().hashCode();
            result = 31 * result + getArtifactKind().hashCode();
            result = 31 * result + checksumKind.hashCode();
            return result;
        }
    
        ChecksumKind getChecksumKind() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

      }
    
      @Override
      public HashCode hashInt(int input) {
        return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array());
      }
    
      @Override
      public HashCode hashLong(long input) {
        return hashBytes(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(input).array());
      }
    
      @Override
      public HashCode hashUnencodedChars(CharSequence input) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/JavaSerializedValueSnapshot.java

        private final HashCode implementationHash;
        private final byte[] serializedValue;
    
        public JavaSerializedValueSnapshot(@Nullable HashCode implementationHash, byte[] serializedValue) {
            this.implementationHash = implementationHash;
            this.serializedValue = serializedValue;
        }
    
        @Nullable
        public HashCode getImplementationHash() {
            return implementationHash;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:37:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/model/internal/type/WildcardTypeWrapper.java

        private final TypeWrapper[] upperBounds;
        private final TypeWrapper[] lowerBounds;
        private final int hashCode;
    
        public WildcardTypeWrapper(TypeWrapper[] upperBounds, TypeWrapper[] lowerBounds, int hashCode) {
            this.upperBounds = upperBounds;
            this.lowerBounds = lowerBounds;
            this.hashCode = hashCode;
        }
    
        @Override
        public Class<?> getRawClass() {
            if (upperBounds.length > 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/DefaultCachedArtifact.java

    import org.gradle.internal.hash.HashCode;
    
    import java.io.File;
    import java.io.Serializable;
    import java.util.Collections;
    import java.util.List;
    
    public class DefaultCachedArtifact implements CachedArtifact, Serializable {
        private final File cachedFile;
        private final long cachedAt;
        private final HashCode descriptorHash;
        private final List<String> attemptedLocations;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/model/ImmutableArtifactVerificationMetadata.java

        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        private int computeHashCode() {
            int result = artifactName.hashCode();
            result = 31 * result + checksums.hashCode();
            result = 31 * result + trustedPgpKeys.hashCode();
            result = 31 * result + ignoredPgpKeys.hashCode();
            return result;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top