Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 196 for println (0.2 sec)

  1. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        val proxyServer1 = InetAddress.getByAddress("proxyServer1", byteArrayOf(127, 0, 0, 2))
        val proxyServer2 = InetAddress.getByAddress("proxyServer2", byteArrayOf(127, 0, 0, 3))
    
        println("Proxy Server 1 is ${server1.inetSocketAddress}")
        println("Proxy Server 2 is ${server2.inetSocketAddress}")
    
        // Since myproxy:8008 won't resolve, redirect with DNS to proxyServer1
        // Then redirect socket connection to server1
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. docs/bucket/versioning/README.md

            System.out.println("my-bucketname is created successfully");
          }
    
          boolean isVersioningEnabled =
              minioClient.isVersioningEnabled(
                  IsVersioningEnabledArgs.builder().bucket("my-bucketname").build());
          if (isVersioningEnabled) {
            System.out.println("Bucket versioning is enabled");
          } else {
            System.out.println("Bucket versioning is disabled");
          }
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 04 21:43:52 GMT 2023
    - 11.9K bytes
    - Viewed (1)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

            if (tlsVersions.contains(TLS_1_2)) {
              println("TLSv1.2 traffic will be logged automatically and available via wireshark")
            }
    
            if (tlsVersions.contains(TLS_1_3)) {
              println("TLSv1.3 requires an external command run before first traffic is sent")
              println("Follow instructions at https://github.com/neykov/extract-tls-secrets for TLSv1.3")
              println("Pid: ${ProcessHandle.current().pid()}")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                ex.buildResult!! to ex
            }
    
            println(buildResult.output)
    
            val richReportFile = inputBuildDir.resolve("binary-compatibility/build/japi/japi.html").apply {
                assertTrue("Rich report file doesn't exist", isFile)
            }
    
            return CheckResult(failure, scrapeRichReport(richReportFile), buildResult).apply {
                println(richReport.toText())
                block()
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

            // Minimise test flakiness due to possible race conditions with connections closing.
            // Some number of tests will report here, but not fail due to this delay.
            println("Delaying to avoid flakes")
            Thread.sleep(500L)
            println("After delay: " + connectionPool.connectionCount())
          }
    
          connectionPool.evictAll()
          assertEquals(0, connectionPool.connectionCount()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. docs/recipes.md

              if (!it.isSuccessful) throw IOException("Unexpected code $it")
    
              println("Response 2 response:          $it")
              println("Response 2 cache response:    ${it.cacheResponse}")
              println("Response 2 network response:  ${it.networkResponse}")
              return@use it.body!!.string()
            }
    
            println("Response 2 equals Response 1? " + (response1Body == response2Body))
          }
        ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

            } else if (platformSystemProperty == JDK8_ALPN_PROPERTY) {
              if (!isAlpnBootEnabled()) {
                System.err.println("Warning: ALPN Boot not enabled")
              }
            } else if (platformSystemProperty == JDK8_PROPERTY) {
              if (isAlpnBootEnabled()) {
                System.err.println("Warning: ALPN Boot enabled unintentionally")
              }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. docs/features/https.md

              if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
              for ((name, value) in response.headers) {
                println("$name: $value")
              }
    
              println(response.body!!.string())
            }
          }
    
          /**
           * Returns an input stream containing one or more certificate PEM files. This implementation just
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        private
        fun TestFileCleanUpExtension.verifyTestFilesCleanup(projectPath: String, tmpTestFiles: Map<File, List<String>>) {
            if (isAnyTestTaskFailed(projectPath)) {
                println("Leftover files: $tmpTestFiles")
                return
            }
    
            if (tmpTestFiles.isNotEmpty()) {
                val nonEmptyDirs = tmpTestFiles.entries.joinToString("\n") { (dir, relativePaths) ->
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  10. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                    assertEquals("clean ${testType}Test", functionalTests[index].getGradleTasks())
                    assertTrue(
                        functionalTests[index].getGradleParams().apply {
                            println(this)
                        }.contains("-PonlyTestGradleVersion=${startEndVersion[0]}-${startEndVersion[1]}")
                    )
                }
            }
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top