- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for Variance (0.22 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
typeProjection.projectionKind == Variance.INVARIANT -> { when (typeParameter.variance) { Variance.IN_VARIANCE -> BoundTypeArgument(typeProjection.type, Variance.IN_VARIANCE) Variance.OUT_VARIANCE -> BoundTypeArgument(typeProjection.type, Variance.OUT_VARIANCE) else -> BoundTypeArgument(typeProjection.type, Variance.INVARIANT) }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Jan 29 09:37:59 GMT 2024 - 23.3K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
ApiTypeUsage( sourceName, isNullable, type(sourceName), variance, typeArguments.map { apiTypeUsageFor(it.binaryName, variance = it.variance, typeArguments = it.typeArguments) }, bounds.map { apiTypeUsageFor(it.binaryName, variance = it.variance, typeArguments = it.typeArguments) } ) } internal val ApiTypeUsage.isStarProjectionTypeUsage
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Feb 06 19:56:10 GMT 2024 - 20.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiTypeParameterSymbol.kt
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:46 GMT 2024 - 2.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt
} else { when (projection.projectionKind) { Variance.INVARIANT -> renderType(projection.type, printer) Variance.IN_VARIANCE -> { append("in ") renderType(projection.type, printer) } Variance.OUT_VARIANCE -> { append("out ")
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 10.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescTypeParameterSymbol.kt
override val upperBounds: List<KtType> get() = withValidityAssertion { descriptor.upperBounds.filterNot { it.isNullableAny() }.map { it.toKtType(analysisContext) } } override val variance: Variance get() = withValidityAssertion { descriptor.variance } override val isReified: Boolean get() = withValidityAssertion { descriptor.isReified }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:46 GMT 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Stats.java
return Math.sqrt(populationVariance()); } /** * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Sample_variance">unbiased sample * variance</a> of the values. If this dataset is a sample drawn from a population, this is an * unbiased estimator of the population variance of the population. The count must be greater than * one. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 22K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt
token, ) } private fun ProjectionKind.toVariance(): Variance = when (this) { ProjectionKind.OUT -> Variance.OUT_VARIANCE ProjectionKind.IN -> Variance.IN_VARIANCE ProjectionKind.INVARIANT -> Variance.INVARIANT ProjectionKind.STAR -> error("KtStarProjectionTypeArgument should not be directly created") }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Mar 28 09:06:28 GMT 2024 - 32.4K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt
private fun ApiTypeUsage.toTypeArgumentString(): String = "${variance.toKotlinString()}$sourceName${typeArguments.toTypeArgumentsString(type)}${isNullable.toKotlinNullabilityString()}" private fun Variance.toKotlinString() = when (this) { Variance.INVARIANT -> "" Variance.COVARIANT -> "out " Variance.CONTRAVARIANT -> "in " } private
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Wed Dec 20 21:41:53 GMT 2023 - 18.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
import static com.google.common.math.StatsTesting.LARGE_INTEGER_VALUES_POPULATION_VARIANCE; import static com.google.common.math.StatsTesting.LARGE_INTEGER_VALUES_STATS; import static com.google.common.math.StatsTesting.LARGE_LONG_VALUES_MEAN; import static com.google.common.math.StatsTesting.LARGE_LONG_VALUES_POPULATION_VARIANCE; import static com.google.common.math.StatsTesting.LARGE_LONG_VALUES_STATS;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 32.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirAnalysisSessionComponent.kt
get() = when (this) { is KtStarTypeProjection -> ConeStarProjection is KtTypeArgumentWithVariance -> { typeContext.createTypeArgument(type.coneType, variance.convertVariance()) as ConeTypeProjection } } fun createTypeCheckerContext(): TypeCheckerState { // TODO use correct session here,
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 18:13:17 GMT 2024 - 4.2K bytes - Viewed (0)