Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for reflect (0.19 sec)

  1. okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp/reflect-config.json

    Jesse Wilson <******@****.***> 1703114827 -0500
    Json
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 438 bytes
    - Viewed (0)
  2. okcurl/src/main/resources/META-INF/native-image/okhttp3/okcurl/reflect-config.json

    Jesse Wilson <******@****.***> 1703114827 -0500
    Json
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4 bytes
    - Viewed (0)
  3. gradle/libs.versions.toml

    kotlin-junit5 = { module = "org.jetbrains.kotlin:kotlin-test-junit5", version.ref = "org-jetbrains-kotlin" }
    kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "org-jetbrains-kotlin" }
    kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "org-jetbrains-kotlin" }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 22 19:34:32 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

          null
        } catch (e: RuntimeException) {
          // Throws InaccessibleObjectException (added in JDK9) on JDK 17 due to
          // JEP 403 Strongly Encapsulate JDK Internals.
          if (e.javaClass.name != "java.lang.reflect.InaccessibleObjectException") {
            throw e
          }
    
          null
        }
      }
    
      /**
       * Configure TLS extensions on `sslSocket` for `route`.
       */
      open fun configureTlsExtensions(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  5. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

       */
      @Throws(IOException::class)
      fun processNextEvent(): Boolean {
        var id = lastId
        var type: String? = null
        val data = Buffer()
    
        while (true) {
          when (source.select(options)) {
            in 0..2 -> {
              completeEvent(id, type, data)
              return true
            }
    
            in 3..4 -> {
              source.readData(data)
            }
    
            in 5..7 -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        skipWhitespace()
        val type = select(optionsType)
    
        when (type) {
          TYPE_DEVIATION, TYPE_MAPPED, TYPE_DISALLOWED_STD3_MAPPED -> {
            skipWhitespace()
            if (readByte() != ';'.code.toByte()) throw IOException("expected ';'")
    
            // Like "0061" or "0031 2044 0034".
            while (true) {
              skipWhitespace()
    
              when (select(optionsDelimiter)) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

    class FakeProxySelector : ProxySelector() {
      val proxies: MutableList<Proxy> = mutableListOf()
    
      fun addProxy(proxy: Proxy): FakeProxySelector {
        proxies.add(proxy)
        return this
      }
    
      override fun select(uri: URI): List<Proxy> {
        // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS).
        return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        var value = 0
        val groupOffset = i
        while (i < limit) {
          val c = input[i]
          if (c < '0' || c > '9') break
          if (value == 0 && groupOffset != i) return false // Reject unnecessary leading '0's.
          value = value * 10 + c.code - '0'.code
          if (value > 255) return false // Value out of range.
          i++
        }
        val groupLength = i - groupOffset
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly(
          Challenge("Digest", mapOf()),
        )
      }
    
      @Disabled("TODO(jwilson): reject parameters that use invalid characters")
      @Test
      fun doubleQuoteInToken() {
        val headers =
          Headers.Builder()
            .add("WWW-Authenticate", "Digest,,,, Basic ,,,realm=my\"realm")
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://[0:0:0:0:0:1:0.0.0.0]/").host).isEqualTo("::1:0:0")
      }
    
      @Test
      fun hostIpv6WithIpv4SuffixWithOctalPrefix() {
        // Chrome interprets a leading '0' as octal; Firefox rejects them. (We reject them.)
        assertInvalid(
          "http://[0:0:0:0:0:1:0.0.0.000000]/",
          "Invalid URL host: \"[0:0:0:0:0:1:0.0.0.000000]\"",
        )
        assertInvalid(
          "http://[0:0:0:0:0:1:0.010.0.010]/",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
Back to top