Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 480 for Visiting (0.26 sec)

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

    import org.gradle.internal.RelativePathSupplier;
    
    import java.util.ArrayDeque;
    import java.util.Collection;
    import java.util.Deque;
    import java.util.Iterator;
    
    /**
     * Tracks the relative path. Useful when visiting {@link FileSystemLocationSnapshot}s.
     */
    public class RelativePathTracker implements RelativePathSupplier {
        private final Deque<String> segments = new ArrayDeque<>();
        private String rootName;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/CachingChangeContainer.java

     */
    
    package org.gradle.internal.execution.history.changes;
    
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * An implementation that will cache a number of results of visiting, and make them available for subsequent visits.
     * When the cache is overrun, then the delegate will be visited directly in further requests.
     * If a visitor does not consume all the changes, then nothing is cached.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/graph/CachingDirectedGraphWalker.java

                        if (connectedNodeDetails == null) {
                            // Have not visited the successor node, so add to the queue for visiting
                            queue.addFirst(connectedNode);
                        } else if (!connectedNodeDetails.finished) {
                            // Currently visiting the successor node - we're in a cycle
                            details.stronglyConnected = true;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/DependencyGraphBuilder.java

                if (resolveState.peek() != null) {
                    final NodeState node = resolveState.pop();
                    LOGGER.debug("Visiting configuration {}.", node);
    
                    // Register capabilities for this node
                    registerCapabilities(resolveState, node);
    
                    // Initialize and collect any new outgoing edges of this node
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/CachingChangeContainerTest.groovy

                receivesChanges(change3, change2, change1)
            }
            0 * _
    
            and:
            reported == [change3, change2, change1]
        }
    
        def "does not cache if visitor aborts visiting"() {
            when:
            cachingChanges.accept(new LimitingChangeVisitor(2, new CollectingChangeVisitor()))
    
            then:
            interaction {
                receivesChanges(change1, change2)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionFactory.java

         * <p>
         * The collection is live, so that the contents are queried as required on query of the collection.
         *
         * @param contents The file set contents for the constructed file collection
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ResolvedArtifactSetResolver.java

    import org.gradle.internal.operations.RunnableBuildOperation;
    import org.gradle.internal.work.WorkerLeaseService;
    
    import javax.inject.Inject;
    
    /**
     * Resolves a {@link ResolvedArtifactSet} in a build operation, visiting the results.
     */
    public class ResolvedArtifactSetResolver {
    
        private final WorkerLeaseService workerLeaseService;
        private final BuildOperationRunner buildOperationRunner;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:35:27 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/DetermineExecutionPlanAction.java

                return;
            }
    
            // Collect the finalizers and their dependencies so that each node is ordered before all of its dependencies
            LinkedList<Node> nodes = new LinkedList<>();
            Set<Node> visiting = new HashSet<>();
            Set<Node> visited = new HashSet<>();
            Deque<Node> queue = new ArrayDeque<>(finalizers);
            while (!queue.isEmpty()) {
                Node node = queue.peek();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ResolvedArtifactSet.java

             */
            void visit(ArtifactVisitor visitor);
        }
    
        /**
         * A listener that is notified as artifacts are made available while visiting the contents of a set. Implementations must be thread safe as they are notified from multiple threads concurrently.
         */
        interface Visitor {
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/ComponentIdResolveResult.java

        /**
         * @return the list of versions which were considered for this module but rejected.
         */
        Collection<RejectedVersion> getRejectedVersions();
    
        /**
         * Tags this resolve result, for visiting. This is a performance optimization. It will return
         * true if the last tagged object is different, false otherwise. This is meant to replace the
         * use of a hash set to collect the visited items.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top