Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 510 for visitTar (0.13 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java

         */
        @Override
        public final void visitStructure(FileCollectionStructureVisitor visitor) {
            if (visitor.startVisit(OTHER, this)) {
                visitContents(visitor);
            }
        }
    
        protected void visitContents(FileCollectionStructureVisitor visitor) {
            visitor.visitCollection(OTHER, this);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/exceptions/ContextAwareExceptionTest.groovy

            when:
            e.accept(visitor)
    
            then:
            1 * visitor.visitCause(cause)
            1 * visitor.endVisiting()
    
            3 * visitor.startChildren()
            1 * visitor.node(childCause1)
            1 * visitor.node(childCause4)
            1 * visitor.node(childCause3)
            1 * visitor.node(childCause2)
            3 * visitor.endChildren()
            0 * visitor._
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 13:32:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractValueProcessor.java

                builder.add(processValue(element, visitor));
            }
            return visitor.set(builder.build());
        }
    
        private <T> T processList(List<?> value, ValueVisitor<T> visitor) {
            if (value.isEmpty()) {
                return visitor.emptyList();
            }
            return visitor.list(processListElements(value, visitor));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 19:08:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ArtifactBackedResolvedVariantTest.groovy

            def visitor = Mock(TaskDependencyResolveContext)
            def set1 = of([artifact1, artifact2])
            def set2 = of([artifact1])
    
            when:
            set1.artifacts.visitDependencies(visitor)
    
            then:
            1 * visitor.add(artifact1)
            1 * visitor.add(artifact2)
            0 * visitor._
    
            when:
            set2.artifacts.visitDependencies(visitor)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionSpec.groovy

                protected void visitChildren(Consumer<FileCollectionInternal> visitor) {
                    visitor.accept(child1)
                    visitor.accept(child2)
                }
            }
            def visitor = Mock(FileCollectionStructureVisitor)
    
            when:
            collection.visitStructure(visitor)
    
            then:
            1 * visitor.startVisit(FileCollectionInternal.OTHER, collection) >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12K bytes
    - Viewed (0)
  6. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/tasks/AbstractSnapshotInputsBuildOperationResultTest.groovy

            buildOpResult.visitInputFileProperties(visitor)
    
            then:
            1 * visitor.preProperty(_)
            1 * visitor.preRoot(_)
    
            and:
            1 * visitor.preDirectory { it.path == '/foo' }
    
            and:
            1 * visitor.file() { it.path == '/foo/one.txt' }
    
            and:
            1 * visitor.preDirectory { it.path == '/foo/sub' }
    
            and:
            1 * visitor.file() { it.path == '/foo/sub/two.txt' }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 07 15:16:07 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. pkg/api/v1/pod/util.go

    // Visitor is called with each object name, and returns true if visiting should continue
    type Visitor func(name string) (shouldContinue bool)
    
    func skipEmptyNames(visitor Visitor) Visitor {
    	return func(name string) bool {
    		if len(name) == 0 {
    			// continue visiting
    			return true
    		}
    		// delegate to visitor
    		return visitor(name)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 17:18:04 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  8. pkg/api/v1/persistentvolume/util.go

    		// delegate to visitor
    		return visitor(namespace, name, kubeletVisible)
    	}
    }
    
    // VisitPVSecretNames invokes the visitor function with the name of every secret
    // referenced by the PV spec. If visitor returns false, visiting is short-circuited.
    // Returns true if visiting completed, false if visiting was short-circuited.
    func VisitPVSecretNames(pv *corev1.PersistentVolume, visitor Visitor) bool {
    	visitor = skipEmptyNames(visitor)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 05 03:36:23 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/resolver/IdeDependencySet.java

            public void visit(IdeDependencyVisitor visitor) {
                resolvePlusConfigurations(visitor);
                resolveMinusConfigurations(visitor);
                resolveAuxiliaryArtifacts(visitor);
                visitArtifacts(visitor);
                visitUnresolvedDependencies(visitor);
            }
    
            private void resolvePlusConfigurations(IdeDependencyVisitor visitor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/TrivialChangeDetectorTest.groovy

        def change = Mock(Change)
        def visitor = Mock(ChangeVisitor)
    
        def "detects no change between empty current and previous"() {
            when:
            detector.visitChangesSince([:], [:], "test", visitor)
            then:
            0 * _
        }
    
        def "detects no change between the same one item"() {
            when:
            detector.visitChangesSince([one: 1], [one: 1], "test", visitor)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top