Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Point (2.07 sec)

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

              mappedTo.writeUtf8CodePoint(readHexadecimalUnsignedLong().toInt())
            }
          }
    
          TYPE_DISALLOWED, TYPE_DISALLOWED_STD3_VALID, TYPE_IGNORED, TYPE_VALID -> Unit
    
          else -> throw IOException("unexpected type")
        }
    
        skipRestOfLine()
    
        result +=
          Mapping(
            sourceCodePoint0.toInt(),
            sourceCodePoint1.toInt(),
            type,
            mappedTo.readByteString(),
    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/idn/Punycode.kt

        // appendCodePoint(). The Punycode algorithm processes code points in increasing code-point
        // order, not in increasing index order.
        val codePoints = mutableListOf<Int>()
    
        // consume all code points before the last delimiter (if there is one)
        //  and copy them to output, fail on any non-basic code point
        val lastDelimiter = string.lastIndexOf('-', limit)
        if (lastDelimiter >= pos) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     *
     * If your authentication may be flaky and requires retries you should apply some policy
     * to limit the retries by the class of errors and number of attempts.  To get the number of
     * attempts to the current point use this function.
     *
     * ```java
     * private int responseCount(Response response) {
     *   int result = 1;
     *   while ((response = response.priorResponse()) != null) {
     *     result++;
     *   }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

       * For example, the tags in this schema are 0 and 1:
       *
       * ```
       * Point ::= SEQUENCE {
       *   x [0] INTEGER OPTIONAL,
       *   y [1] INTEGER OPTIONAL
       * }
       * ```
       *
       * You may also specify a tag class like [DerHeader.TAG_CLASS_APPLICATION]. The default tag class
       * is [DerHeader.TAG_CLASS_CONTEXT_SPECIFIC].
       *
       * ```
       * Point ::= SEQUENCE {
       *   x [APPLICATION 0] INTEGER OPTIONAL,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt

        assertThat(stringPrep("\u2029")).isNull()
        assertThat(stringPrep("\ud834\udd7a")).isNull() // Note that this is one code point.
      }
    
      @Test fun prohibitionPrivateUse() {
        assertThat(stringPrep("\uf8ff")).isNull()
        assertThat(stringPrep("\udbff\udffd")).isNull() // Note that this is one code point.
      }
    
      @Test fun prohibitionNonCharacter() {
        assertThat(stringPrep("\ufdd0")).isNull()
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

     * entire response body. If and when the client makes a subsequent request using a pooled socket the
     * server may not have had time to close the socket. The socket will be closed at an indeterminate
     * point before or during the second request. It may be closed after client has started sending the
     * request body. If a request body is not retryable then the client may fail the request, making
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      )
    }
    
    /**
     * If [mapping] qualifies to be encoded as [MappedRange.InlineDelta] return new instance, otherwise null.
     * An [MappedRange.InlineDelta] must be a mapping from a single code-point to a single code-point with a difference
     * that can be represented in 2^18-1.
     */
    internal fun inlineDeltaOrNull(mapping: Mapping): MappedRange.InlineDelta? {
      if (mapping.hasSingleSourceCodePoint) {
    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)
  8. okhttp/src/main/kotlin/okhttp3/Call.kt

       * @throws IllegalStateException when the call has already been executed.
       */
      @Throws(IOException::class)
      fun execute(): Response
    
      /**
       * Schedules the request to be executed at some point in the future.
       *
       * The [dispatcher][OkHttpClient.dispatcher] defines when the request will run: usually
       * immediately unless there are several other requests currently being executed.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

          addCode(i, CODES[i], CODE_BIT_COUNTS[i].toInt())
        }
      }
    
      @Throws(IOException::class)
      fun encode(
        source: ByteString,
        sink: BufferedSink,
      ) {
        var accumulator = 0L
        var accumulatorBitCount = 0
    
        for (i in 0 until source.size) {
          val symbol = source[i] and 0xff
          val code = CODES[symbol]
          val codeBitCount = CODE_BIT_COUNTS[symbol].toInt()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

      val notAfter: Long,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + notBefore.toInt()
        result = 31 * result + notAfter.toInt()
        return result
      }
    }
    
    internal data class SubjectPublicKeyInfo(
      val algorithm: AlgorithmIdentifier,
      val subjectPublicKey: BitString,
    )
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top