Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,660 for hash_code (0.14 sec)

  1. android/guava/src/com/google/common/graph/EndpointPair.java

      public abstract boolean equals(@CheckForNull Object obj);
    
      /**
       * The hashcode of an ordered {@link EndpointPair} is equal to {@code Objects.hashCode(source(),
       * target())}. The hashcode of an unordered {@link EndpointPair} is equal to {@code
       * nodeU().hashCode() + nodeV().hashCode()}.
       */
      @Override
      public abstract int hashCode();
    
      private static final class Ordered<N> extends EndpointPair<N> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        return super.equals(obj);
      }
    
      /**
       * By default delegates to {@link Object#hashCode}. The dynamic proxies' {@code hashCode()} will
       * delegate to this method. Subclasses can override this method to provide custom equality.
       */
      @Override
      public int hashCode() {
        return super.hashCode();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/SourceFileState.java

    import com.google.common.collect.ImmutableSet;
    import org.gradle.internal.hash.HashCode;
    
    /**
     * Immutable snapshot of the state of a source file.
     */
    public class SourceFileState {
        private final HashCode hash;
        private final boolean hasUnresolved;
        private final ImmutableSet<IncludeFileEdge> resolvedIncludes;
    
        public SourceFileState(HashCode hash, boolean hasUnresolved, ImmutableSet<IncludeFileEdge> resolvedIncludes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      private final transient int hashCode;
      // the same values as `elements` in hashed positions (plus nulls)
      @VisibleForTesting final transient @Nullable Object[] table;
      // 'and' with an int to get a valid table index.
      private final transient int mask;
      private final transient int size;
    
      RegularImmutableSet(
          @Nullable Object[] elements, int hashCode, @Nullable Object[] table, int mask, int size) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultImmutableVersionConstraint.java

            this.strictVersion = "";
            this.rejectedVersions = ImmutableList.of();
            this.requiredBranch = null;
            this.hashCode = super.hashCode();
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        @Nullable
        @Override
        public String getBranch() {
            return requiredBranch;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/DefaultCachedArtifacts.java

    import org.gradle.internal.hash.HashCode;
    
    import java.util.Set;
    
    class DefaultCachedArtifacts implements CachedArtifacts {
        private final Set<ComponentArtifactMetadata> artifacts;
        private final HashCode descriptorHash;
        private final long ageMillis;
    
        DefaultCachedArtifacts(Set<ComponentArtifactMetadata> artifacts, HashCode descriptorHash, long ageMillis) {
            this.ageMillis = ageMillis;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/HashedClasspath.java

    import org.gradle.internal.classpath.ClassPath;
    import org.gradle.internal.hash.HashCode;
    
    import java.io.Serializable;
    
    /**
     * Immutable classpath with it's precomputed hash.
     */
    public class HashedClasspath implements Serializable {
        private final ClassPath classpath;
        private final HashCode hash;
    
        public HashedClasspath(ClassPath classpath, HashCode hash) {
            this.classpath = classpath;
            this.hash = hash;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/ChecksumService.java

    import java.io.File;
    
    @ServiceScope(Scope.BuildSession.class)
    public interface ChecksumService {
        HashCode md5(File file);
    
        HashCode sha1(File file);
    
        HashCode sha256(File file);
    
        HashCode sha512(File file);
    
        HashCode hash(File src, String algorithm);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasher.java

            hasher.putString(getClass().getName());
        }
    
        @Override
        Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext) {
            return Optional.of(snapshotContext)
                .flatMap(IoFunction.wrap(this::hashContent));
        }
    
        @Override
        Optional<HashCode> tryHash(ZipEntryContext zipEntryContext) {
            return Optional.of(zipEntryContext)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/DefaultModuleComponentArtifactIdentifier.java

            this.componentIdentifier = componentIdentifier;
            this.name = artifact;
            this.hashCode = 31 * name.hashCode() + componentIdentifier.hashCode();
        }
    
        @Override
        public String getFileName() {
            String classifier = StringUtils.isNotEmpty(name.getClassifier()) ? "-" + name.getClassifier() : "";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top