Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Pounds (7.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

          24, 26, 23, 26, 27, 26, 26, 27, 27, 27, 27, 27, 28, 27, 27, 27, 27, 27, 26,
        )
    
      private val root = Node()
    
      init {
        for (i in CODE_BIT_COUNTS.indices) {
          addCode(i, CODES[i], CODE_BIT_COUNTS[i].toInt())
        }
      }
    
      @Throws(IOException::class)
      fun encode(
        source: ByteString,
        sink: BufferedSink,
      ) {
        var accumulator = 0L
    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)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

      /** Confirm that the thread does not hold a lock on `lock` during the callback. */
      fun forbidLock(lock: Any) {
        forbiddenLocks.add(lock)
      }
    
      /**
       * Removes recorded events up to (and including) an event is found whose class equals [eventClass]
       * and returns it.
       */
      fun <T : ConnectionEvent> removeUpToEvent(eventClass: Class<T>): T {
        val fullEventSequence = eventSequence.toList()
        try {
          while (true) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

            testCase.headersList,
            hpackReader.getAndResetHeaderList(),
          )
        }
      }
    
      companion object {
        /**
         * Reads all stories in the folders provided, asserts if no story found.
         */
        @JvmStatic
        protected fun createStories(interopTests: Array<String>): List<Any> {
          if (interopTests.isEmpty()) return listOf<Any>(Story.MISSING)
    
          val result = mutableListOf<Any>()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        } catch (FileNotFoundException e) {
          return new MockResponse()
              .setStatus("HTTP/1.1 404")
              .addHeader("content-type: text/plain; charset=utf-8")
              .setBody("NOT FOUND: " + path);
        } catch (IOException e) {
          return new MockResponse()
              .setStatus("HTTP/1.1 500")
              .addHeader("content-type: text/plain; charset=utf-8")
              .setBody("SERVER ERROR: " + e);
        }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Jan 02 02:50:44 GMT 2019
    - 4.7K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_4x.md

        are currently being read or written. On Windows the file system forbids this so we must be more
        careful when deleting and renaming files.
    
     *  Fix: Don't crash on Java 8u252 which introduces an API previously found only on Java 9 and
        above. See [Jetty's overview][jetty_8_252] of the API change and its consequences.
    
     *  New: `MultipartReader` is a streaming decoder for [MIME multipart (RFC 2045)][rfc_2045]
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

      queue: TaskQueue,
      message: String,
    ) {
      fine("${queue.name} ${String.format("%-22s", message)}: ${task.name}")
    }
    
    /**
     * Returns a duration in the nearest whole-number units like "999 µs" or "  1 s ". This rounds 0.5
     * units away from 0 and 0.499 towards 0. The smallest unit this returns is "µs"; the largest unit
     * it returns is "s". For values in [-499..499] this returns "  0 µs".
     *
    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)
  7. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

      @Test fun testInvalidParse() {
        assertInvalid("", "No subtype found for: \"\"")
        assertInvalid("/", "No subtype found for: \"/\"")
        assertInvalid("text", "No subtype found for: \"text\"")
        assertInvalid("text/", "No subtype found for: \"text/\"")
        assertInvalid("te<t/plain", "No subtype found for: \"te<t/plain\"")
        assertInvalid(" text/plain", "No subtype found for: \" text/plain\"")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    Keeping the project small and stable limits our ability to accept new contributors. We are not
    seeking new committers at this time, but some small contributions are welcome.
    
    If you've found a security problem, please follow our [bug bounty][security] program.
    
    If you've found a bug, please contribute a failing test case so we can study and fix it.
    
    If you have a new feature idea, please build it in an external library. There are
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (0)
  9. docs/contribute/contributing.md

    Keeping the project small and stable limits our ability to accept new contributors. We are not
    seeking new committers at this time, but some small contributions are welcome.
    
    If you've found a security problem, please follow our [bug bounty][security] program.
    
    If you've found a bug, please contribute a failing test case so we can study and fix it.
    
    If you have a new feature idea, please build it in an external library. There are
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (1)
  10. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

        val requestLine = request.requestLine
        if (requestLine == "GET /favicon.ico HTTP/1.1") {
          logger.info("served $requestLine")
          return MockResponse(code = HttpURLConnection.HTTP_NOT_FOUND)
        }
    
        if (failFastResponse != null && responseQueue.peek() == null) {
          // Fail fast if there's no response queued up.
          return failFastResponse!!
        }
    
        val result = responseQueue.take()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top