Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for fast (0.16 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

     * [CallableDescriptor.getOverriddenDescriptors] instead, which is separate from [CallableDescriptor.getOriginal].
     */
    @Suppress("UNCHECKED_CAST")
    private fun <T : CallableDescriptor> T.unwrapUseSiteSubstitutionOverride(): T {
        var current: CallableDescriptor = this
        while (original != current) {
            current = current.original
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         * prefixed with a suitable extension receiver type (like in `Foo.bar`, or `foo.Foo.bar`).
         *
         * Relies on the fact that in such references only the last qualifier refers to the
         * actual extension callable, and the part before that refers to the receiver type (either fully
         * or partially qualified).
         *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        private fun findFakePackageToShorten(typeElement: KtUserType): ElementToShorten? {
            val deepestTypeWithQualifier = typeElement.qualifiedTypesWithSelf.last()
    
            return if (deepestTypeWithQualifier.hasFakeRootPrefix()) createElementToShorten(deepestTypeWithQualifier) else null
        }
    
        fun processTypeQualifier(resolvedQualifier: FirResolvedQualifier) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                    // E.g., coreR.string.hello
                    //   -> string.hello (drop the first segment)
                    //   test.pkg.R.string.hello
                    //   -> string.hello (take last two segments, where the size is determined by the size of qualified access minus 1)
                    val fixedQualifiedAccessSegments = qualifiedAccessSegments.drop(1)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                            argumentMapping?.entries
                        }
                    @Suppress("UNCHECKED_CAST") // safe because of the above check on targetKtSymbol
                    KtSimpleFunctionCall(
                        partiallyAppliedSymbol as KtPartiallyAppliedFunctionSymbol<KtFunctionLikeSymbol>,
                        @Suppress("USELESS_CAST") // K2 warning suppression, TODO: KT-62472
                        argumentMappingWithoutExtensionReceiver
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  6. ChangeLog.md

    - [`KT-43936`](https://youtrack.jetbrains.com/issue/KT-43936) Recursion detected on input: ANNOTATION_ENTRY with annotation on star-imported nested class
    - [`KT-43846`](https://youtrack.jetbrains.com/issue/KT-43846) No smart cast when returning function closures with captured smart-cast variable
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.CAST_NEVER_SUCCEEDS) { firDiagnostic ->
            CastNeverSucceedsImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.USELESS_CAST) { firDiagnostic ->
            UselessCastImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

        inline fun <reified S : To> cache(key: From, calculation: () -> S): S {
            val value = cache.getOrPut(key, calculation)
            return value as? S
                ?: errorWithAttachment("Cannot cast ${value::class} to ${S::class}") {
                    withEntry("value", value.toString())
                }
        }
    }
    
    internal fun FirElement.buildSymbol(builder: KtSymbolByFirBuilder) =
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                val dependencyFiles = buildSet {
                    addAll(compilationPeerData.files)
                    addAll(codeFragmentMappings?.capturedFiles.orEmpty())
    
                    // The main file needs to be the last so caches for the context declarations are populated in FIR-to-IR.
                    remove(file)
                }
    
                addAll(dependencyFiles)
                add(file)
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirVisibilityChecker.kt

            val candidateModule = candidateDeclaration.llFirModuleData.ktModule
    
            val effectiveSession = if (positionModule is KtDanglingFileModule && candidateModule != positionModule) {
                @Suppress("USELESS_CAST") // Smart cast is only available in K2
                val contextModule = (positionModule as KtDanglingFileModule).contextModule
                firResolveSession.getSessionFor(contextModule)
            } else {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jan 05 16:04:14 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top