Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for noSortingRequired (0.3 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MerkleDirectorySnapshotBuilder.java

     * The implementation uses {@link FileSystemLocationSnapshot#BY_NAME} ordering.
     * If you already provide the children in sorted order, use {@link #noSortingRequired()} to avoid the overhead of sorting again.
     */
    public class MerkleDirectorySnapshotBuilder implements DirectorySnapshotBuilder {
        private static final HashCode DIR_SIGNATURE = Hashing.signature("DIR");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/FileSystemSnapshotFilter.java

        }
    
        public static FileSystemSnapshot filterSnapshot(SnapshottingFilter.FileSystemSnapshotPredicate predicate, FileSystemSnapshot unfiltered) {
            DirectorySnapshotBuilder builder = MerkleDirectorySnapshotBuilder.noSortingRequired();
            AtomicBoolean hasBeenFiltered = new AtomicBoolean();
            unfiltered.accept(new RelativePathTracker(), new FilteringVisitor(predicate, builder, hasBeenFiltered));
            if (builder.getResult() == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top