- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for Fprintln (0.33 sec)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.2K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/Main.kt
import java.io.File private val COPYRIGHT = File("license/COPYRIGHT_HEADER.txt").readText() internal fun SmartPrinter.printCopyright() { println(COPYRIGHT) println() } internal fun SmartPrinter.printGeneratedMessage() { println(GeneratorsFileUtil.GENERATED_MESSAGE) println() } fun main() { val rootPath = Paths.get("analysis/analysis-api-fir/src").toAbsolutePath()
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Nov 16 14:27:49 GMT 2023 - 1.5K bytes - Viewed (0) -
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) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/http2/Http2FlowControlConnectionListener.kt
streamId: Int, windowCounter: WindowCounter, bufferSize: Long, ) { println("${System.currentTimeMillis() - start},$streamId,${windowCounter.unacknowledged},$bufferSize") } override fun receivingConnectionWindowChanged(windowCounter: WindowCounter) { println("${System.currentTimeMillis() - start},0,${windowCounter.unacknowledged},") }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
for (i in 0 until responseHeaders.size) { println(responseHeaders.name(i) + ": " + responseHeaders.value(i)) } throw IOException("Unexpected code $response") } println(response.body.string()) for (peerCertificate in response.handshake?.peerCertificates.orEmpty()) { println((peerCertificate as X509Certificate).subjectDN) } } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.8K bytes - Viewed (5) -
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) -
samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt
client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") for (certificate in response.handshake!!.peerCertificates) { println(CertificatePinner.pin(certificate)) } } } } fun main() { CertificatePinning().run()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts
} tasks.register<UpdateReleasedVersions>("updateReleasedVersionsToLatestNightly") { currentReleasedVersion = project.provider { val jsonText = URL("https://services.gradle.org/versions/nightly").readText() println(jsonText) val versionInfo = Gson().fromJson(jsonText, VersionBuildTimeInfo::class.java) ReleasedVersion(versionInfo.version, versionInfo.buildTime) } }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Nov 29 10:17:36 GMT 2023 - 2K bytes - Viewed (0) -
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) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* * ```java * String attack = "http://example.com/static/images/../../../../../etc/passwd"; * System.out.println(new URL(attack).getPath()); * System.out.println(new URI(attack).getPath()); * System.out.println(HttpUrl.parse(attack).encodedPath()); * ``` * * By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1)