Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 116 for substitutions (0.26 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-conditionalSubstitutionRule/kotlin/settings.gradle.kts

    rootProject.name = "customizing-resolution-conditional-substitution-rule"
    val projectNames = listOf("project1", "project2", "project3")
    include("consumer")
    
    projectNames.forEach { name ->
        if (isIncluded(name)) {
            println("project $name is INTERNAL to this build")
            include(name)
        } else {
            println("project $name is external to this build")
        }
    }
    
    fun isIncluded(projectName: String): Boolean {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 616 bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/types/FirIdeDependentAnalysisScriptSourceModuleAnalysisApiSubstitutorsTestGenerated.java

    /** This class is generated by {@link org.jetbrains.kotlin.generators.tests.analysis.api.GenerateAnalysisApiTestsKt}. DO NOT MODIFY MANUALLY */
    @SuppressWarnings("all")
    @TestMetadata("analysis/analysis-api/testData/substitutors/typeSubstitution")
    @TestDataPath("$PROJECT_ROOT")
    public class FirIdeDependentAnalysisScriptSourceModuleAnalysisApiSubstitutorsTestGenerated extends AbstractAnalysisApiSubstitutorsTest {
      @NotNull
      @Override
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. test/typeparam/issue50481c.dir/main.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that type substitution works and export/import works correctly even for a
    // generic type that has multiple blank type params.
    
    package main
    
    import (
    	"./a"
    	"fmt"
    )
    
    func main() {
    	var x a.T[int, a.Myint, string]
    	fmt.Printf("%v\n", x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 408 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/composite-builds/declared-substitution/kotlin/settings.gradle.kts

    rootProject.name = "declared-substitution"
    
    include("app")
    
    // tag::composite_substitution[]
    includeBuild("anonymous-library") {
        dependencySubstitution {
            substitute(module("org.sample:number-utils")).using(project(":"))
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 273 bytes
    - Viewed (0)
  5. test/typeparam/issue50481b.dir/main.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that type substitution and export/import works correctly even for a method of
    // a generic type that has multiple blank type params.
    
    package main
    
    import (
    	"./b"
    	"fmt"
    )
    
    func main() {
    	foo := &b.Foo[string, int]{
    		ValueA: "i am a string",
    		ValueB: 123,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 559 bytes
    - Viewed (0)
  6. test/typeparam/issue50419.go

    // run
    
    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that type substitution works correctly even for a method of a generic type
    // that has multiple blank type params.
    
    package main
    
    import (
    	"fmt"
    )
    
    func main() {
    	foo := &Foo[string, int]{
    		valueA: "i am a string",
    		valueB: 123,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 689 bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/types/FirIdeNormalAnalysisScriptSourceModuleAnalysisApiSubstitutorsTestGenerated.java

    /** This class is generated by {@link org.jetbrains.kotlin.generators.tests.analysis.api.GenerateAnalysisApiTestsKt}. DO NOT MODIFY MANUALLY */
    @SuppressWarnings("all")
    @TestMetadata("analysis/analysis-api/testData/substitutors/typeSubstitution")
    @TestDataPath("$PROJECT_ROOT")
    public class FirIdeNormalAnalysisScriptSourceModuleAnalysisApiSubstitutorsTestGenerated extends AbstractAnalysisApiSubstitutorsTest {
      @NotNull
      @Override
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. test/typeparam/issue48013.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"unsafe"
    )
    
    type S[T any] struct {
    	val T
    }
    
    // Test type substitution where base type is unsafe.Pointer
    type U[T any] unsafe.Pointer
    
    func test[T any]() T {
    	var q U[T]
    	var v struct {
    		// Test derived type that contains an unsafe.Pointer
    		p   unsafe.Pointer
    		val T
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 616 bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/signatures/KtFirFunctionLikeSignature.kt

    import org.jetbrains.kotlin.analysis.api.types.KaType
    import org.jetbrains.kotlin.fir.declarations.FirPropertyAccessor
    import org.jetbrains.kotlin.fir.resolve.substitution.ChainedSubstitutor
    import org.jetbrains.kotlin.fir.resolve.substitution.ConeSubstitutor
    import org.jetbrains.kotlin.fir.symbols.impl.FirFunctionSymbol
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/build-organization/composite-builds/hierarchical-multirepo/README.adoc

    ====
    
    When the `multirepo-app` build is executed, these module builds are used to generate the dependent artifacts:
    
    ```
    gradle run
    ```
    
    And the 'dependencies' report shows the dependency substitution in action:
    
    ```
    gradle app:dependencies --configuration runtimeClasspath
    ```
    
    ```
    runtimeClasspath - Runtime classpath of source set 'main'.
    +--- org.sample:number-utils:1.0 -> project :number-utils
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top