Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for mapael (0.23 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        // 2.
        "disallowed_STD3_mapped ".encodeUtf8(),
        // 3.
        "disallowed_STD3_valid ".encodeUtf8(),
        // 4.
        "ignored ".encodeUtf8(),
        // 5.
        "mapped ".encodeUtf8(),
        // 6.
        "valid ".encodeUtf8(),
      )
    
    internal const val TYPE_DEVIATION = 0
    internal const val TYPE_DISALLOWED = 1
    internal const val TYPE_DISALLOWED_STD3_MAPPED = 2
    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)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        }
      }
      return result.readUtf8()
    }
    
    /**
     * Returns the canonical address for [address]. If [address] is an IPv6 address that is mapped to an
     * IPv4 address, this returns the IPv4-mapped address. Otherwise, this returns [address].
     *
     * https://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses
     */
    internal fun canonicalizeInetAddress(address: ByteArray): ByteArray {
      return when {
    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)
  3. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    internal fun Int.toHexString(): String = Integer.toHexString(this)
    
    @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "NOTHING_TO_INLINE")
    internal inline fun Any.wait() = (this as Object).wait()
    
    @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "NOTHING_TO_INLINE")
    internal inline fun Any.notify() = (this as Object).notify()
    
    @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "NOTHING_TO_INLINE")
    internal inline fun Any.notifyAll() = (this as Object).notifyAll()
    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)
  4. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

          }
        }
    
        return mapResult.readUtf8()
      }
    }
    
    interface CodePointMapping {
      /**
       * Returns a (possibly-empty) string that [codePoint] maps to, or null if [codePoint] is not
       * mapped.
       */
      operator fun get(codePoint: Int): String?
    }
    
    interface CodePointSet {
      operator fun contains(codePoint: Int): Boolean
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

         * Wait a duration in nanoseconds. Unlike [java.lang.Object.wait] this interprets 0 as
         * "don't wait" instead of "wait forever".
         */
        @Throws(InterruptedException::class)
        @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN")
        override fun coordinatorWait(
          taskRunner: TaskRunner,
          nanos: Long,
        ) {
          taskRunner.lock.assertHeld()
          if (nanos > 0) {
            taskRunner.condition.awaitNanos(nanos)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http://ExAmPlE.CoM http://other.com/ s:http p:/ h:example.com
    
    # Spaces should fail
    http://example\sexample.com
    
    # This should fail
    http://Goo%20\sgoo%7C|.com
    
    # U+3000 is mapped to U+0020 (space) which is disallowed
    http://GOO\u00a0\u3000goo.com
    
    # Other types of space (no-break, zero-width, zero-width-no-break) are
    # name-prepped away to nothing.
    # U+200B, U+2060, and U+FEFF, are ignored
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * `http://ho™ail.com`. To mitigate this, the single character (™) maps to the string (tm). There
     * is similar policy for all of the 1.1 million Unicode code points. Note that some code points such
     * as "\ud83c\udf69" are not mapped and cannot be used in a hostname.
     *
     * [Punycode](http://ietf.org/rfc/rfc3492.txt) converts a Unicode string to an ASCII string to make
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

          )
      }
    
      return result
    }
    
    internal fun canonicalizeType(type: Int): Int {
      return when (type) {
        TYPE_IGNORED -> TYPE_IGNORED
    
        TYPE_MAPPED,
        TYPE_DISALLOWED_STD3_MAPPED,
        -> TYPE_MAPPED
    
        TYPE_DEVIATION,
        TYPE_DISALLOWED_STD3_VALID,
        TYPE_VALID,
        -> TYPE_VALID
    
        TYPE_DISALLOWED -> TYPE_DISALLOWED
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/HostnamesTest.kt

        assertThat("localhost".toCanonicalHost()).isEqualTo("localhost")
        assertThat("☃.net".toCanonicalHost()).isEqualTo("xn--n3h.net")
    
        // IPv4 Compatible or Mapped addresses
        assertThat("::192.168.0.1".toCanonicalHost()).isEqualTo("::c0a8:1")
        assertThat("::FFFF:192.168.0.1".toCanonicalHost()).isEqualTo("192.168.0.1")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 30 06:23:33 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

          Mapping(0x0233, 0x0239, TYPE_VALID, ByteString.EMPTY),
          Mapping(0x023a, 0x023a, TYPE_MAPPED, "b".encodeUtf8()),
        )
      }
    
      @Test fun simplifyDoesNotCombineWhenMappedTargetsAreDifferent() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0041, 0x0041, TYPE_MAPPED, "a".encodeUtf8()),
              Mapping(0x0042, 0x0042, TYPE_MAPPED, "b".encodeUtf8()),
            ),
          ),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (0)
Back to top