- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,778 for printing (0.03 sec)
-
guava/src/com/google/common/io/Resources.java
* @throws IOException if an I/O error occurs */ public static void copy(URL from, OutputStream to) throws IOException { asByteSource(from).copyTo(to); } /** * Returns a {@code URL} pointing to {@code resourceName} if the resource is found using the * {@linkplain Thread#getContextClassLoader() context class loader}. In simple environments, the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java
* you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
final String s = MessageFormatter.getMessage("EMSG0000"); System.out.println(s); assertThat(s, is("[EMSG0000]test")); } /** * @throws Exception */ @Test public void testGetMessageWithArgs() throws Exception { final String s = MessageFormatter.getMessage("EMSG0001", "hoge"); System.out.println(s); assertThat(s, is("[EMSG0001]hogeが見つかりません")); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt
.newBuilder() .readTimeout(500, TimeUnit.MILLISECONDS) .build() try { client1.newCall(request).execute().use { response -> println("Response 1 succeeded: $response") } } catch (e: IOException) { println("Response 1 failed: $e") } // Copy to customize OkHttp for this request. val client2 = client .newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java
.readTimeout(500, TimeUnit.MILLISECONDS) .build(); try (Response response = client1.newCall(request).execute()) { System.out.println("Response 1 succeeded: " + response); } catch (IOException e) { System.out.println("Response 1 failed: " + e); } // Copy to customize OkHttp for this request. OkHttpClient client2 = client.newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/IndexedIterator.java
* System.out.println(indexed.getIndex()); * System.out.println(indexed.getElement()); * } * </pre> * * <pre> * import static org.codelibs.core.collection.IndexedIterator.*; * import static org.codelibs.core.io.LineIterator.*; * * BufferedReader reader = ...; * for (Indexed<String> indexed : indexed(iterable(reader))) { * System.out.println(indexed.getIndex());
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.3K bytes - Viewed (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()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 1.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt
if (!testData.scheme.isEmpty() && !HTTP_URL_SCHEMES.contains(testData.scheme)) { System.err.println("Ignoring unsupported scheme ${testData.scheme}") return } if (!testData.base!!.startsWith("https:") && !testData.base!!.startsWith("http:") && testData.base != "about:blank" ) { System.err.println("Ignoring unsupported base ${testData.base}") return } try {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
try { ResourceUtil.getResource("hoge", "xml"); fail("2"); } catch (final ResourceNotFoundRuntimeException e) { System.out.println(e); assertEquals("3", "hoge.xml", e.getPath()); } System.out.println(ResourceUtil.getResource(".")); } /** * @throws Exception */ public void testGetResourceAsStreamNoException() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt
/** * Validates which environment is used by the IDE. */ class PlatformRuleTest { @RegisterExtension @JvmField val platform = PlatformRule() @Test fun testMode() { println(PlatformRule.getPlatformSystemProperty()) println(Platform.get().javaClass.simpleName) } @Test fun testGreenCase() { } @Test fun testGreenCaseFailingOnLater() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 1.3K bytes - Viewed (0)