Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 65 (0.17 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

          .map {
            return@map InetAddress.getByAddress(
              Buffer().writeInt(it.toInt()).readByteArray(),
            )
          }
      }
    
      /** Allocates and returns `count` fake IPv6 addresses like [::ff00:64, ::ff00:65].  */
      fun allocateIpv6(count: Int): List<InetAddress> {
        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

      }
    
      /** Tags larger than 30 are a special case. */
      @Test fun `large tag`() {
        val bytes = "df83fb6800".decodeHex()
    
        val adapter = Adapters.NULL.withTag(tagClass = DerHeader.TAG_CLASS_PRIVATE, tag = 65_000L)
        assertThat(adapter.toDer(null)).isEqualTo(bytes)
        assertThat(adapter.fromDer(bytes)).isNull()
      }
    
      /** Make the claimed length of a nested object larger than the enclosing object. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

      @Test fun validateCompactTableInvariants() {
        // Less than 16,834 bytes, because we binary search on a 14-bit index.
        assertThat(compactTable.sections.length).isLessThan(1 shl 14)
    
        // Less than 65,536 bytes, because we binary search on a 14-bit index with a stride of 4 bytes.
        assertThat(compactTable.ranges.length).isLessThan((1 shl 14) * 4)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        sink().write(value.toByteArray())
      }
    
      fun writeLong(v: Long) {
        val sink = sink()
    
        val lengthBitCount: Int =
          if (v < 0L) {
            65 - java.lang.Long.numberOfLeadingZeros(v xor -1L)
          } else {
            65 - java.lang.Long.numberOfLeadingZeros(v)
          }
    
        val lengthByteCount = (lengthBitCount + 7) / 8
        for (shift in (lengthByteCount - 1) * 8 downTo 0 step 8) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/FormBodyTest.kt

        assertThat(formEncode(61)).isEqualTo("%3D")
        assertThat(formEncode(62)).isEqualTo("%3E")
        assertThat(formEncode(63)).isEqualTo("%3F")
        assertThat(formEncode(64)).isEqualTo("%40")
        assertThat(formEncode(65)).isEqualTo("A")
        assertThat(formEncode(90)).isEqualTo("Z")
        assertThat(formEncode(91)).isEqualTo("%5B")
        assertThat(formEncode(92)).isEqualTo("%5C")
        assertThat(formEncode(93)).isEqualTo("%5D")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top