Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for hash_code (0.14 sec)

  1. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        }
    
        @Override
        public int hashCode() {
          return 0;
        }
      }
    
      static class SameIntegerInstance {
        private final Integer i;
    
        public SameIntegerInstance(Integer i) {
          this.i = checkNotNull(i);
        }
    
        @Override
        public int hashCode() {
          return i.hashCode();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/MavenUniqueSnapshotComponentIdentifier.java

            this.timestamp = timestamp;
            this.hashCode = super.hashCode() + timestamp.hashCode();
        }
    
        @Override
        public boolean equals(Object o) {
            return super.equals(o) && ((MavenUniqueSnapshotComponentIdentifier) o).timestamp.equals(timestamp);
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        @Override
        public String getDisplayName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 10:27:56 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. 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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/FirCallableSignature.kt

            return returnType == other.returnType
    
        }
    
        override fun hashCode(): Int {
            var result = receiverType?.hashCode() ?: 0
            result = 31 * result + contextReceiverTypes.hashCode()
            result = 31 * result + parameters.hashCode()
            result = 31 * result + typeParametersCount.hashCode()
            result = 31 * result + returnType.hashCode()
            return result
        }
    
        companion object {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ComponentVariantNodeIdentifier.java

            if (!componentId.equals(that.componentId)) {
                return false;
            }
            return variantName.equals(that.variantName);
        }
    
        @Override
        public int hashCode() {
            return componentId.hashCode() ^ variantName.hashCode();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/EdgeState.java

            this.hashCode = computeHashCode();
        }
    
        private int computeHashCode() {
            int hashCode = from.hashCode();
            hashCode = 31 * hashCode + dependencyState.hashCode();
            if (transitiveExclusions != null) {
                hashCode = 31 * hashCode + transitiveExclusions.hashCode();
            }
            return hashCode;
        }
    
        void computeSelector() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPackageSymbol.kt

            if (fqName != other.fqName) return false
            if (token != other.token) return false
    
            return true
        }
    
        override fun hashCode(): Int {
            var result = fqName.hashCode()
            result = 31 * result + token.hashCode()
            return result
        }
    }
    
    class KtPackage(
        manager: PsiManager,
        private val fqName: FqName,
        private val scope: GlobalSearchScope
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprint.kt

            val fileSystemInputs: FileCollectionInternal,
            val fileSystemInputsFingerprint: HashCode
        ) : ConfigurationCacheFingerprint()
    
        data class InputFile(
            val file: File,
            val hash: HashCode
        ) : ConfigurationCacheFingerprint()
    
        data class DirectoryChildren(
            val file: File,
            val hash: HashCode
        ) : ConfigurationCacheFingerprint()
    
        data class InputFileSystemEntry(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCircularReferenceIntegrationTest.groovy

                    Circular(String a, String z) {
                        this.a = a
                        this.z = z
                    }
    
                    int hashCode() {
                        assert a != null && z != null
                        a.hashCode() ^ z.hashCode()
                    }
    
                    boolean equals(Object other) {
                        assert a != null && z != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

            fun gradleProperty(propertyName: String): String?
            fun fingerprintOf(fileCollection: FileCollectionInternal): HashCode
            fun hashCodeAndTypeOf(file: File): Pair<HashCode, FileType>
            fun hashCodeOf(file: File): HashCode?
            fun hashCodeOfDirectoryContent(file: File): HashCode?
            fun displayNameOf(fileOrDirectory: File): String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top