Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 300 for substituted (0.15 sec)

  1. src/cmd/compile/internal/types2/subst.go

    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    )
    
    type substMap map[*TypeParam]Type
    
    // makeSubstMap creates a new substitution map mapping tpars[i] to targs[i].
    // If targs[i] is nil, tpars[i] is not substituted.
    func makeSubstMap(tpars []*TypeParam, targs []Type) substMap {
    	assert(len(tpars) == len(targs))
    	proj := make(substMap, len(tpars))
    	for i, tpar := range tpars {
    		proj[tpar] = targs[i]
    	}
    	return proj
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtFunctionLikeSignature.kt

     */
    public abstract class KaFunctionLikeSignature<out S : KaFunctionLikeSymbol> : KaCallableSignature<S>() {
        /**
         * The use-site-substituted value parameters.
         */
        public abstract val valueParameters: List<KaVariableLikeSignature<KaValueParameterSymbol>>
    
        abstract override fun substitute(substitutor: KaSubstitutor): KaFunctionLikeSignature<S>
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1010 bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/CompositeBuildIdeaProjectIntegrationTest.groovy

                        }
                    }
    """
            }
            includeBuild(buildB)
        }
    
        @ToBeFixedForConfigurationCache
        def "builds IDEA metadata with substituted dependency"() {
            given:
            dependency 'org.test:buildB:1.0'
    
            when:
            idea()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSymbolDeclarationOverridesProvider.kt

         *
         * E.g., if we have `A.foo` overrides `B.foo` overrides `C.foo`, all two super declarations `B.foo`, `C.foo` will be returned
         *
         * Unwraps substituted overridden symbols
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/substitutorProvider/AbstractCreateInheritanceTypeSubstitutorTest.kt

                val superClassSymbol = superClass.getClassOrObjectSymbol()!!
                val substitutor = createInheritanceTypeSubstitutor(baseClass.getClassOrObjectSymbol()!!, superClassSymbol)
                prettyPrint {
                    appendLine("Substitutor: ${stringRepresentation(substitutor)}")
                    if (substitutor != null) {
                        val functions = superClassSymbol.getDeclaredMemberScope().getAllSymbols()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. subprojects/core/src/testFixtures/groovy/org/gradle/internal/classpath/intercept/TestInterceptorsSubstitution.groovy

    /**
     * Provides support for replacing the interceptors for the current thread.
     * Make sure that the call sites that should be affected by the change are only reached after the interceptors have been substituted.
     *
     * The interceptors are substituted per-thread because other threads may be executing unrelated tests.
     */
    abstract class TestInterceptorsSubstitution<T> {
        private final T substitution
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 16:29:37 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/LockingInteractionsIntegrationTest.groovy

        }
    }
    """
    
            when:
            fails 'resolve'
    
            then:
            failureHasCause("Did not resolve 'org:test:1.1' which has been forced / substituted to a different version: '1.0'")
        }
    
        def "fails when a substitute overwrites a locked version"() {
            given:
            mavenRepo.module('org', 'test', '1.0').publish()
            mavenRepo.module('org', 'test', '1.1').publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/AdHocCompositeDependencySubstitutionCrossVersionSpec.groovy

                buildFile << """
                    allprojects {
                        apply plugin: 'java'
                    }
                """
            }
        }
    
        def "EclipseProject model has dependencies substituted in composite"() {
            when:
            def eclipseProject = withConnection {
                model(EclipseProject).withArguments('--include-build', 'buildB').get()
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/PersistentCompositeDependencySubstitutionCrossVersionSpec.groovy

            buildC = singleProjectBuildInSubfolder("buildC") {
                buildFile << """
                    apply plugin: 'java'
                """
            }
        }
    
        def "EclipseProject model has dependencies substituted in composite"() {
            when:
            def eclipseProject = loadToolingModel(EclipseProject)
    
            then:
            assert eclipseProject.classpath.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyGraphIntegrationTest.groovy

                    configuration = "runtimeElements"
                    compositeSubstitute()
                    module("org.test:transitive2:1.0")
                }
            }
        }
    
        def "substitutes transitive dependency of substituted project dependency"() {
            given:
            buildA.buildFile << """
                dependencies {
                    implementation "org.test:buildB:1.0"
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:37:49 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top