- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 141 for InputStream (0.07 sec)
-
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
try (InputStream is = ResourceUtil.getResourceAsStream(url)) { return new String(InputStreamUtil.getBytes(is), Constants.UTF_8); } catch (IOException e) { throw new IORuntimeException(e); } } else if (url.contains("plugin/repo2")) { try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 22.1K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
val inputStream = connection.getInputStream() assertThat(inputStream.read()).isEqualTo('A'.code) assertThat(inputStream.read()).isEqualTo('B'.code) assertThat(inputStream.read()).isEqualTo('C'.code) assertThat(inputStream.read()).isEqualTo('D'.code) assertThat(inputStream.read()).isEqualTo('E'.code) assertThat(inputStream.read()).isEqualTo('F'.code)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
import com.google.common.testing.ForwardingWrapperTester; import com.google.common.testing.NullPointerTester; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.InputStream; import java.nio.charset.Charset; import java.util.concurrent.TimeUnit; import java.util.regex.Pattern; import junit.framework.AssertionFailedError; import junit.framework.TestCase;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
// Regression test for case where DecodingException was swallowed by default implementation // of // InputStream.read(byte[], int, int) // See https://github.com/google/guava/issues/3542 Reader reader = new StringReader(cannotDecode); InputStream decodingStream = encoding.decodingStream(reader); try { ByteStreams.exhaust(decodingStream);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* try (ContentCache cache = new ContentCache(data)) { * InputStream inputStream = cache.getInputStream(); * // Read from inputStream * } * * // File-based caching * File file = new File("example.txt"); * try (ContentCache cache = new ContentCache(file)) { * InputStream inputStream = cache.getInputStream(); * // Read from inputStream * } * } * </pre> * */
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
* limitations under the License. */ package com.google.common.io; import java.io.ByteArrayInputStream; import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.jspecify.annotations.NullUnmarked; /** * Test class for {@link MultiInputStream}. * * @author Chris Nokleberg
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.6K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val inputStream = connection!!.getInputStream() assertThat(inputStream!!.read()).isEqualTo('A'.code) assertThat(inputStream.read()).isEqualTo('B'.code) assertThat(inputStream.read()).isEqualTo('C'.code) assertThat(inputStream.read()).isEqualTo('D'.code) assertThat(inputStream.read()).isEqualTo('E'.code) assertThat(inputStream.read()).isEqualTo('F'.code)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/unit/TestSystemProperties.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.unit; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import org.codelibs.core.misc.DynamicProperties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Test implementation of system properties that loads from classpath
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.Closeable; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.List;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
/** * Wraps the input stream with a {@link BufferedInputStream} if necessary. * * @param is the input stream * @return the wrapped input stream */ protected static InputStream wrap(final InputStream is) { if (is instanceof BufferedInputStream) { return is; } if (is instanceof ByteArrayInputStream) { return is; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 45.2K bytes - Viewed (0)