Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 127 for nulla (0.25 sec)

  1. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        return try {
          val response = call.execute()
          val bodyString = response.body.string()
          RecordedResponse(request, response, null, bodyString, null)
        } catch (e: IOException) {
          RecordedResponse(request, null, null, null, e)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    internal fun Regex.matchAtPolyfill(
      input: CharSequence,
      index: Int,
    ): MatchResult? {
      val candidate = find(input, index) ?: return null
      if (candidate.range.first != index) return null // Didn't match where it should have.
      return candidate
    }
    
    @JvmField
    val EMPTY_BYTE_ARRAY: ByteArray = ByteArray(0)
    
    /** Byte order marks. */
    internal val UNICODE_BOMS =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            // when it is present, and for others we must omit it!
            // https://tools.ietf.org/html/rfc4055#section-2.1
            ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION -> Adapters.NULL
            ObjectIdentifiers.RSA_ENCRYPTION -> Adapters.NULL
            ObjectIdentifiers.EC_PUBLIC_KEY -> Adapters.OBJECT_IDENTIFIER
            else -> null
          }
        }
    
      /**
       * ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  4. .teamcity/src/main/kotlin/common/extensions.kt

     * that runs with the Gradle wrapper.
     *
     * @see GradleBuildStep
     */
    fun BuildSteps.gradleWrapper(buildType: BuildType? = null, init: GradleBuildStep.() -> Unit): GradleBuildStep =
        customGradle(init) {
            useGradleWrapper = true
            if (buildFile == null) {
                buildFile = "" // Let Gradle detect the build script
            }
            skipConditionally(buildType)
        }
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt

                    mappingConversionSecond = createConversion(second)
                )
            }
            return null
        }
    
        private fun tryMapPsiElementType(kClass: KClass<*>): HLParameterConversion? {
            if (kClass.isSubclassOf(PsiElement::class)) {
                return HLIdParameterConversion
            }
            return null
        }
    
        private val nullableTypeMapping: Map<KClass<*>, HLFunctionCallConversion> = mapOf(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Nov 06 14:41:18 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

          if (sdkVersion != null && sdkVersion >= 29) {
            assertThat(sslSocket.enabledProtocols)
              .containsExactly(
                TlsVersion.TLS_1_1.javaName,
                TlsVersion.TLS_1_2.javaName,
                TlsVersion.TLS_1_3.javaName,
              )
          } else if (sdkVersion != null && sdkVersion >= 26) {
            assertThat(sslSocket.enabledProtocols)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

          return if (!fieldType.isInstance(value)) null else fieldType.cast(value)
        } catch (_: NoSuchFieldException) {
        }
    
        c = c.superclass
      }
    
      // Didn't find the field we wanted. As a last gasp attempt,
      // try to find the value on a delegate.
      if (fieldName != "delegate") {
        val delegate = readFieldOrNull(instance, Any::class.java, "delegate")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                .withPluginClasspath()
                .withArguments(":binary-compatibility:checkBinaryCompatibility", "-s")
    
            val (buildResult, failure) = try {
                runner.build()!! to null
            } catch (ex: UnexpectedBuildFailure) {
                ex.buildResult!! to ex
            }
    
            println(buildResult.output)
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

                couldBeExtensionProperty -> {
                    ktProperty.receiverTypeReference != null &&
                        method.firstParameterMatches(ktProperty.receiverTypeReference!!)
                }
                couldBeProperty -> {
                    ktProperty.receiverTypeReference == null
                }
                else -> false
            }
        }
    }
    
    
    private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        assertThat(client.webSocket!!.send("Hello!")).isFalse()
      }
    
      @Test
      fun clientCloseWith0Fails() {
        assertFailsWith<IllegalArgumentException> {
          client.webSocket!!.close(0, null)
        }.also { expected ->
          assertThat("Code must be in range [1000,5000): 0")
            .isEqualTo(expected.message)
        }
      }
    
      @Test
      fun afterSocketClosedPingFailsWebSocket() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
Back to top