- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 262 for Fprintln (0.44 seconds)
-
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java
@DisabledOnOs(value = WINDOWS, disabledReason = "need to investigate why it fails on windows") void testProjectInheritance() throws Exception { File localRepo = getLocalRepositoryPath(); System.out.println("Local repository is at: " + localRepo.getAbsolutePath()); File pom0 = new File(localRepo, "p0/pom.xml"); File pom1 = new File(pom0.getParentFile(), "p1/pom.xml");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 04 10:35:11 GMT 2025 - 6.3K bytes - Click Count (0) -
docs/debugging/healing-bin/main.go
if err = dec.Decode(&htr); err != nil { return err } ht[file.Name] = htr } } b, err := json.MarshalIndent(ht, "", " ") if err != nil { return err } fmt.Println(string(b)) return nil } b, err := os.ReadFile(file) if err != nil { return err } buf := bytes.NewBuffer(nil) if _, err = msgp.CopyToJSON(buf, bytes.NewReader(b)); err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0) -
okhttp-coroutines/README.md
OkHttp Coroutines ================= Support for Kotlin clients using coroutines. ```kotlin val call = client.newCall(request) call.executeAsync().use { response -> withContext(Dispatchers.IO) { println(response.body?.string()) } } ``` This is implemented using `suspendCancellableCoroutine` but uses the standard Dispatcher in OkHttp. This means that by default Kotlin's Dispatchers are not used.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Nov 09 15:47:27 GMT 2023 - 609 bytes - Click Count (0) -
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliTestMain.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.1K bytes - Click Count (1) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
try { fileSystem.read(file) { put(inputStream(), RepositoryPlugin.PutOptions()) println("Deployed ${file.name}") } } catch (e: IllegalArgumentException) { if ("Jar does not have a symbolic name" in e.message!!) { println("Skipped non-OSGi dependency: ${file.name}") return } throw e } } companion object {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.handshake().cipherSuite()); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new CustomCipherSuites().run(); }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Mar 14 21:57:42 GMT 2019 - 6.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java
Headers responseHeaders = response.headers(); for (int i = 0; i < responseHeaders.size(); i++) { System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i)); } throw new IOException("Unexpected code " + response); } System.out.println(response.body().string()); } } public static void main(String... args) throws Exception {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 9.3K bytes - Click Count (0) -
impl/maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/main/java/org/apache/maven/lifecycle/test/App.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 193 bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/guide/GetExample.java
} public static void main(String[] args) throws IOException { GetExample example = new GetExample(); String response = example.run("https://raw.github.com/square/okhttp/master/README.md"); System.out.println(response); }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 1.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
} } catch (IOException e) { System.err.println("Unable determine version from JAR file: " + e.getMessage()); } return properties; } public static void showError(Logger logger, String message, Throwable e, boolean showStackTrace) { if (logger == null) { System.err.println(message); if (showStackTrace && e != null) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 7.3K bytes - Click Count (0)