Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for addAll (0.17 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            val firTargets = buildSet<FirElement> {
                add(firDefaultStatement)
                addAll(collector.firReturnExpressions)
                addAll(collector.firBreakExpressions)
                addAll(collector.firContinueExpressions)
            }
    
            return hasMultipleExitPoints(firTargets)
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

        private fun KtScope.getAllSymbolsFromScopeByShortName(fqName: FqName): Collection<KtDeclarationSymbol> {
            val shortName = fqName.shortName()
            return buildSet {
                addAll(getCallableSymbols(shortName))
                addAll(getClassifierSymbols(shortName))
            }
        }
    
        /**
         * Tries to resolve [fqName] into available extension callables (functions or properties)
    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/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)
  4. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

                    localOnly {
                        includeAnnotationClasses.addAll("com.gradle.enterprise.testing.annotations.LocalOnly")
                    }
                    remoteOnly {
                        includeAnnotationClasses.addAll("com.gradle.enterprise.testing.annotations.RemoteOnly")
                    }
    
                    if (BuildEnvironment.isCiServer) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

        val expectedEvents2 =
          mutableListOf<String>().apply {
            add("CallStart")
            if (connectionType != H2) {
              addAll(listOf("ConnectStart", "ConnectEnd"))
            }
            addAll(listOf("ConnectionAcquired", "ConnectionReleased", "CallEnd"))
          }
    
        assertThat(events2).isEqualTo(expectedEvents2)
      }
    
      private fun isConnectionEvent(it: CallEvent?) =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        builder.interceptors().addAll(listOf(null) as List<Interceptor>)
        assertFailsWith<IllegalStateException> {
          builder.build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Null interceptor: [null]")
        }
      }
    
      @Test fun nullNetworkInterceptorInList() {
        val builder = OkHttpClient.Builder()
        builder.networkInterceptors().addAll(listOf(null) as List<Interceptor>)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                    if ((expr is FirSpreadArgumentExpression || expr is FirNamedArgumentExpression) && converted is KtArrayAnnotationValue) {
                        addAll(converted.values)
                    } else {
                        add(converted)
                    }
                    representativePsi = representativePsi ?: converted.sourcePsi
                }
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

        fun redactQueryParams(vararg name: String) {
          val newQueryParamsNameToRedact = TreeSet(String.CASE_INSENSITIVE_ORDER)
          newQueryParamsNameToRedact += queryParamsNameToRedact
          newQueryParamsNameToRedact.addAll(name)
          queryParamsNameToRedact = newQueryParamsNameToRedact
        }
    
        /**
         * Sets the level and returns this.
         *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  9. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        results: MutableList<InetAddress>,
        failures: MutableList<Exception>,
      ) {
        try {
          val addresses = readResponse(hostname, response)
          synchronized(results) {
            results.addAll(addresses)
          }
        } catch (e: Exception) {
          synchronized(failures) {
            failures.add(e)
          }
        }
      }
    
      @Throws(UnknownHostException::class)
      private fun throwBestFailure(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        body: String = "",
        inTunnel: Boolean = false,
        socketPolicy: SocketPolicy = KeepOpen,
      ) : this(
        Builder()
          .apply {
            this.code = code
            this.headers.addAll(headers)
            if (inTunnel) inTunnel()
            this.body(body)
            this.socketPolicy = socketPolicy
          },
      )
    
      private constructor(builder: Builder) {
        this.status = builder.status
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
Back to top