- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 361 for inputstream (0.67 sec)
-
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} } /** * Test that try-with-resources handles null InputStream correctly. * Verifies that null InputStream doesn't cause NullPointerException during close. */ @Test public void testTryWithResources_nullInputStreamSafety() { // This test demonstrates that try-with-resources handles null safely try (InputStream is = null) { if (is == null) {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java
merger.merge(pt, null, null); merger.merge(null, pt, null); } @Test void testMergeJdk() throws Exception { try (InputStream isDominant = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml"); InputStream isRecessive = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml")) { PersistedToolchains dominant = read(isDominant);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.helper; import java.io.InputStream; import org.codelibs.core.io.CloseableUtil; import org.codelibs.fess.crawler.container.StandardCrawlerContainer; import org.codelibs.fess.crawler.entity.RobotsTxt; import org.dbflute.utflute.core.PlainTestCase;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java
} } /** * Helper method to create a trackable input stream that records when it's closed. */ private InputStream createTrackableInputStream(final InputStream originalStream, final AtomicBoolean closedFlag) { return new InputStream() { @Override public int read() throws IOException { return originalStream.read(); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java
package org.codelibs.fess.crawler.processor.impl; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.codelibs.core.exception.IORuntimeException; import org.codelibs.fess.crawler.container.CrawlerContainer;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 12K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
*/ package com.google.common.io; import static com.google.common.truth.Truth.assertThat; 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 NoklebergRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
} /** * Wraps a {@link InputStream}, limiting the number of bytes which can be read. * * @param in the input stream to be wrapped * @param limit the maximum number of bytes to be read * @return a length-limited {@link InputStream} * @since 14.0 (since 1.0 as com.google.common.io.LimitInputStream) */ @J2ktIncompatible public static InputStream limit(InputStream in, long limit) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/MultiInputStream.java
import java.io.IOException; import java.io.InputStream; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** * An {@link InputStream} that concatenates multiple substreams. At most one stream will be open at * a time. * * @author Chris Nokleberg * @since 1.0 */ @J2ktIncompatible @GwtIncompatible final class MultiInputStream extends InputStream {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
throw new IORuntimeException(e); } } /** * Resets the {@link InputStream}. * * @param is the input stream (must not be {@literal null}) * @see InputStream#reset() */ public static void reset(final InputStream is) { assertArgumentNotNull("is", is); try { is.reset(); } catch (final IOException e) {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0)