Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 334 for hash_code (0.16 sec)

  1. 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)
  2. 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)
  3. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java

        }
    
        @Override
        public void withTempFile(HashCode key, Consumer<? super File> action) {
            persistentCache.withFileLock(() -> tempFileStore.withTempFile(key, action));
        }
    
        @Override
        public void close() {
            persistentCache.close();
        }
    
        private File getCacheEntryFile(HashCode key) {
            return new File(persistentCache.getBaseDir(), key.toString());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/signatures/KtFe10FunctionLikeSignature.kt

            return true
        }
    
        override fun hashCode(): Int {
            var result = backingSymbol.hashCode()
            result = 31 * result + backingReturnType.hashCode()
            result = 31 * result + (backingReceiverType?.hashCode() ?: 0)
            result = 31 * result + backingValueParameters.hashCode()
            return result
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/HashCodeSerializer.java

    import org.gradle.internal.hash.HashCode;
    
    import java.io.IOException;
    
    @Immutable
    public class HashCodeSerializer extends AbstractSerializer<HashCode> {
        @Override
        public HashCode read(Decoder decoder) throws IOException {
            byte hashSize = decoder.readByte();
            byte[] hash = new byte[hashSize];
            decoder.readBytes(hash);
            return HashCode.fromBytes(hash);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:33:49 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/booleans/KtLogicalCombinators.kt

        public val right: KaContractBooleanExpression get() = withValidityAssertion { backingRight }
        public val operation: KaLogicOperation get() = withValidityAssertion { backingOperation }
    
        override fun hashCode(): Int = Objects.hashCode(backingLeft, backingRight, backingOperation)
        override fun equals(other: Any?): Boolean {
            return this === other ||
                    other is KaContractBinaryLogicExpression &&
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java

            MavenArtifactRepositorySubclass r3 = new MavenArtifactRepositorySubclass("bar");
    
            assertTrue(r1.hashCode() == r2.hashCode());
            assertFalse(r1.hashCode() == r3.hashCode());
    
            assertTrue(r1.equals(r2));
            assertTrue(r2.equals(r1));
    
            assertFalse(r1.equals(r3));
            assertFalse(r3.equals(r1));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultMutableVersionConstraint.java

        }
    
        @Override
        public int hashCode() {
            int result = super.hashCode();
            result = 31 * result + (requiredVersion != null ? requiredVersion.hashCode() : 0);
            result = 31 * result + (preferredVersion != null ? preferredVersion.hashCode() : 0);
            result = 31 * result + (strictVersion != null ? strictVersion.hashCode() : 0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:20:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/DefaultTestFailureDetails.java

            return Arrays.equals(actualContent, that.actualContent);
        }
    
        @Override
        public int hashCode() {
            int result = message != null ? message.hashCode() : 0;
            result = 31 * result + (className != null ? className.hashCode() : 0);
            result = 31 * result + (stacktrace != null ? stacktrace.hashCode() : 0);
            result = 31 * result + (isAssertionFailure ? 1 : 0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtValues.kt

        override fun equals(other: Any?): Boolean {
            return this === other || other is KaContractConstantValue && other.backingConstantType == backingConstantType
        }
    
        override fun hashCode(): Int = backingConstantType.hashCode()
    }
    
    public typealias KtContractConstantValue = KaContractConstantValue
    
    /**
     * Represents parameter that can be passed to `value` argument of [kotlin.contracts.ContractBuilder.callsInPlace].
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top