Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,660 for hash_code (0.2 sec)

  1. guava/src/com/google/common/collect/AbstractMapEntry.java

              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /** Returns a string representation of the form {@code {key}={value}}. */
      @Override
      public String toString() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/CachingResourceHasher.java

        }
    
        @Nullable
        @Override
        public HashCode hash(RegularFileSnapshotContext fileSnapshotContext) throws IOException {
            return resourceSnapshotterCacheService.hashFile(fileSnapshotContext, delegate, delegateConfigurationHash);
        }
    
        @Override
        public HashCode hash(ZipEntryContext zipEntryContext) throws IOException {
            return delegate.hash(zipEntryContext);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java

            this.version = version;
            this.hashCode = Objects.hash(groupId, artifactId, version);
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public String getArtifactId() {
            return artifactId;
        }
    
        public String getVersion() {
            return version;
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/TestSnapshotFixture.groovy

        }
    
        FileSystemLocationSnapshot regularFile(String absolutePath, @Nullable Long hashCode) {
            regularFile(absolutePath, DIRECT, hashCode)
        }
    
        FileSystemLocationSnapshot regularFile(String absolutePath, FileMetadata.AccessType accessType, @Nullable Long hashCode) {
            new RegularFileSnapshot(
                FilenameUtils.separatorsToSystem(absolutePath),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinder.java

                private final int hashCode;
    
                public CacheKey(List<ImmutableAttributes> variantAttributes, ImmutableAttributes requested) {
                    this.variantAttributes = variantAttributes;
                    this.requested = requested;
                    this.hashCode = variantAttributes.hashCode() ^ requested.hashCode();
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/AbstractFingerprintingStrategy.java

    import org.gradle.internal.fingerprint.hashing.ConfigurableNormalizer;
    import org.gradle.internal.fingerprint.hashing.FileSystemLocationSnapshotHasher;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hasher;
    import org.gradle.internal.hash.Hashing;
    import org.gradle.internal.snapshot.FileSystemLocationSnapshot;
    
    import javax.annotation.Nullable;
    import java.io.IOException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

        this.functions = functions;
      }
    
      /**
       * Constructs a {@code HashCode} from the {@code Hasher} objects of the functions. Each of them
       * has consumed the entire input and they are ready to output a {@code HashCode}. The order of the
       * hashers are the same order as the functions given to the constructor.
       */
      // this could be cleaner if it passed HashCode[], but that would create yet another array...
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/cache/internal/DefaultFileContentCacheFactory.java

            IndexedCacheParameters<HashCode, V> parameters = IndexedCacheParameters.of(name, hashCodeSerializer, serializer)
                .withCacheDecorator(inMemoryCacheDecoratorFactory.decorator(normalizedCacheSize, true));
            IndexedCache<HashCode, V> store = cache.createIndexedCache(parameters);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/DependencyState.java

            this.componentSelectorConverter = componentSelectorConverter;
            this.hashCode = computeHashCode();
        }
    
        private int computeHashCode() {
            int hashCode = dependency.hashCode();
            hashCode = 31 * hashCode + requested.hashCode();
            return hashCode;
        }
    
        public ComponentSelector getRequested() {
            return requested;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

        assertEquals(
            "multiset.entrySet() has incorrect hash code", 0, getMultiset().entrySet().hashCode());
      }
    
      @CollectionSize.Require(ONE)
      public void testEntrySet_hashCode_size1() {
        assertEquals(
            "multiset.entrySet() has incorrect hash code",
            1 ^ e0().hashCode(),
            getMultiset().entrySet().hashCode());
      }
    
      public void testEquals_yes() {
        assertTrue(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 3.9K bytes
    - Viewed (0)
Back to top