Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 112 for upperBound (0.18 sec)

  1. 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
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      @Override
      public abstract ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType);
    
      @Override
      public ImmutableSortedMultiset<E> subMultiset(
          E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) {
        checkArgument(
            comparator().compare(lowerBound, upperBound) <= 0,
            "Expected lowerBound <= upperBound but %s > %s",
            lowerBound,
            upperBound);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt

            withValidityAssertion { analysisSession.typeProvider.withNullability(this, newNullability) }
    
        public fun KaType.upperBoundIfFlexible(): KaType = withValidityAssertion { (this as? KaFlexibleType)?.upperBound ?: this }
        public fun KaType.lowerBoundIfFlexible(): KaType = withValidityAssertion { (this as? KaFlexibleType)?.lowerBound ?: this }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. 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))
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

                &lt;/ul>
              </description>
              <type>String</type>
            </field>
            <field>
              <name>provides</name>
              <version>1.0.0/1.0.99</version> <!-- fake upperbound, it's inclusive -->
              <type>DOM</type> <!-- DOM for Maven 2.0.9/2.3.3 -->
              <description>
                Toolchain identification information, which will be matched against project requirements.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

        /** Returns true if the type is a platform flexible type and may or may not be marked nullable. */
        public val KaType.hasFlexibleNullability: Boolean get() = withValidityAssertion { this is KaFlexibleType && this.upperBound.isMarkedNullable != this.lowerBound.isMarkedNullable }
    
        public val KaType.isUnit: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.UNIT) }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ContiguousSet.java

           * effectiveRange.isEmpty() would have returned true.
           */
          C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
          C beforeUpper = requireNonNull(range.upperBound.greatestValueBelow(domain));
          // Per class spec, we are allowed to throw CCE if necessary
          empty = Range.compareOrThrow(afterLower, beforeUpper) > 0;
        }
    
        return empty
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ContiguousSet.java

           * effectiveRange.isEmpty() would have returned true.
           */
          C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
          C beforeUpper = requireNonNull(range.upperBound.greatestValueBelow(domain));
          // Per class spec, we are allowed to throw CCE if necessary
          empty = Range.compareOrThrow(afterLower, beforeUpper) > 0;
        }
    
        return empty
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorFragments.kt

                        ),
                        typeParameters = listOf(
                            newTypeParameterOf(name = "T", variance = KmVariance.INVARIANT, upperBound = GradleType.dependency)
                        ),
                        signature = signature
                    )
                },
                signature = JvmMethodSignature(
                    propertyName,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  10. 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()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top