Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Dcl (0.2 sec)

  1. src/cmd/compile/internal/typecheck/dcl.go

    	}
    	if typ.Kind() == types.TFUNC && typ.Recv() != nil {
    		base.FatalfAt(pos, "misuse of method type: %v", typ)
    	}
    	types.CalcSize(typ)
    
    	sym := &types.Sym{
    		Name: autotmpname(len(curfn.Dcl)),
    		Pkg:  types.LocalPkg,
    	}
    	name := curfn.NewLocal(pos, sym, typ)
    	name.SetEsc(ir.EscNever)
    	name.SetUsed(true)
    	name.SetAutoTemp(true)
    
    	return name
    }
    
    var (
    	autotmpnamesmu sync.Mutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy

            def evaluator = ******@****.***hema(model.settingsSequence, model.projectSequence)
            def settings = evaluator.evaluate("settings.gradle.dcl", file("settings.gradle.dcl").text)
            def project = evaluator.evaluate("build.gradle.dcl", file("build.gradle.dcl").text)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:32:11 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/pgen.go

    	sort.SliceStable(fn.Dcl, func(i, j int) bool {
    		return cmpstackvarlt(fn.Dcl[i], fn.Dcl[j], mls)
    	})
    
    	if mls != nil {
    		// Rewrite fn.Dcl to reposition followers (subsumed vars) to
    		// be immediately following the leader var in their partition.
    		followers := []*ir.Name{}
    		newdcl := make([]*ir.Name, 0, len(fn.Dcl))
    		for i := 0; i < len(fn.Dcl); i++ {
    			n := fn.Dcl[i]
    			if mls.Subsumed(n) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy

            file("settings.gradle.dcl") << pluginsFromIncludedBuild
    
            file("build.gradle.dcl") << declarativeScriptThatConfiguresOnlyTestSoftwareType
    
            when:
            run(":printTestSoftwareTypeExtensionImplConfiguration")
    
            then:
            assertThatDeclaredValuesAreSetProperly()
    
            when:
            file("build.gradle.dcl") << """
                testSoftwareType {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

            file("settings.gradle.dcl") << getDeclarativeSettingsScriptThatSetsConventions("""
                ${setFoo("")}
            """)
            file("settings.gradle.dcl") << """
                include("foo")
            """
    
            and: 'a build file that only specifies the software type'
            file("foo/build.gradle.dcl") << getDeclarativeScriptThatConfiguresOnlyTestSoftwareType()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/containingDeclarationProvider/AbstractContainingDeclarationProviderByPsiTest.kt

                        }
    
                        currentPath.add(dcl)
                        if (dcl is KtClassOrObject) {
                            ktClasses.add(dcl)
                        }
                        super.visitDeclaration(dcl)
                        currentPath.removeLast()
                        if (dcl is KtClassOrObject) {
                            ktClasses.removeLast()
                        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/DeclarativeDslProjectSettingsIntegrationSpec.groovy

            file("b/build.gradle") << ""
            file("pluginIncluded/settings.gradle.dcl") << "rootProject.name = \"pluginIncluded\""
    
            expect:
            succeeds(":help", ":a:help", ":b:help")
            outputContains("name = test-value")
        }
    
        def 'schema is written during settings interpretation'() {
            given:
            file("settings.gradle.dcl") << """
                rootProject.name = "test"
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 12:21:50 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDslProjectBuildFileIntegrationSpec.groovy

            given:
            settingsFile("""
                include(":sub")
            """)
    
            file("build.gradle.dcl") << ""
    
            file("sub/build.gradle.dcl") << ""
    
            when:
            run(":help")
    
            then:
            [
                file(".gradle/declarative-schema/project.dcl.schema"),
            ].every { it.isFile() && it.text != "" }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/GradleCustomizationSchemaBuildingComponent.kt

     * * importing properties using the [org.gradle.api.provider.Property] API,
     * * importing types from functions that return or configure custom types.
     *
     * If object conversion is supported by the schema, also brings the basic DCL conversion capabilities
     * for resolving properties and member functions, see [conversionSupport]
     */
    internal
    fun EvaluationSchemaBuilder.gradleDslGeneralSchema() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/main/SimpleAnalysisEvaluator.kt

                    }
                )
            }
        }
    
        private
        fun scriptContextFromFileName(fileName: String) = when (File(fileName).name) {
            "build.gradle.dcl" -> DeclarativeScriptContext.ProjectScript
            "settings.gradle.dcl" -> object : DeclarativeScriptContext.SettingsScript {}
            else -> DeclarativeScriptContext.UnknownScript
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top