Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for to_string (0.16 sec)

  1. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

        // https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html
        System.setOut(PrintStream(capturedOut))
      }
    
      @AfterEach
      fun checkForPinning() {
        assertThat(capturedOut.toString()).isEmpty()
      }
    
      private fun newVirtualThreadPerTaskExecutor(): ExecutorService {
        return Executors::class.java.getMethod("newVirtualThreadPerTaskExecutor").invoke(null) as ExecutorService
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 11:15:46 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       * "h2".
       *
       * See also [IANA tls-extensiontype-values][iana].
       *
       * [iana]: https://www.iana.org/assignments/tls-extensiontype-values
       */
      override fun toString(): String = protocol
    
      companion object {
        /**
         * Returns the protocol identified by `protocol`.
         *
         * @throws IOException if `protocol` is unknown.
         */
        @JvmStatic
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:33 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  3. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        }
      }
    
      private fun buildRequest(
        hostname: String,
        type: Int,
      ): Request =
        Request.Builder().header("Accept", DNS_MESSAGE.toString()).apply {
          val query = DnsRecordCodec.encodeQuery(hostname, type)
    
          if (post) {
            url(url)
              .cacheUrlOverride(
                url.newBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        redQueue.execute("task one", 100.µs) {
          // Do nothing.
        }
    
        redQueue.execute("task two", 200.µs) {
          // Do nothing.
        }
    
        assertThat(redQueue.scheduledTasks.toString()).isEqualTo("[task one, task two]")
    
        assertThat(testLogHandler.takeAll()).containsExactly(
          "FINE: Q10000 scheduled after 100 µs: task one",
          "FINE: Q10000 scheduled after 200 µs: task two",
        )
    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