Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for isTestable (0.3 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/smartCastProvider/AbstractHLSmartCastInfoTest.kt

                    val smartCastInfo = expression.getSmartCastInfo()
                    buildString {
                        appendLine("expression: ${expression.text}")
                        appendLine("isStable: ${smartCastInfo?.isStable}")
                        appendLine("smartCastType: ${smartCastInfo?.smartCastType?.render(position = Variance.INVARIANT)}")
    
                        val receiverSmartCasts = expression.getImplicitReceiverSmartCast()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Mar 27 16:04:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSessionProvider.kt

    import org.jetbrains.kotlin.analysis.project.structure.KtModule
    import org.jetbrains.kotlin.analysis.project.structure.ProjectStructureProvider
    import org.jetbrains.kotlin.analysis.project.structure.isStable
    import org.jetbrains.kotlin.analysis.api.platform.lifetime.KotlinReadActionConfinementLifetimeToken
    import org.jetbrains.kotlin.psi.KtElement
    import java.util.concurrent.ConcurrentMap
    import kotlin.reflect.KClass
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSmartCastProvider.kt

    public class KaSmartCastInfo(
        private val backingSmartCastType: KaType,
        private val backingIsStable: Boolean,
        override val token: KaLifetimeToken
    ) : KaLifetimeOwner {
        public val isStable: Boolean get() = withValidityAssertion { backingIsStable }
        public val smartCastType: KaType get() = withValidityAssertion { backingSmartCastType }
    
        override fun equals(other: Any?): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSmartcastProvider.kt

            val type = expression.smartcastType.coneTypeSafe<ConeKotlinType>()?.asKtType() ?: return null
            return KaSmartCastInfo(type, expression.isStable, token)
        }
    
        private val KtExpression.isImplicitSmartCastInfoTarget: Boolean
            get() = this is KtNameReferenceExpression || this is KtOperationReferenceExpression
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

        attributes.emplace_back(builder.getNamedAttr(
            "dimension", BuildVhloIntV1Attr(op->dimension, builder)));
        attributes.emplace_back(builder.getNamedAttr(
            "is_stable",
            mlir::vhlo::BooleanV1Attr::get(builder.getContext(), op->is_stable)));
        return;
      }
      if (const auto* op = op_union.AsStablehloScatterOptions()) {
        attributes.emplace_back(builder.getNamedAttr(
            "update_window_dims",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

    //CHECK-NEXT: return %0 : tensor<1x1x64xf32>
    //CHECK-NEXT:}
    
    func.func @sort(%arg0: tensor<448xf32>, %arg1: tensor<448xi32>) -> tensor<448xf32> {
      %0, %1 = "vhlo.sort_v1"(%arg0, %arg1) <{dimension = #vhlo.integer_v1<0 : i64>, is_stable = #vhlo.bool_v1<true>}> ({
        ^bb0(%arg23: tensor<f32>, %arg24: tensor<f32>, %arg25: tensor<i32>, %arg26: tensor<i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

                !resolvedType.isNullableType()
            }
    
            when (val fir = expression.getOrBuildFir(analysisSession.firResolveSession)) {
                is FirSmartCastExpression -> if (fir.isStable) {
                    if (fir.smartcastTypeWithoutNullableNothing != null) {
                        return DefiniteNullability.DEFINITELY_NULL
                    } else if (fir.isNotNullable()) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/schema/schema.fbs

      body_subgraph_index : int;
    }
    
    table StablehloWhileOptions{
      cond_subgraph_index : int;
      body_subgraph_index : int;
    }
    
    table StablehloSortOptions{
      dimension : long;
      is_stable : bool;
      comparator_subgraph_index : int;
    }
    
    table StablehloConcatenateOptions {
      dimension : long;
    }
    
    table StablehloBroadcastInDimOptions{
      broadcast_dimensions : [long];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

            return when {
                this is FirSmartCastExpression -> {
                    val result = originalExpression.toKtReceiverValue()
                    if (result != null && isStable) {
                        KaSmartCastedReceiverValue(result, smartcastType.coneType.asKtType())
                    } else {
                        result
                    }
                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK: [[RNG:%.*]] = "mhlo.rng"([[LOWER]], [[UPPER]], [[SHAPE]]) <{rng_distribution = #mhlo.rng_distribution<UNIFORM>}>
      // CHECK: [[SORT:%.*]]:2 = "mhlo.sort"([[RNG]], [[INPUT]]) <{dimension = -1 : i64, is_stable = {{.*}}}> ({
      // CHECK: ^{{.*}}([[ARG1:%.*]]: tensor<i32>, [[ARG2:%.*]]: tensor<i32>, {{.*}}: tensor<f32>, {{.*}}: tensor<f32>):
      // CHECK:   mhlo.compare LT, [[ARG1]], [[ARG2]], TOTALORDER
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
Back to top