Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 311 for recurse (0.27 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/prettyPrintResults.kt

                else -> { error("Unhandled language result type: ${current.javaClass.simpleName}") }
            }
        }
        return buildString { recurse(languageResult, startDepth) }
    }
    
    
    fun prettyPrintLanguageTree(languageTreeElement: LanguageTreeElement): String {
        fun StringBuilder.recurse(current: LanguageTreeElement, depth: Int) {
            fun indent() = "    ".repeat(depth)
            fun nextIndent() = "    ".repeat(depth + 1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

                def found = [] as List<Operation>
                def recurse
                recurse = { List<Operation> children ->
                    children.each { child ->
                        if (filter.isSatisfiedBy(child)) {
                            found << child
                        }
                        recurse child.children
                    }
                }
                recurse children
                found
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/scope.go

    // with the scope elements sorted by name.
    // The level of indentation is controlled by n >= 0, with
    // n == 0 for no indentation.
    // If recurse is set, it also writes nested (children) scopes.
    func (s *Scope) WriteTo(w io.Writer, n int, recurse bool) {
    	const ind = ".  "
    	indn := strings.Repeat(ind, n)
    
    	fmt.Fprintf(w, "%s%s scope %p {\n", indn, s.comment, s)
    
    	indn1 := indn + ind
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/go/types/scope.go

    // with the scope elements sorted by name.
    // The level of indentation is controlled by n >= 0, with
    // n == 0 for no indentation.
    // If recurse is set, it also writes nested (children) scopes.
    func (s *Scope) WriteTo(w io.Writer, n int, recurse bool) {
    	const ind = ".  "
    	indn := strings.Repeat(ind, n)
    
    	fmt.Fprintf(w, "%s%s scope %p {\n", indn, s.comment, s)
    
    	indn1 := indn + ind
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/fromLanguageTree/LanguageTreeToDom.kt

            fun recurse(e: Expr): StringBuilder? = when (e) {
                is PropertyAccess -> {
                    when (e.receiver) {
                        null -> StringBuilder(e.name)
                        else -> recurse(e.receiver)?.apply { append(".${e.name}") }
                    }
                }
    
                else -> null
            }
            return recurse(this)?.toString()
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/listener.go

    			return []string{"UNMATCHED"}
    		}
    	case *matcher.Matcher_OnMatch_Matcher:
    		ms, f := recurse(fc.GetName(), v.Matcher)
    		if !f {
    			return []string{"NONE"}
    		}
    		return ms
    	}
    	ms, f := recurse(fc.GetName(), l.GetFilterChainMatcher())
    	if !f {
    		return []string{"NONE"}
    	}
    	return ms
    }
    
    func recurse(name string, match *matcher.Matcher) ([]string, bool) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/deps/ClassSetAnalysisTest.groovy

        }
    
        def "returns empty analysis"() {
            def a = analysis([:])
            expect: a.findTransitiveDependents(["Foo"], [:]).getAllDependentClasses().isEmpty()
        }
    
        def "does not recurse private dependencies"() {
            def a = analysis([
                "a": dependentSet(false, ["b"], []),
                "b": dependentSet(false, ["c"], ["d"]),
                "c": dependentSet(false, [], []),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                return result;
            }
    
            ManagedVersionMap versionMap = getManagedVersionsMap(originatingArtifact, managedVersions);
    
            try {
                recurse(
                        result,
                        root,
                        resolvedArtifacts,
                        versionMap,
                        repositoryRequest,
                        source,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 36.7K bytes
    - Viewed (0)
  9. src/encoding/xml/read.go

    			// It's a prefix for the field. Break and recurse
    			// since it's not ok for one field path to be itself
    			// the prefix for another field path.
    			recurse = true
    
    			// We can reuse the same slice as long as we
    			// don't try to append to it.
    			parents = finfo.parents[:len(parents)+1]
    			break
    		}
    	}
    	if !recurse {
    		// We have no business with this element.
    		return false, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      public final void test() {
        try {
          recurse(0);
        } catch (Exception e) { // sneaky checked exception
          throw new RuntimeException(Arrays.toString(stimuli), e);
        }
      }
    
      private void recurse(int level) {
        // We're going to reuse the stimuli array 3^steps times by overwriting it
        // in a recursive loop.  Sneaky.
        if (level == stimuli.length) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top