Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 540 for toVisit (0.12 sec)

  1. src/cmd/compile/internal/ssa/likelyadjust.go

    		}
    		callfreepath := false
    		tovisit := make([]*Block, 0, len(l.header.Succs))
    		// Push all non-loop non-exit successors of header onto toVisit.
    		for _, s := range l.header.Succs {
    			nb := s.Block()
    			// This corresponds to loop with zero iterations.
    			if !l.iterationEnd(nb, b2l) {
    				tovisit = append(tovisit, nb)
    			}
    		}
    		for len(tovisit) > 0 {
    			cur := tovisit[len(tovisit)-1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/defaults_test.go

    	value reflect.Value
    }
    
    func detectDefaults(t *testing.T, obj runtime.Object, v reflect.Value) map[string]string {
    	defaults := map[string]string{}
    	toVisit := []testPath{{path: "", value: v}}
    
    	for len(toVisit) > 0 {
    		visit := toVisit[0]
    		toVisit = toVisit[1:]
    
    		legacyscheme.Scheme.Default(obj)
    		defaultedV := visit.value
    		zeroV := reflect.Zero(visit.value.Type())
    
    		switch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

                ImmutableList.Builder<ExecutionTimeValue<? extends Iterable<? extends T>>> toVisit = ImmutableList.builder();
                Action<? super ExecutionTimeValue<? extends Iterable<? extends T>>> safeVisitor = value -> {
                    if (value.isMissing()) {
                        anyMissing[0] = true;
                    } else {
                        toVisit.add(value);
                    }
                };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java

                ImmutableList.Builder<ExecutionTimeValue<? extends Map<? extends K, ? extends V>>> toVisit = ImmutableList.builder();
                Action<ExecutionTimeValue<? extends Map<? extends K, ? extends V>>> safeVisitor = value -> {
                    if (value.isMissing()) {
                        anyMissing[0] = true;
                    } else {
                        toVisit.add(value);
                    }
                };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            given:
            container.add(a)
    
            when:
            container.add(a)
    
            then:
            toList(container) == [a]
    
            when:
            container.addAll([a, b])
    
            then:
            toList(container) == [a, b]
        }
    
        def "element added using provider is not realized when added"() {
            containerAllowsExternalProviders()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/CompositeInstrumentationCodeGenerator.java

            List<HasFailures> failures = results.stream().filter(it -> it instanceof HasFailures).map(it -> (HasFailures) it).collect(Collectors.toList());
            if (!failures.isEmpty()) {
                return new CodeFailures(failures.stream().flatMap(it -> it.getFailureDetails().stream()).collect(Collectors.toList()));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/CompositeDomainObjectSetTest.groovy

        }
    
        def "composite containing one collection"() {
            expect:
            composite(collection("a", "b")).toList() == ["a", "b"]
        }
    
        def "composite containing two collections"() {
            expect:
            composite(collection("a", "b"), collection("c", "d")).toList() == ["a", "b", "c", "d"]
        }
    
        def "combined collection contains additions and removals"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 05 20:02:22 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java

            assertThat(conventionAware.getConventionValue(null, "list1", false), equalTo((Object) toList("a")));
    
            conventionAware.map("list1", TestUtil.toClosure("{ convention -> [convention] }"));
            assertThat(conventionAware.getConventionValue(null, "list1", false), equalTo((Object) toList(conventionAware.getConvention())));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultDomainObjectCollectionTest.groovy

            def testClosure = {
                return it != "b"
            }
    
            container.add("a")
            container.add("b")
            container.add("c")
    
            expect:
            toList(container.matching(spec)) == ["a", "c"]
            toList(container.matching(testClosure)) == ["a", "c"]
        }
    
        def filteredCollectionIsLive() {
            def spec = new Spec<CharSequence>() {
                boolean isSatisfiedBy(CharSequence element) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 23:50:58 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/AbstractArchiveFileTreeTest.java

            rootDir.file("subdir2/file2.txt").write("content");
            archiveFileToRoot(getArchiveFile());
    
            assertVisits(getTree(), toList("subdir/file1.txt", "subdir2/file2.txt"), toList("subdir", "subdir2"));
            assertSetContainsForAllTypes(getTree(), toList("subdir/file1.txt", "subdir2/file2.txt"));
        }
    
        @Test
        public void canStopVisitingFiles() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top