Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for dropLast (0.22 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FunctionalType.kt

            }
    
        override val parameterTypes: List<KtType>
            get() = withValidityAssertion {
                when {
                    descriptor.functionTypeKind.isReflectType -> fe10Type.arguments.dropLast(1)
                    else -> fe10Type.getValueParameterTypesFromFunctionType()
                }.map { it.type.toKtType(analysisContext) }
            }
    
        override val returnType: KtType
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

      }
    
      private fun splitDomain(domain: String): List<String> {
        val domainLabels = domain.split('.')
    
        if (domainLabels.last() == "") {
          // allow for domain name trailing dot
          return domainLabels.dropLast(1)
        }
    
        return domainLabels
      }
    
      private fun findMatchingRule(domainLabels: List<String>): List<String> {
        if (!listRead.get() && listRead.compareAndSet(false, true)) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

        }
    
        private fun KtAnalysisSession.getSymbolsFromMemberScope(fqName: FqName, scope: KtScope): Collection<KtDeclarationSymbol> {
            val finalScope = fqName.pathSegments()
                .dropLast(1)
                .fold(scope) { currentScope, fqNamePart ->
                    currentScope
                        .getClassifierSymbols(fqNamePart)
                        .filterIsInstance<KtSymbolWithMembers>()
    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)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

                        )
                    )
                ),
                isVarargs = true,
                asArgument = "mapOf(*${first.asArgument})"
            )
            if (last().type.isSAM) last().let { action -> drop(1).dropLast(1) + mappedMapParameter + action }
            else drop(1) + mappedMapParameter
        } ?: this
    
    
    private
    fun List<MappedApiFunctionParameter>.javaClassToKotlinClass() =
        map { p ->
            p.type.run {
    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)
  5. docs/en/docs/img/sponsors/dropbase.svg

    dropbase.svg...
    SVG Image
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jan 23 14:56:14 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  6. docs/en/docs/img/sponsors/dropbase-banner.svg

    dropbase-banner.svg...
    SVG Image
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jan 23 14:56:14 GMT 2022
    - 20.7K bytes
    - Viewed (1)
  7. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            visit(g.getEntry(), visited, g);
    
            List<MetadataGraphVertex> dropList = new ArrayList<>(g.getVertices().size());
    
            // collect drop list
            for (MetadataGraphVertex v : g.getVertices()) {
                if (!visited.contains(v)) {
                    dropList.add(v);
                }
            }
    
            if (dropList.size() < 1) {
                return g;
            }
    
            // now - drop vertices
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    * ♻️ Move from `Optional[X]` to `Union[X, None]` for internal utils. PR [#5124](https://github.com/tiangolo/fastapi/pull/5124) by [@tiangolo](https://github.com/tiangolo).
    * 🔧 Update sponsors, remove Dropbase, add Doist. PR [#5096](https://github.com/tiangolo/fastapi/pull/5096) by [@tiangolo](https://github.com/tiangolo).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
Back to top