Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 566 for substituted (0.13 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationTimeResolveIntegrationTest.groovy

                buildFile << """
                    println "Configured buildC"
                    apply plugin: 'java'
    """
            }
            includedBuilds << buildC
    
        }
    
        def "references but does not build substituted dependency resolved at configuration time"() {
            configurationTimeDependency 'org.test:buildB:1.0'
    
            when:
            execute buildA, ":resolve"
    
            then:
            executed ":resolve"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 27 11:26:43 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  2. src/go/types/subst.go

    package types
    
    import (
    	"go/token"
    )
    
    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
    - 11.1K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/artifacts/DependencySubstitutions.java

         * configurations.main.resolutionStrategy.dependencySubstitution {
         *   // Substitute project and module dependencies
         *   substitute module('org.gradle:api') using project(':api')
         *   substitute project(':util') using module('org.gradle:util:3.0')
         *
         *   // Substitute one module dependency for another
         *   substitute module('org.gradle:api:2.0') using module('org.gradle:api:2.1')
         * }
         * </pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 24 20:12:31 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top