Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for mappedTo (0.14 sec)

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

        override val rangeStart: Int,
        private val mappedTo: ByteString,
      ) : MappedRange {
        val b1: Int
          get() {
            val b3bit8 = mappedTo[0] and 0x80 != 0
            return if (b3bit8) 123 else 122
          }
    
        val b2: Int
          get() = mappedTo[0] and 0x7f
      }
    
      data class Inline2(
        override val rangeStart: Int,
        private val mappedTo: ByteString,
      ) : MappedRange {
        val b1: Int
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

            is MappedRange.External -> {
              // Write the mapping.
              val mappingOffset: Int
              val mappedTo = range.mappedTo.utf8()
              val mappingIndex = mappingsBuffer.indexOf(mappedTo)
              if (mappingIndex == -1) {
                mappingOffset = mappingsBuffer.length
                mappingsBuffer.append(mappedTo)
              } else {
                mappingOffset = mappingIndex
              }
    
              // Write the range bytes.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

            sourceCodePoint0.toInt(),
            sourceCodePoint1.toInt(),
            type,
            mappedTo.readByteString(),
          )
      }
    
      return SimpleIdnaMappingTable(result)
    }
    
    internal data class Mapping(
      val sourceCodePoint0: Int,
      val sourceCodePoint1: Int,
      val type: Int,
      val mappedTo: ByteString,
    ) {
      val section: Int
        get() = sourceCodePoint0 and 0x1fff80
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

        sourceCodePoint1: Int,
        mappedToCodePoints: List<Int>,
      ): Mapping =
        Mapping(
          sourceCodePoint0 = sourceCodePoint0,
          sourceCodePoint1 = sourceCodePoint1,
          type = TYPE_MAPPED,
          mappedTo =
            Buffer().also {
              for (cp in mappedToCodePoints) {
                it.writeUtf8CodePoint(cp)
              }
            }.readByteString(),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    0046          ; mapped                 ; 0066          # 1.1  LATIN CAPITAL LETTER F
    0047          ; mapped                 ; 0067          # 1.1  LATIN CAPITAL LETTER G
    0048          ; mapped                 ; 0068          # 1.1  LATIN CAPITAL LETTER H
    0049          ; mapped                 ; 0069          # 1.1  LATIN CAPITAL LETTER I
    004A          ; mapped                 ; 006A          # 1.1  LATIN CAPITAL LETTER J
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *    119 : Ignored.
     *    120 : Valid.
     *    121 : Disallowed
     *    122 : Mapped inline to the sequence: [b2].
     *    123 : Mapped inline to the sequence: [b2a].
     *    124 : Mapped inline to the sequence: [b2, b3].
     *    125 : Mapped inline to the sequence: [b2a, b3].
     *    126 : Mapped inline to the sequence: [b2, b3a].
     *    127 : Mapped inline to the sequence: [b2a, b3a].
     *
     * The range goes until the beginning of the next range.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 11:39:58 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InetAddressesTest.java

        // check upper case
        mappedStr = "::FFFF:192.168.0.1";
        assertTrue(InetAddresses.isMappedIPv4Address(mappedStr));
        mapped = InetAddresses.forString(mappedStr);
        assertThat(mapped).isNotInstanceOf(Inet6Address.class);
        assertEquals(InetAddress.getByName("192.168.0.1"), mapped);
    
        mappedStr = "0:00:000:0000:0:ffff:1.2.3.4";
        assertTrue(InetAddresses.isMappedIPv4Address(mappedStr));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. docs/debugging/xl-meta/main.go

    		if err != nil {
    			return nil, err
    		}
    
    		if m.mapped == nil {
    			m.mapped = make([]byte, m.size)
    			m.filled = make([]byte, m.size)
    		}
    
    		set := m.parityData[m.data]
    		if set == nil {
    			set = make(map[int][]byte)
    		}
    		set[idx] = b
    		m.parityData[m.data] = set
    
    		// Combine
    		start := len(b) * idx
    		if start >= len(m.mapped) {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InetAddresses.java

     *   <dd>{@code 00 00 00 00 00 00 00 00 00 00 00 00 c0 a8 00 01}
     *   <dt>An IPv6 "IPv4 mapped" address, {@code "::ffff:192.168.0.1"}.
     *   <dd>{@code 00 00 00 00 00 00 00 00 00 00 ff ff c0 a8 00 01}
     * </dl>
     *
     * <p>A few notes about IPv6 "IPv4 mapped" addresses and their observed use in Java.
     *
     * <p>"IPv4 mapped" addresses were originally a representation of IPv4 addresses for use on an IPv6
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

        /**
         * <p>The implementation supports indexed, nested and mapped properties.</p>
         * <ul>
         * <li>nested properties should be defined by a dot, i.e. "user.address.street"</li>
         * <li>indexed properties (java.util.List or array instance) should be contains <code>(\\w+)\\[(\\d+)\\]</code>
         * pattern, i.e. "user.addresses[1].street"</li>
         * <li>mapped properties should be contains <code>(\\w+)\\((.+)\\)</code> pattern,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top