- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 586 for printnl (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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 Apr 03 11:42:14 GMT 2026 - 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 Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 7.3K bytes - Click Count (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()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.4K 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 Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
* Function<Integer, Double> sqrt = (Integer in) -> Math.sqrt((int) in); * Map<String, Double> transformed = Maps.transformValues(map, sqrt); * System.out.println(transformed); * } * * ... prints {@code {a=2.0, b=3.0}}. * * <p>Changes in the underlying map are reflected in this view. Conversely, this view supports * removal operations, and these are reflected in the underlying map.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
* Function<Integer, Double> sqrt = (Integer in) -> Math.sqrt((int) in); * Map<String, Double> transformed = Maps.transformValues(map, sqrt); * System.out.println(transformed); * } * * ... prints {@code {a=2.0, b=3.0}}. * * <p>Changes in the underlying map are reflected in this view. Conversely, this view supports * removal operations, and these are reflected in the underlying map.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java
final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd HH:mm:ss"); final java.sql.Timestamp result = (java.sql.Timestamp) converter.getAsObject("2008/12/31 12:34:56"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/12/31 12:34:56")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.6K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts
doLast { val jsonText = URI("https://services.gradle.org/versions/$label").toURL().readText() val versionInfo = Gson().fromJson(jsonText, VersionDownloadInfo::class.java) println("updating wrapper to $label version: ${versionInfo.version} (downloadUrl: ${versionInfo.downloadUrl})") wrapperTask.get().distributionUrl = versionInfo.downloadUrl } } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Sep 17 08:58:33 GMT 2024 - 1.4K 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 Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 14 21:57:42 GMT 2019 - 6.5K bytes - Click Count (0)