Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 96 for substitutions (0.5 sec)

  1. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/substitutorMarkers.kt

    /**
     * A [KaSubstitutor] which substitution logic can be represented as a [Map] from a [KaTypeParameterSymbol] to corresponding [KaType]
     * This is an implementation details and Analysis API clients should not depend on the fact if some [KaSubstitutor] is [KaMapBackedSubstitutor] or not.
     */
    @KaAnalysisApiInternals
    interface KaMapBackedSubstitutor : KaSubstitutor {
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSubstitutorProvider.kt

            val substitutors = inheritancePath.map { (type, symbol) ->
                type.substitutorForSuperType(rootModuleSession, symbol)
            }
            return when (substitutors.size) {
                0 -> KaSubstitutor.Empty(token)
                else -> {
                    val chained = substitutors.reduce { left, right -> left.chain(right) }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. test/intrinsic.dir/main.go

    		panic("100 errors is plenty is enough")
    	}
    }
    
    func test(i int, x uint64) {
    	t := T.TrailingZeros64(x) // ERROR "intrinsic substitution for TrailingZeros64"
    	if i != t {
    		logf("TrailingZeros64(0x%x) expected %d but got %d\n", x, i, t)
    	}
    	x = -x
    	t = T.TrailingZeros64(x) // ERROR "intrinsic substitution for TrailingZeros64"
    	if i != t {
    		logf("TrailingZeros64(0x%x) expected %d but got %d\n", x, i, t)
    	}
    
    	if i <= 32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 18:06:27 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/DependencySubstitutions.java

         * }
         * </pre>
         */
        Substitution substitute(ComponentSelector substitutedDependency);
    
        /**
         * Provides a DSL-friendly mechanism for specifying the target of a substitution.
         */
        interface Substitution {
            /**
             * Specify a reason for the substitution. This is optional
             *
             * @param reason the reason for the selection
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 24 20:12:31 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  5. test/intrinsic_atomic.go

    	_ = atomic.LoadUint32(&x)             // ERROR "intrinsic substitution for LoadUint32"
    	atomic.StoreUint32(&x, 1)             // ERROR "intrinsic substitution for StoreUint32"
    	atomic.AddUint32(&x, 1)               // ERROR "intrinsic substitution for AddUint32"
    	atomic.SwapUint32(&x, 1)              // ERROR "intrinsic substitution for SwapUint32"
    	atomic.CompareAndSwapUint32(&x, 1, 2) // ERROR "intrinsic substitution for CompareAndSwapUint32"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 839 bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtSubstitutor.kt

    import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
    
    /**
     * Type substitutor. Performs substitution of a type parameters inside a type to some fixed type.
     * Usually can be represented as a map from type parameter to it corresponding substitution.
     *
     * Example of a substitution:
     * ```
     * substitutor = { T -> Int, S -> Long }
     * substitute(Map<T, S>, substitutor) = Map<Int, Long>
     * ```
     *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/generate.txt

    stdout 'Success'
    
    # Test go generate handles a command alias
    go generate './generate/alias.go'
    stdout 'Now is the time for all good men'
    
    # Test go generate's variable substitution
    go generate './generate/substitution.go'
    stdout $GOARCH' substitution.go:7 pabc xyzp/substitution.go/123'
    
    # Test go generate's run and skip flags
    go generate -run y.s './generate/flag.go'
    stdout 'yes' # flag.go should select yes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 03:24:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. maven-slf4j-provider/src/main/java/org/apache/maven/slf4j/MavenFailOnSeverityLogger.java

        }
    
        /**
         * Perform single parameter substitution before logging the message of level
         * WARN according to the format outlined above.
         */
        @Override
        public void warn(String format, Object arg) {
            super.warn(format, arg);
            logLevelRecorder.record(Level.WARN);
        }
    
        /**
         * Perform double parameter substitution before logging the message of level
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 06:36:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirSubstitutor.kt

    import org.jetbrains.kotlin.analysis.api.types.KaSubstitutor
    import org.jetbrains.kotlin.analysis.api.types.KaType
    import org.jetbrains.kotlin.fir.resolve.substitution.ChainedSubstitutor
    import org.jetbrains.kotlin.fir.resolve.substitution.ConeSubstitutor
    import org.jetbrains.kotlin.fir.resolve.substitution.ConeSubstitutorByMap
    
    internal abstract class AbstractKaFirSubstitutor<T : ConeSubstitutor>(
        val substitutor: T,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/DependencyResolveRulesDisableGlobalDependencySubstitutionIntegrationTest.groovy

            settingsFile << """
                dependencyResolutionManagement {
                    repositories.maven { url "${mavenRepo.uri}" }
                }
                includeBuild '.' // enable global substitution for this build
                include 'm1', 'm2', 'm3'
            """
    
            buildFile << """
                allprojects {
                    group = 'org.test'
                    version = '0.9'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top