- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 292 for Println (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/DocsTestPlugin.groovy
project.tasks.register('listSnippets', SnippetsTask) { group 'Docs' description 'List each snippet' defaultSubstitutions = commonDefaultSubstitutions perSnippet { println(it.toString()) } } project.tasks.register('listConsoleCandidates', SnippetsTask) { group 'Docs' description 'List snippets that probably should be marked // CONSOLE'
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt
if (response.request.header("Authorization") != null) { return null // Give up, we've already attempted to authenticate. } println("Authenticating for response: $response") println("Challenges: ${response.challenges()}") val credential = Credentials.basic("jesse", "password1") return response.request .newBuilder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt
client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") for ((name, value) in response.headers) { println("$name: $value") } println(response.body.string()) } } } fun main() { SynchronousGet().run()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt
Request .Builder() .url(HOST + path) .build() return client.newWebSocket(request, listener) } fun run() { try { val count = getTestCount() println("Test count: $count") for (number in 1..count) { runTest(number, count) } updateReports() } finally { client.dispatcher.executorService.shutdown() } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.6K bytes - Click Count (0) -
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() } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 11:30:48 GMT 2026 - 18.3K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/PreparePatchRelease.kt
versionFile.asFile.get().writeText(patchVersion) updateReleasedVersionFile(releasedVersionsFile.asFile.get(), previousReleasedVersion) println("Updated version.txt: $currentVersion -> $patchVersion") println("Updated released-versions.json with $currentVersion (buildTime: ${previousReleasedVersion.buildTime})") } private
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 2.8K bytes - Click Count (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt
val ianaSuites: IanaSuites, val orderBy: List<SuiteId>, ) { fun printGoogleSheet() { print("name") for (client in clients) { print("\t") print(client.nameAndVersion) } println() val sortedSuites = ianaSuites.suites.sortedBy { ianaSuite -> val index = orderBy.indexOfFirst { it.matches(ianaSuite) } if (index == -1) Integer.MAX_VALUE else index }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Apr 02 01:44:15 GMT 2024 - 1.6K bytes - Click Count (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) } } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.8K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPluginFuncTest.groovy
inputs.files(configurations.expandedDist) doLast { configurations.expandedDist.files.each { println "expandedRootPath " + (it.absolutePath - project.rootDir.absolutePath) it.eachFile { nested -> println "nested folder " + (nested.absolutePath - project.rootDir.absolutePath) } } } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 7.9K bytes - Click Count (0) -
android-test/src/androidDeviceTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt
call: Call, connection: Connection, ) { val sslSocket = connection.socket() as SSLSocket println("Requested " + sslSocket.sslParameters.applicationProtocols.joinToString()) println("Negotiated " + sslSocket.applicationProtocol) } }, ).build() val request = Request .Builder()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 26 07:38:51 GMT 2026 - 2.8K bytes - Click Count (0)