Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 137 for rthash (0.23 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/BaseSnapshotInputsBuildOperationResult.java

                private final String hash;
                private final Set<String> attributes;
                private final List<Entry> roots = new ArrayList<>();
    
                public Property(String hash, Set<String> attributes) {
                    this.hash = hash;
                    this.attributes = attributes;
                }
    
                public String getHash() {
                    return hash;
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 11:36:42 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKey.kt

    import org.gradle.internal.cc.impl.initialization.ConfigurationCacheStartParameter
    import org.gradle.internal.buildtree.BuildActionModelRequirements
    import org.gradle.internal.hash.Hasher
    import org.gradle.internal.hash.Hashing
    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    import org.gradle.util.GradleVersion
    import org.gradle.util.internal.GFileUtils.relativePathOf
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultCachedClasspathTransformer.java

            }
            if (shouldUseFromCache(original)) {
                final HashCode contentHash = snapshot.getHash();
                if (!seen.add(contentHash)) {
                    // Already seen an entry with the same content hash, ignore it
                    return empty();
                }
                // It's a new content hash, transform it
                return Optional.of(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultCurrentFileCollectionFingerprint.java

            this.rootHashes = rootHashes;
        }
    
        @Override
        public HashCode getHash() {
            if (hash == null) {
                Hasher hasher = Hashing.newHasher();
                hashingStrategy.appendToHasher(hasher, fingerprints.values());
                hash = hasher.hash();
            }
            return hash;
        }
    
        @Override
        public boolean isEmpty() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java

            }
            ImmutableListMultimap.Builder<String, HashCode> builder = ImmutableListMultimap.builder();
            roots.accept(snapshot -> {
                builder.put(snapshot.getAbsolutePath(), snapshot.getHash());
                return SnapshotVisitResult.SKIP_SUBTREE;
            });
            return builder.build();
        }
    
        /**
         * For a {@link RegularFileSnapshot} returns the file length, otherwise {@code 0}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/CompilationStateSerializer.java

                SourceFileState sourceFileState = entry.getValue();
                fileSerializer.write(encoder, entry.getKey());
                hashSerializer.write(encoder, sourceFileState.getHash());
                encoder.writeBoolean(sourceFileState.isHasUnresolved());
                encoder.writeSmallInt(sourceFileState.getEdges().size());
                for (IncludeFileEdge includeFileState : sourceFileState.getEdges()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemLocationSnapshot.java

        /**
         * The hash of the snapshot.
         *
         * This makes it possible to uniquely identify the snapshot.
         * <dl>
         *     <dt>Directories</dt>
         *     <dd>The combined hash of the children, calculated by appending the name and the hash of each child to a hasher.</dd>
         *     <dt>Regular Files</dt>
         *     <dd>The hash of the content of the file.</dd>
         *     <dt>Missing files</dt>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:09:45 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingFileSystemLocationSnapshotHasherTest.groovy

        @TempDir
        File tempDir
    
        def "calculates hash for text file with #description"() {
            def file = file('foo') << contents
            def delegate = Mock(LineEndingNormalizingFileSystemLocationSnapshotHasher)
            def hasher = LineEndingNormalizingFileSystemLocationSnapshotHasher.wrap(delegate, LineEndingSensitivity.NORMALIZE_LINE_ENDINGS)
    
            when:
            hasher.hash(snapshot(file))
    
            then:
            0 * delegate._
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/ZipHasher.java

            HashCode hash = resourceHasher.hash(zipEntryContext);
            if (hash != null) {
                fingerprints.add(new DefaultFileSystemLocationFingerprint(zipEntryContext.getFullName(), FileType.RegularFile, hash));
            }
        }
    
        private DefaultFileSystemLocationFingerprint newZipMarker(String relativePath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/IncrementalNativeCompiler.java

                    SourceFileState state = incrementalCompilation.getFinalState().getState(sourceFile);
                    final HashCode hash = state.getHash();
                    List<String> headers = new ArrayList<>();
                    for (IncludeFileEdge edge : state.getEdges()) {
                        if (hash.equals(edge.getIncludedBy())) {
                            headers.add(edge.getIncludePath());
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top