Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 133 for listOf (0.21 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        get() = systemProperty(PREDICTIVE_TEST_SELECTION_ENABLED)
            .map { it.toBoolean() }
            .orElse(
                buildBranch.zip(buildRunningOnCi) { branch, ci ->
                    val protectedBranches = listOf("master", "release")
                    ci && !protectedBranches.contains(branch)
                        && !branch.startsWith("pre-test/")
                        && !branch.startsWith("gh-readonly-queue/")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt

    }
    
    internal fun KaSession.assertStableSymbolResult(
        testServices: TestServices,
        firstCandidates: List<KaCallCandidateInfo>,
        secondCandidates: List<KaCallCandidateInfo>,
    ) {
        val assertions = testServices.assertions
        assertions.assertEquals(firstCandidates.size, secondCandidates.size)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

         *
         * Comparing to the [KaScope], in the [KaTypeScope] all use-site type parameters are substituted.
         *
         * Consider the following code
         * ```
         * fun foo(list: List<String>) {
         *      list // get KtTypeScope for it
         * }
         *```
         *
         * Inside the `LIST_KT_ELEMENT.getKaType().getTypeScope()` would contain the `get(i: Int): String` method with substituted type `T = String`
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        var request = chain.request
        val call = realChain.call
        var followUpCount = 0
        var priorResponse: Response? = null
        var newRoutePlanner = true
        var recoveredFailures = listOf<IOException>()
        while (true) {
          call.enterNetworkInterceptorExchange(request, newRoutePlanner, chain)
    
          var response: Response
          var closeActiveExchange = true
          try {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          object : BasicDerAdapter.Codec<T> {
            override fun decode(reader: DerReader): T {
              return reader.withTypeHint {
                val list = mutableListOf<Any?>()
    
                while (list.size < members.size) {
                  val member = members[list.size]
                  list += member.fromDer(reader)
                }
    
                if (reader.hasNext()) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        useSitePosition: PsiElement,
    ): Boolean {
        if (!shouldApproximateAnonymousTypesOfNonLocalDeclaration(visibilityForApproximation, isInlineFunction)) return false
        val localTypes: List<ConeKotlinType> = if (isLocal(session)) listOf(this) else {
            typeArguments.mapNotNull {
                if (it is ConeKotlinTypeProjection && it.type.isLocal(session)) {
                    it.type
                } else null
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

        serverIps = Dns.SYSTEM.lookup(server.hostName)
        dns[server.hostName] = serverIps
        dns["san.com"] = serverIps
        dns["nonsan.com"] = serverIps
        dns["www.wildcard.com"] = serverIps
        dns["differentdns.com"] = listOf()
        val handshakeCertificates =
          HandshakeCertificates.Builder()
            .addTrustedCertificate(rootCa.certificate)
            .build()
        client =
          clientTestRule.newClientBuilder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

                jdkHome,
            )
        }
    
        private fun initialiseVirtualFileFinderServices(
            environment: KotlinCoreProjectEnvironment,
            modules: List<KtModule>,
            sourceFiles: List<PsiFileSystemItem>,
            languageVersionSettings: LanguageVersionSettings,
            jdkHome: Path?,
        ) {
            val project = environment.project
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        )
    
    
    private
    typealias ApiTypeSupplier = () -> ApiType
    
    
    typealias ParameterNamesSupplier = (String) -> List<String>?
    
    
    private
    fun ParameterNamesSupplier.parameterNamesFor(typeName: String, functionName: String, parameterTypeNames: List<String>): List<String>? =
        this("$typeName.$functionName(${parameterTypeNames.joinToString(",")})")
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 19:56:10 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt

        }
    }
    
    
    internal
    fun importsRequiredBy(candidateTypes: List<TypeAccessibility>): List<String> =
        defaultPackageTypesIn(
            candidateTypes
                .filterIsInstance<TypeAccessibility.Accessible>()
                .map { it.type.kotlinString }
        )
    
    
    internal
    fun defaultPackageTypesIn(typeStrings: List<String>): List<String> =
        typeStrings
            .flatMap { classNamesFromTypeString(it).all }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top