Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for mapNotNull (0.06 sec)

  1. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

      val suites =
        call.executeAsync().use {
          if (!it.isSuccessful) {
            throw IOException("Failed ${it.code} ${it.message}")
          }
          it.body
            .string()
            .lines()
            .mapNotNull { parseIanaCsvRow(it) }
        }
    
      return IanaSuites("current", suites)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        val testProjectDurations =
            scenarios
                .groupBy({ it.testProject }, { scenario ->
                    listOf(testProjectToScenarioDurations, testProjectScenarioDurationsFallback)
                        .mapNotNull {
                            it.getOrDefault(scenario.testProject, emptyList()).firstOrNull { duration ->
                                duration.scenario ==
                                    scenario.scenario
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

      open fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> {
        val session = sslSocket.session as? ExtendedSSLSession ?: return listOf()
        return try {
          session.requestedServerNames.mapNotNull { (it as? SNIHostName)?.asciiName }
        } catch (uoe: UnsupportedOperationException) {
          // UnsupportedOperationException – if the underlying provider does not implement the operation
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        gradleProperty(projectPropertyName).orNull
    
    
    fun Project.selectStringProperties(vararg propertyNames: String): Map<String, String> =
        propertyNames.mapNotNull { propertyName ->
            stringPropertyOrNull(propertyName)?.let { propertyValue ->
                propertyName to propertyValue
            }
        }.toMap()
    
    /**
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 18 22:01:30 UTC 2025
    - 17.7K bytes
    - Viewed (0)
Back to top