Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Comment (0.26 sec)

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

            println(failure)
          }
          throw failures.first()
        }
      }
    
      private fun testToAscii(
        input: String,
        output: String?,
        comment: String?,
      ) {
        val url = "https://$input/".toHttpUrlOrNull()
        assertThat(url?.host, name = comment ?: input).isEqualTo(output)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        -1L -> skip(buffer.size) // Exhaust this source.
        else -> skip(newline + 1)
      }
    }
    
    /**
     * Reads lines from `IdnaMappingTable.txt`.
     *
     * Comment lines are either blank or start with a `#` character. Lines may also end with a comment.
     * All comments are ignored.
     *
     * Regular lines contain fields separated by semicolons.
     *
    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)
  3. okhttp/src/test/java/okhttp3/CookiesTest.kt

        assertThat(cookies.size).isEqualTo(1)
        val cookie = cookies[0]
        assertThat(cookie.name).isEqualTo("a")
        assertThat(cookie.value).isEqualTo("android")
        assertThat(cookie.comment).isNull()
        assertThat(cookie.commentURL).isNull()
        assertThat(cookie.discard).isFalse()
        assertThat(cookie.maxAge).isGreaterThan(100000000000L)
        assertThat(cookie.path).isEqualTo("/path")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/web-platform-test-toascii.json

      },
      {
        "comment": "Label with trailing hyphen",
        "input": "x-.xn--zca",
        "output": "x-.xn--zca"
      },
      {
        "input": "x-.ß",
        "output": "x-.xn--zca"
      },
      {
        "comment": "Empty labels",
        "input": "x..xn--zca",
        "output": "x..xn--zca"
      },
      {
        "input": "x..ß",
        "output": "x..xn--zca"
      },
      {
        "comment": "Invalid Punycode",
        "input": "xn--a",
    Json
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  5. LICENSE.txt

          boilerplate notice, with the fields enclosed by brackets "[]"
          replaced with your own identifying information. (Don't include
          the brackets!)  The text should be enclosed in the appropriate
          comment syntax for the file format. We also recommend that a
          file or class name and description of purpose be included on the
          same "printed page" as the copyright notice for easier
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jul 23 14:02:28 GMT 2012
    - 11.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/WebPlatformToAsciiData.kt

     *
     * Each test is a line of the file `toascii.json`.
     */
    @Serializable
    class WebPlatformToAsciiData {
      var input: String? = null
      var output: String? = null
      var comment: String? = null
    
      override fun toString() = "input=$input output=$output"
    
      companion object {
        fun load(): List<WebPlatformToAsciiData> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        logger.log(logLevel, message, t)
      }
    
      open fun isCleartextTrafficPermitted(hostname: String): Boolean = true
    
      /**
       * Returns an object that holds a stack trace created at the moment this method is executed. This
       * should be used specifically for [java.io.Closeable] objects and in conjunction with
       * [logCloseableLeak].
       */
      open fun getStackTraceForCloseable(closer: String): Any? {
    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)
  8. okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt

       *    0390; 03B9 0308 0301; Case map
       * ```
       *
       * Each line maps from a single hexadecimal code point to zero or more hexadecimal code points.
       * Elements are delimited by semicolons with a comment at the end of the line.
       */
      fun readCodePointMapping(path: Path): MappingListCodePointMapping {
        fileSystem.source(path).buffer().use { source ->
          return source.readCodePointMappings()
        }
      }
    }
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    gg
    co.gg
    net.gg
    org.gg
    
    // gh : https://en.wikipedia.org/wiki/.gh
    // see also: http://www.nic.gh/reg_now.php
    // Although domains directly at second level are not possible at the moment,
    // they have been possible for some time and may come back.
    gh
    com.gh
    edu.gh
    gov.gh
    org.gh
    mil.gh
    
    // gi : http://www.nic.gi/rules.html
    gi
    com.gi
    ltd.gi
    gov.gi
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  10. okhttp-android/README.md

    OkHttp Android
    ==============
    
    Enhanced APIs for using OkHttp on Android.
    
    At the moment, this will mostly likely only be useful for fastFallback.
    
    Download
    --------
    
    ```kotlin
    implementation("com.squareup.okhttp3:okhttp-android:4.12.0")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 242 bytes
    - Viewed (0)
Back to top