- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for substituted (0.16 sec)
-
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/signatureSubstitution/AbstractAnalysisApiSignatureContractsTest.kt
testServices.assertions.assertEquals(symbol.returnType.let(substitutor::substitute), signature.returnType) testServices.assertions.assertEquals(symbol.valueParameters.size, signature.valueParameters.size) for ((unsubstituted, substituted) in symbol.valueParameters.zip(signature.valueParameters)) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
"ici_weight_distribution_mlir_bridge_marker"; struct XlaBroadcast : public impl::XlaBroadcastPassBase<XlaBroadcast> { void runOnOperation() override; }; // Returns true iff the broadcast val can be substituted with an XlaAllReduce. // Sets `zero` and `shape` as params for the dummy zeros that will be created. bool GetDummyParams(OpBuilder& builder, Value val_bcast, Attribute& zero, DenseIntElementsAttr& shape) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/EdgeState.java
} return null; } private List<NodeState> findTargetNodes() { List<NodeState> targetNodes = this.targetNodes; if (targetNodes.isEmpty()) { // happens for substituted dependencies ComponentState targetComponent = getTargetComponent(); if (targetComponent != null) { targetNodes = targetComponent.getNodes(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 02:21:08 UTC 2024 - 18.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy
// The setup here is in a way that the project path of the project dependency in the same build // is the same as the buildTreePath of the substituted project dependency in the included build. // This way we test that you can't do special handling for "local" project dependencies when calculating // a transform workspace.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 11:52:44 UTC 2024 - 97.8K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/substututorFactory/AbstractSubstitutorBuilderTest.kt
val signatureAfterSubstitution = symbol.substitute(substitutor) prettyPrint { appendLine("${KtDeclaration::class.simpleName}: ${declaration::class.simpleName}") appendLine("Symbol:") appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES)) appendLine() appendLine("Substitutor:")
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 2.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt
var isImplicitInvoke = false // TODO: Ideally, we should get the substitutor from the candidate. But it seems there is no way to get the substitutor from the // candidate, `Candidate.substitutor` is not complete. maybe we can carry over the final substitutor if it's available from // body resolve phase? val substitutor = when (fir) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 73K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt
} fun buildSubstitutor(substitutor: ConeSubstitutor): KaSubstitutor { if (substitutor == ConeSubstitutor.Empty) return KaSubstitutor.Empty(token) return when (substitutor) { is ConeSubstitutorByMap -> KaFirMapBackedSubstitutor(substitutor, this@KaSymbolByFirBuilder) is ChainedSubstitutor -> KaFirChainedSubstitutor(substitutor, this@KaSymbolByFirBuilder)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:43 UTC 2024 - 33.2K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtVariableLikeSignature.kt
val nameCanBeDeclaredInAnnotation = symbol.psi == null runIf(nameCanBeDeclaredInAnnotation) { getValueFromParameterNameAnnotation() } ?: symbol.name } abstract override fun substitute(substitutor: KaSubstitutor): KaVariableLikeSignature<S> private fun getValueFromParameterNameAnnotation(): Name? { val resultingAnnotation = findParameterNameAnnotation() ?: return null
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt
} override fun getEnhancedType(type: KaType): KaType? { require(type is KaFirType) val coneType = type.coneType val substitutor = EnhancedForWarningConeSubstitutor(typeContext) val enhancedConeType = substitutor.substituteType(coneType) return enhancedConeType?.asKtType() } override fun buildSelfClassType(symbol: KaNamedClassOrObjectSymbol): KaType {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 10:25:23 UTC 2024 - 16.4K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt
} is PsiElement -> this.text is KaSubstitutor.Empty -> "<empty substitutor>" is KaMapBackedSubstitutor -> { val mappingText = getAsMap().entries .joinToString(prefix = "{", postfix = "}") { (k, v) -> stringRepresentation(k) + " = " + v } "<map substitutor: $mappingText>" }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 15.3K bytes - Viewed (0)