Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,660 for hash_code (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassEncoder.kt

                writeClassPath(scope.exportClassPath)
            }
        }
    
        private
        fun WriteContext.writeHashCode(hashCode: HashCode?) {
            if (hashCode == null) {
                writeBoolean(false)
            } else {
                writeBoolean(true)
                writeBinary(hashCode.toByteArray())
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ClassLoaderScopeIdentifier.java

            return name.equals(that.name) && Objects.equals(parent, that.parent);
        }
    
        @Override
        public int hashCode() {
            int result = Objects.hashCode(parent);
            result = 31 * result + name.hashCode();
            return result;
        }
    
        String getPath() {
            Deque<String> names = new ArrayDeque<>();
            names.add(name);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 03 07:46:21 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/initialization/loadercache/DefaultClassLoaderCache.java

            }
    
            @Override
            public int hashCode() {
                int result = implementationHash.hashCode();
                result = 31 * result + classPath.hashCode();
                result = 31 * result + (filterSpec != null ? filterSpec.hashCode() : 0);
                result = 31 * result + (parent != null ? parent.hashCode() : 0);
                return result;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/IgnoredPathFileSystemLocationFingerprint.java

        private final FileType type;
        private final HashCode normalizedContentHash;
    
        public static IgnoredPathFileSystemLocationFingerprint create(FileType type, HashCode contentHash) {
            switch (type) {
                case Directory:
                    return DIRECTORY;
                case Missing:
                    return MISSING_FILE;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top