- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for system (0.15 sec)
-
native-image-tests/src/main/kotlin/okhttp3/DotListener.kt
} fun install() { originalSystemOut = System.out originalSystemErr = System.err System.setOut(object : PrintStream(OutputStream.nullOutputStream()) {}) System.setErr(object : PrintStream(OutputStream.nullOutputStream()) {}) } fun uninstall() { originalSystemOut.let { System.setOut(it) } originalSystemErr.let { System.setErr(it) } }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 4.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
if (platformSystemProperty == JDK9_PROPERTY) { if (System.getProperty("javax.net.debug") == null) { System.setProperty("javax.net.debug", "") } } else if (platformSystemProperty == CONSCRYPT_PROPERTY) { if (Security.getProviders()[0].name != "Conscrypt") { if (!Conscrypt.isAvailable()) { System.err.println("Warning: Conscrypt not available") }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.3K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import java.io.File import java.io.PrintWriter import kotlin.system.exitProcess import org.junit.jupiter.engine.JupiterTestEngine import org.junit.platform.console.options.Theme import org.junit.platform.engine.DiscoverySelector import org.junit.platform.engine.TestDescriptor
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/AutobahnTester.kt
t: Throwable, response: Response?, ) { t.printStackTrace(System.out) latch.countDown() } }, ) check(latch.await(30, TimeUnit.SECONDS)) { "Timed out waiting for test $number to finish." } val endNanos = System.nanoTime() val tookMs = TimeUnit.NANOSECONDS.toMillis(endNanos - startNanos.get()) println("Took ${tookMs}ms") }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt
fun configureLogging( debug: Boolean, showHttp2Frames: Boolean, sslDebug: Boolean, ) { if (debug || showHttp2Frames || sslDebug) { if (sslDebug) { System.setProperty("javax.net.debug", "") } LogManager.getLogManager().reset() val handler = object : ConsoleHandler() { override fun publish(record: LogRecord) {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.7K bytes - Viewed (1) -
okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt
message == "Raw read" || message == "Raw write" -> Type.Encrypted message == "Plaintext before ENCRYPTION" || message == "Plaintext after DECRYPTION" -> Type.Plaintext message.startsWith("System property ") -> Type.Setup message.startsWith("Reload ") -> Type.Setup message == "No session to resume." -> Type.Handshake message.startsWith("Consuming ") -> Type.Handshake
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt
for (path in fileSystem.list(directory)) { deployFile(path) } } private fun RepositoryPlugin.deployClassPath() { val classpath = System.getProperty("java.class.path") val entries = classpath.split(File.pathSeparator.toRegex()) .dropLastWhile { it.isEmpty() } .toTypedArray() for (classPathEntry in entries) {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
@BeforeEach fun setUp(server: MockWebServer) { this.server = server // Default after JDK 14, but we are avoiding tests that assume special setup. // System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true") // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true") // IllegalStateException: Cannot resume session and session creation is disabled platform.assumeNotBouncyCastle()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
* [okhttp3.OkHttpClient.Builder.authenticator] or [okhttp3.OkHttpClient.Builder.proxyAuthenticator]. */ class JavaNetAuthenticator(private val defaultDns: Dns = Dns.SYSTEM) : okhttp3.Authenticator { @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? { val challenges = response.challenges()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.2K bytes - Viewed (0)