Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 230 for Code (0.14 sec)

  1. docs/contribute/code_of_conduct.md

    
    [codeofconduct_at]: mailto:******@****.***
    [twitter_coc]: https://github.com/twitter/code-of-conduct/blob/master/code-of-conduct.md
    [ubuntu_coc]: https://ubuntu.com/community/code-of-conduct
    [gdc_coc]: https://www.gdconf.com/code-of-conduct
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

            val childIndex = (accumulator ushr (accumulatorBitCount - 8)) and 0xff
            node = node.children!![childIndex]!!
            if (node.children == null) {
              // Terminal node.
              sink.writeByte(node.symbol)
              accumulatorBitCount -= node.terminalBitCount
              node = root
            } else {
              // Non-terminal node.
              accumulatorBitCount -= 8
            }
          }
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

     *
     * The first element on each line is a single hex code point (like 0041) or a hex code point range
     * (like 0030..0039).
     *
     * The second element on each line is a mapping type, like `valid` or `mapped`.
     *
     * For lines that contain a mapping target, the next thing is a sequence of hex code points (like
     * 0031 2044 0034).
     *
     * All other data is ignored.
     */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      internal class LegacyRedirectInterceptor : Interceptor {
        override fun intercept(chain: Interceptor.Chain): Response {
          val response = chain.proceed(chain.request())
          val code = response.code
          if (code != HTTP_TEMP_REDIRECT && code != HTTP_PERM_REDIRECT) return response
          val method = response.request.method
          if (method == "GET" || method == "HEAD") return response
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

            Encoding.PERCENT,
            '['.code,
            ']'.code,
            '{'.code,
            '}'.code,
            '|'.code,
            '^'.code,
            '\''.code,
            ';'.code,
            '='.code,
            '@'.code,
          )
          .override(
            Encoding.SKIP,
            ':'.code,
            '/'.code,
            '\\'.code,
            '?'.code,
            '#'.code,
          )
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      val result = Buffer()
      var i = 0
      while (i < address.size) {
        if (i == longestRunOffset) {
          result.writeByte(':'.code)
          i += longestRunLength
          if (i == 16) result.writeByte(':'.code)
        } else {
          if (i > 0) result.writeByte(':'.code)
          val group = address[i] and 0xff shl 8 or (address[i + 1] and 0xff)
          result.writeHexadecimalUnsignedLong(group.toLong())
          i += 2
        }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

      }
    
      /** See https://api.slack.com/methods/oauth.access. */
      public OAuthSession exchangeCode(String code, HttpUrl redirectUrl) throws IOException {
        HttpUrl url = baseUrl.newBuilder("oauth.access")
            .addQueryParameter("client_id", clientId)
            .addQueryParameter("client_secret", clientSecret)
            .addQueryParameter("code", code)
            .addQueryParameter("redirect_uri", redirectUrl.toString())
            .build();
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Viewed (1)
  9. mockwebserver/README.md

    server to create representative test cases. Or test that your code survives in
    awkward-to-reproduce situations like 500 errors or slow-loading responses.
    
    
    ### Example
    
    Use MockWebServer the same way that you use mocking frameworks like
    [Mockito](https://github.com/mockito/mockito):
    
    1. Script the mocks.
    2. Run application code.
    3. Verify that the expected requests were made.
    
    Here's a complete example:
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo("Code must be in range [1000,5000): 98724976")
        }
      }
    
      @Test fun closeReservedThrows() {
        assertFailsWith<IllegalArgumentException> {
          clientWriter.writeClose(1005, "Hello".encodeUtf8())
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Code 1005 is reserved and may not be used.")
        }
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top