Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for KELVIN (0.3 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          verifyHostname(hostname, it)
        }
      }
    
      /**
       * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII
       * characters. We want to avoid lower casing special chars like U+212A (Kelvin symbol) because
       * they can return ASCII characters that match real hostnames.
       */
      private fun String.asciiToLowercase(): String {
        return when {
          isAscii() -> lowercase(Locale.US) // This is an ASCII string.
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

        // These should ideally be false, but we know that hostname is usually already checked by us
        assertThat(verifier.verify("\u212A.com", session)).isFalse()
        // Kelvin character below
        assertThat(verifier.verify("K.com", session)).isFalse()
      }
    
      @Test fun specialKInCert() {
        // https://github.com/apache/httpcomponents-client/commit/303e435d7949652ea77a6c50df1c548682476b6e
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        // Map the single character telephone symbol (℡) to the string "tel".
        assertThat(parse("http://\u2121").host).isEqualTo("tel")
    
        // Map the Kelvin symbol (K) to the string "k".
        assertThat(parse("http://\u212A").host).isEqualTo("k")
      }
    
      @Test
      fun quirks() {
        assertThat(parse("http://facebook.com").host).isEqualTo("facebook.com")
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  4. doc/go_spec.html

    <a href="#Interface_types">interface type</a>.
    </p>
    
    <p>
    Examples of interfaces with core types:
    </p>
    
    <pre>
    type Celsius float32
    type Kelvin  float32
    
    interface{ int }                          // int
    interface{ Celsius|Kelvin }               // float32
    interface{ ~chan int }                    // chan int
    interface{ ~chan int|~chan&lt;- int }        // chan&lt;- int
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2129          ; valid                  ;      ; NV8    # 1.1  TURNED GREEK SMALL LETTER IOTA
    212A          ; mapped                 ; 006B          # 1.1  KELVIN SIGN
    212B          ; mapped                 ; 00E5          # 1.1  ANGSTROM SIGN
    212C          ; mapped                 ; 0062          # 1.1  SCRIPT CAPITAL B
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
Back to top