Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for substitutions (0.41 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

                // to prevent the following [substituteTypeOr*] from proceeding to its own (recursive) substitution.
                if (type.hasRecursiveTypeArgument()) return type
                // Return `null` means we will use [fir.resolve.substitution.Substitutors]'s [substituteRecursive]
                // that literally substitutes type arguments recursively.
                return null
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. src/go/types/infer.go

    	//
    	//   func f[P, Q any](P, Q) {}
    	//
    	//   func _(s string) {
    	//           f[int](s, s) // ERROR
    	//   }
    	//
    	// With substitution, we get the error:
    	//   "cannot use s (variable of type string) as int value in argument to f[int]"
    	//
    	// Without substitution we get the (worse) error:
    	//   "type string of s does not match inferred type int for P"
    	// even though the type int was provided (not inferred) for P.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishResolvedVersionsJavaIntegTest.groovy

                    exists()
                }
                noMoreDependencies()
            }
        }
    
        // This is a weird test case, because why would you have a substitution rule
        // for a first level dependency? However it may be that you implicitly get a
        // substitution rule (via a plugin for example) that you are not aware of.
        // Ideally we should warn when such things happen (linting).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 18:52:27 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionConstraintsFeatureInteractionIntegrationTest.groovy

                        configuration = 'conf'
                        module('org:bar:2.0')
                    }
                }
            }
        }
    
        def "strict version constraints apply to modules provided through substitution"() {
            given:
            repository {
                'org:foo:1.0'()
                'org:foo:2.0'()
                'org:old:2.0'()
                'org:bar:1.0' {
                    dependsOn 'org:old:2.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 15K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

    import org.jetbrains.kotlin.fir.resolve.providers.symbolProvider
    import org.jetbrains.kotlin.fir.resolve.substitution.ChainedSubstitutor
    import org.jetbrains.kotlin.fir.resolve.substitution.ConeSubstitutor
    import org.jetbrains.kotlin.fir.resolve.substitution.ConeSubstitutorByMap
    import org.jetbrains.kotlin.fir.resolve.toSymbol
    import org.jetbrains.kotlin.fir.scopes.impl.importedFromObjectOrStaticData
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultResolutionStrategySpec.groovy

            1 * details.useTarget(DefaultModuleComponentSelector.newSelector(mid, "2.0"), ComponentSelectionReasons.FORCED)
            0 * details._
        }
    
        def "eachDependency calls through to substitution rules"() {
            given:
            def action = Mock(Action)
    
            when:
            strategy.eachDependency(action)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/input.go

    	for _, tok := range macro.tokens {
    		if tok.ScanToken != scanner.Ident {
    			tokens = append(tokens, tok)
    			continue
    		}
    		substitution := actuals[tok.text]
    		if substitution == nil {
    			tokens = append(tokens, tok)
    			continue
    		}
    		tokens = append(tokens, substitution...)
    	}
    	in.Push(NewSlice(in.Base(), in.Line(), tokens))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

          [(UnsignedIntTensor $r)]>;
    
    // Performs a substitution of FloorDiv, pseudo code below:
    //
    //  return floor(div(x, y))
    def : Pat<(TF_FloorDivOp AnyTensor:$l, AnyTensor:$r),
              (MHLO_FloorOp
               (CHLO_BroadcastDivOp $l, $r, (BinBroadcastDimensions $l, $r))),
              [(IEEEFloatTensor $l)]>;
    
    // Performs a substitution of FloorDiv for integer tensors, which required
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/named.go

    		var ctxt *Context
    		if check != nil {
    			ctxt = check.context()
    		}
    		sig = check.subst(origm.pos, origSig, smap, t, ctxt).(*Signature)
    	}
    
    	if sig == origSig {
    		// No substitution occurred, but we still need to create a new signature to
    		// hold the instantiated receiver.
    		copy := *origSig
    		sig = &copy
    	}
    
    	var rtyp Type
    	if origm.hasPtrRecv() {
    		rtyp = NewPointer(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. src/go/types/named.go

    		var ctxt *Context
    		if check != nil {
    			ctxt = check.context()
    		}
    		sig = check.subst(origm.pos, origSig, smap, t, ctxt).(*Signature)
    	}
    
    	if sig == origSig {
    		// No substitution occurred, but we still need to create a new signature to
    		// hold the instantiated receiver.
    		copy := *origSig
    		sig = &copy
    	}
    
    	var rtyp Type
    	if origm.hasPtrRecv() {
    		rtyp = NewPointer(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top