Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 57 for Re (0.14 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          field = protocolList
        }
    
      var started: Boolean = false
      private var shutdown: Boolean = false
    
      @Synchronized private fun before() {
        if (started) return // Don't call start() in case we're already shut down.
        try {
          start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      fun toProxyAddress(): Proxy {
        before()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        hpackWriter!!.writeHeaders(headerEntries(":authority", "foo.com"))
        assertBytes(0xbe)
        assertThat(hpackWriter!!.headerCount).isEqualTo(1)
    
        // If the :authority header somehow changes, it should be re-added to the dynamic table.
        hpackWriter!!.writeHeaders(headerEntries(":authority", "bar.com"))
        assertBytes(0x41, 7, 'b'.code, 'a'.code, 'r'.code, '.'.code, 'c'.code, 'o'.code, 'm'.code)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

        executeSynchronously("/")
          .assertFailureMatches("(?s)Hostname localhost not verified.*")
      }
    
      /**
       * Anonymous cipher suites were disabled in OpenJDK because they're rarely used and permit
       * man-in-the-middle attacks. https://bugs.openjdk.java.net/browse/JDK-8212823
       */
      @Test
      fun anonCipherSuiteUnsupported() {
        platform.assumeNotConscrypt()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

                  if (errorExceptionToDeliver == null &&
                    unacknowledgedBytesRead >= connection.okHttpSettings.initialWindowSize / 2
                  ) {
                    // Flow control: notify the peer that we're ready for more data! Only send a
                    // WINDOW_UPDATE if the stream isn't in error.
                    connection.writeWindowUpdateLater(id, unacknowledgedBytesRead)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        internal var lockingSourceCount = 0
    
        /** The sequence number of the most recently committed edit to this entry. */
        internal var sequenceNumber: Long = 0
    
        init {
          // The names are repetitive so re-use the same builder to avoid allocations.
          val fileBuilder = StringBuilder(key).append('.')
          val truncateTo = fileBuilder.length
          for (i in 0 until valueCount) {
            fileBuilder.append(i)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  6. docs/changelogs/upgrading_to_okhttp_4.md

    with Java.
    
    We spent a lot of time and energy on retaining strict compatibility with OkHttp 3.x. We’re even
    keeping the package name the same: `okhttp3`!
    
    There are three kinds of compatibility we’re tracking:
    
     * **Binary compatibility** is the ability to compile a program against OkHttp 3.x, and then to run
       it against OkHttp 4.x. We’re using the excellent [japicmp][japicmp] library via its
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/feature_request.md

    ---
    name: Feature request
    about: Suggest an idea
    title: ''
    labels: enhancement
    assignees: ''
    
    ---
    
    Start by telling us what problem you’re trying to solve. Often a solution already exists!
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 350 bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    
      companion object {
        /**
         * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running
         * these examples, please request your own client ID! https://api.imgur.com/oauth2
         */
        private const val IMGUR_CLIENT_ID = "9199fdef135c122"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

          // Fail fast if there's no response queued up.
          return failFastResponse!!
        }
    
        val result = responseQueue.take()
    
        // If take() returned because we're shutting down, then enqueue another dead letter so that any
        // other threads waiting on take() will also return.
        if (result == DEAD_LETTER) responseQueue.add(DEAD_LETTER)
    
        return result
      }
    
    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)
  10. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 starting              : task",
          "FINE: Q10000 finished run in   0 µs: task",
        )
      }
    
      /** Inspect how many runnables have been enqueued. If none then we're truly sequential. */
      @Test fun singleQueueIsSerial() {
        redQueue.execute("task one", 100.µs) {
          log += "one:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}"
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top