Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,660 for hash_code (0.63 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/model/NamedObjectInstantiatorTest.groovy

            !n1.is(n2)
    
            n1.name == "a"
            n2.name == "b"
    
            Matchers.strictlyEquals(n1, n1)
            n2 != n1
            !n2.equals(n1)
    
            n1.hashCode() == n1.hashCode()
            n1.hashCode() != n2.hashCode()
    
            n1.toString() == "a"
            n2.toString() == "b"
    
            n1.is(factory.named(Named, "a"))
            n2.is(factory.named(Named, "b"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/TwoStageModuleArtifactCacheTest.groovy

    import org.gradle.internal.hash.HashCode
    import spock.lang.Specification
    import spock.lang.Subject
    
    import java.nio.file.Path
    
    class TwoStageModuleArtifactCacheTest extends Specification {
        Path readOnlyPath = Stub(Path)
        File artifact = Stub(File)
        HashCode hashCode = Stub(HashCode)
        def key = Stub(ArtifactAtRepositoryKey)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K 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. platforms/jvm/plugins-application/src/main/java/org/gradle/api/internal/plugins/DefaultJavaAppStartScriptGenerationDetails.java

        }
    
        @Override
        public int hashCode() {
            int result = applicationName != null ? applicationName.hashCode() : 0;
            result = 31 * result + (optsEnvironmentVar != null ? optsEnvironmentVar.hashCode() : 0);
            result = 31 * result + (exitEnvironmentVar != null ? exitEnvironmentVar.hashCode() : 0);
            result = 31 * result + (mainClassName != null ? mainClassName.hashCode() : 0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultImmutableWorkspaceMetadataStore.java

                ImmutableListMultimap<String, HashCode> outputPropertyHashes = metadata.getOutputPropertyHashes();
                encoder.writeSmallInt(outputPropertyHashes.keySet().size());
                for (Map.Entry<String, Collection<HashCode>> entry : outputPropertyHashes.asMap().entrySet()) {
                    encoder.writeString(entry.getKey());
                    Collection<HashCode> hashes = entry.getValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 14:27:26 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/SerializableFileCollectionFingerprint.java

    import org.gradle.internal.hash.HashCode;
    
    import java.util.Map;
    
    public class SerializableFileCollectionFingerprint implements FileCollectionFingerprint {
    
        private final Map<String, FileSystemLocationFingerprint> fingerprints;
        private final ImmutableMultimap<String, HashCode> rootHashes;
        private final HashCode strategyConfigurationHash;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. 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)
  8. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/SplitResourceSnapshotterCacheService.java

            this.localCache = localCache;
            this.globalCacheLocations = globalCacheLocations;
        }
    
        @Nullable
        @Override
        public HashCode hashFile(FileSystemLocationSnapshot snapshot, FileSystemLocationSnapshotHasher hasher, HashCode configurationHash) throws IOException {
            if (globalCacheLocations.isInsideGlobalCache(snapshot.getAbsolutePath())) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 06 18:44:49 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/hash/DefaultChecksumService.java

        }
    
        @Override
        public HashCode md5(File file) {
            return doHash(file, md5);
        }
    
        @Override
        public HashCode sha1(File file) {
            return doHash(file, sha1);
        }
    
        @Override
        public HashCode sha256(File file) {
            return doHash(file, sha256);
        }
    
        @Override
        public HashCode sha512(File file) {
            return doHash(file, sha512);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jun 04 22:23:37 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayMap.java

        @Override
        public V put(final K key, final V value) {
            int hashCode = 0;
            int index = 0;
    
            if (key != null) {
                hashCode = key.hashCode();
                index = (hashCode & 0x7FFFFFFF) % mapTable.length;
                for (Entry<K, V> e = mapTable[index]; e != null; e = e.next) {
                    if (e.hashCode == hashCode && key.equals(e.key)) {
                        return swapValue(e, value);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top