- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for UpperBound (0.21 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt
return when (this) { // We also need to collect those on `upperBound` due to nullability. is ConeFlexibleType -> lowerBound.getDirectSuperTypes(shouldApproximate) + upperBound.getDirectSuperTypes(shouldApproximate) is ConeDefinitelyNotNullType -> original.getDirectSuperTypes(shouldApproximate).map {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Feb 20 08:50:04 GMT 2024 - 16.3K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt
private fun simplifyType(type: UnwrappedType): KotlinType { var result = type do { val oldResult = result result = when (type) { is FlexibleType -> type.upperBound is DefinitelyNotNullType -> type.original else -> type } } while (result !== oldResult) return result }
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Mar 28 16:10:07 GMT 2024 - 6.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt
val lowerBoundText = prettyPrint { renderType(type.lowerBound, this@prettyPrint) } val upperBoundText = prettyPrint { renderType(type.upperBound, this@prettyPrint) } printer.append(DescriptorRenderer.COMPACT.renderFlexibleType(lowerBoundText, upperBoundText, type.builtIns)) }
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-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
when (this) { is ConeErrorType -> null is ConeLookupTagBasedType -> lookupTag.name.asString().toConstantValueKind() is ConeFlexibleType -> upperBound.toConstantValueKind() is ConeCapturedType -> lowerType?.toConstantValueKind() ?: constructor.supertypes!!.first().toConstantValueKind() is ConeDefinitelyNotNullType -> original.toConstantValueKind()
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 20 14:53:27 GMT 2024 - 16.5K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
return !intersectionType.isNothing() } } private fun getUpperBounds(type: KotlinType): List<KotlinType> { when (type) { is FlexibleType -> return getUpperBounds(type.upperBound) is DefinitelyNotNullType -> return getUpperBounds(type.original) is ErrorType -> return emptyList() is CapturedType -> return type.constructor.supertypes.flatMap { getUpperBounds(it) }
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) -
RELEASE.md
* Remove the `tf.keras.dtensor.experimental.layout_map_scope()`. You can user the `tf.keras.dtensor.experimental.LayoutMap.scope()` instead. ## Security * Fixes correct values rank in UpperBound and LowerBound [CVE-2023-33976](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-33976) ## Thanks to our Contributors This release contains contributions from many people at Google, as well as:
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8)