Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Mitake (0.18 sec)

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

       *
       * @param eventClass a class to assert that the returned event is an instance of, or null to
       *     take any event class.
       * @param elapsedMs the time in milliseconds elapsed since the immediately-preceding event, or
       *     -1L to take any duration.
       */
      fun takeEvent(
        eventClass: Class<out ConnectionEvent>? = null,
        elapsedMs: Long = -1L,
      ): ConnectionEvent {
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

        fullBuffer.read(bytesOut, lastFrame.start + length)
        outFrames.add(OutFrame(lastFrame.sequence, lastFrame.start, true))
        return writer
      }
    
      fun takeFrame(): InFrame = inFrames.take()
    
      fun play() {
        check(serverSocket == null)
        serverSocket = ServerSocket()
        serverSocket!!.reuseAddress = false
        serverSocket!!.bind(InetSocketAddress("localhost", 0), 1)
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

    /**
     * Logs SSL keys to a log file, allowing Wireshark to decode traffic and be examined with http2
     * filter. The approach is to hook into JSSE log events for the messages between client and server
     * during handshake, and then take the agreed masterSecret from private fields of the session.
     *
     * Copy WireSharkKeyLoggerListener to your test code to use in development.
     *
     * This logs TLSv1.2 on a JVM (OpenJDK 11+) without any additional code.  For TLSv1.3
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          if (rule[0][0] == EXCEPTION_MARKER) {
            // Exception rules hold the effective TLD plus one.
            domainLabels.size - rule.size
          } else {
            // Otherwise the rule is for a public suffix, so we must take one more label.
            domainLabels.size - (rule.size + 1)
          }
    
        return splitDomain(domain).asSequence().drop(firstLabelOffset).joinToString(".")
      }
    
      private fun splitDomain(domain: String): List<String> {
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/DuplexTest.kt

                },
              )
              .build(),
          )
        call.execute().use { response ->
          assertThat(response.body.string()).isEqualTo("success!")
        }
        body.awaitSuccess()
        assertThat(log.take()!!)
          .contains("StreamResetException: stream was reset: CANCEL")
      }
    
      /**
       * We delay sending the last byte of the request body 1500 ms. The 1000 ms read timeout should
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * forever.
       *
       * @return the head of the request queue
       */
      @Throws(InterruptedException::class)
      fun takeRequest(): RecordedRequest = requestQueue.take()
    
      /**
       * Awaits the next HTTP request (waiting up to the specified wait time if necessary), removes it,
       * and returns it. Callers should use this to verify the request was sent as intended within the
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  7. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    misato.shimane.jp misato.wakayama.jp misawa.aomori.jp misconfused.org mishima.fukushima.jp mishima.shizuoka.jp missile.museum missoula.museum misugi.mie.jp mit mitaka.tokyo.jp mitake.gifu.jp mitane.akita.jp mito.ibaraki.jp mitou.yamaguchi.jp mitoyo.kagawa.jp mitsubishi mitsue.nara.jp mitsuke.niigata.jp miura.kanagawa.jp miyada.nagano.jp miyagi.jp miyake.nara.jp miyako.fukuoka.jp miyako.iwate.jp miyakonojo.miyazaki.jp miyama.fukuoka.jp miyama.mie.jp miyashiro.saitama.jp miyawaka.fukuoka.jp miyazaki.jp miyazaki.miyazaki.jp...
    Others
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
     * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to
     * configure the factory when sample values impact the correctness of the test.
     */
    class TestValueFactory : Closeable {
      var taskFaker: TaskFaker = TaskFaker()
      var taskRunner: TaskRunner = taskFaker.taskRunner
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

        recurrence: Boolean,
      ): Boolean {
        task.initQueue(this)
    
        val now = taskRunner.backend.nanoTime()
        val executeNanoTime = now + delayNanos
    
        // If the task is already scheduled, take the earlier of the two times.
        val existingIndex = futureTasks.indexOf(task)
        if (existingIndex != -1) {
          if (task.nextExecuteNanoTime <= executeNanoTime) {
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  10. docs/contribute/concurrency.md

    ### Holding multiple locks
    
    You're allowed to take the Http2Connection lock while holding the Http2Writer lock. But not vice-versa. Because taking the Http2Writer lock can block.
    
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
Back to top