- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 362 for Println (0.1 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt
} else { if (failure != null) failures += failure } } if (failures.isNotEmpty()) { for (failure in failures) { println(failure) } throw failures.first() } } private fun testToAscii( input: String, output: String?, comment: String?, ) { val url = "https://$input/".toHttpUrlOrNull()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.build-complete.gradle
*/ import java.nio.file.Files String buildNumber = System.getenv('BUILD_NUMBER') if (buildNumber) { File uploadFile = file("build/${buildNumber}.tar.bz2") project.gradle.buildFinished { result -> println "build complete, generating: $uploadFile" if (uploadFile.exists()) { project.delete(uploadFile) } try { ant.tar(destfile: uploadFile, compression: "bzip2", longfile: "gnu") {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt
.post(requestBody) .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { /** * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.1K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
private fun TestFilesCleanupProjectState.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) ->Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateContributorsInReleaseNotes.kt
) } else { println("Contributors in the release notes are up to date.") } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sun Dec 15 07:49:41 GMT 2024 - 2K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPluginFuncTest.groovy
tasks.withType(Test).configureEach{ enabled = false } tasks.register("printYamlRestTestClasspath").configure { doLast { println sourceSets.yamlRestTest.runtimeClasspath.asPath } } """ String api = "foo.json" setupRestResources([api]) addRestTestsToProject(["10_basic.yml"], "yamlRestTest")
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 3.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
.url("https://prod.idrix.eu/secure/") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } } object ConsoleCallbackHandler : CallbackHandler { override fun handle(callbacks: Array<Callback>) { for (callback in callbacks) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 4.2K bytes - Click Count (0) -
src/bufio/example_test.go
reader := strings.NewReader(data) n, err := writer.ReadFrom(reader) if err != nil { fmt.Println("ReadFrom Error:", err) return } if err = writer.Flush(); err != nil { fmt.Println("Flush Error:", err) return } fmt.Println("Bytes written:", n) fmt.Println("Buffer contents:", buf.String()) // Output: // Bytes written: 41 // Buffer contents: Hello, world!
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy
.withTest(Input.fromString(toTest)) .build() diff.differences.each { difference -> println difference } if(diff.differences.size() > 0) { println """ given: $toTest """ println """ expected: $expected """ } assert diff.hasDifferences() == false true }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 19K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalBwcGitPluginFuncTest.groovy
tasks.register("register") { dependsOn configurations.consumeCheckout doLast { configurations.consumeCheckout.files.each { println "checkoutDir artifact: " + it } } } """ when: def result = gradleRunner(":consumer:register", '--stacktrace', "-DtestRemoteRepo=" + remoteGitRepo,Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 2.5K bytes - Click Count (0)