- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 761 for printTo (0.07 seconds)
-
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.7K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt
val request = createRequest() try { val response = client!!.newCall(request).execute() if (showHeaders) { println(StatusLine.get(response)) val headers = response.headers for ((name, value) in headers) { println("$name: $value") } println() } // Stream the response to the System.out as it is returned from the server. val out = System.out.sink()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.7K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java
BuildPlan plan = calculateLifecycleMappings(projects, "package"); new BuildPlanLogger().writePlan(System.out::println, plan); } @Test void testCondense() { MavenProject p1 = new MavenProject(); p1.setCollectedProjects(List.of()); p1.setArtifactId("p1");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 28 15:21:19 GMT 2025 - 7.9K bytes - Click Count (0) -
scripts/translate.py
continue missing_paths.append(p) print("Paths to skip:") for p in skipped_paths: print(f" - {p}") print(f"Total paths to skip: {len(skipped_paths)}") print("Paths to process:") for p in missing_paths: print(f" - {p}") print(f"Total paths to process: {len(missing_paths)}") for p in missing_paths: print(f"Translating: {p}")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:05:53 GMT 2025 - 34.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
// Schedule a job to cancel the call in 1 second. executor.schedule(() -> { System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f); call.cancel(); System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f); }, 1, TimeUnit.SECONDS); System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f); try (Response response = call.execute()) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 2.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/text/DecimalFormatSymbolsUtilTest.java
public void testGetDecimalFormatSymbols() throws Exception { final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(Locale.GERMAN); System.out.println("DecimalSeparator:" + symbols.getDecimalSeparator()); System.out.println("GroupingSeparator:" + symbols.getGroupingSeparator()); }
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java
* @return the overall result of all strategy executions */ public UpgradeResult executeStrategies(UpgradeContext context, Map<Path, Document> pomMap) { context.println(); context.info("Maven Upgrade Tool"); logUpgradeOptions(context); UpgradeResult overallResult = UpgradeResult.empty(); // Filter and execute applicable strategiesCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
if (response.request().header("Authorization") != null) { return null; // Give up, we've already attempted to authenticate. } System.out.println("Authenticating for response: " + response); System.out.println("Challenges: " + response.challenges()); String credential = Credentials.basic("jesse", "password1"); return response.request().newBuilder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 1.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt
.build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println("Server: ${response.header("Server")}") println("Date: ${response.header("Date")}") println("Vary: ${response.headers("Vary")}") } } } fun main() { AccessHeaders().run()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.4K 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 Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.2K bytes - Click Count (0)