- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 420 for streams (0.87 sec)
-
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
} } @Test public void testFileBasedCacheWithEmptyFile() throws IOException { tempFile = File.createTempFile("empty", ".tmp", Curl.tmpDir); // File is created but empty ContentCache cache = new ContentCache(tempFile); try (InputStream stream = cache.getInputStream()) { assertNotNull(stream);Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
LogStream.setInstance(stream1); LogStream instance1 = LogStream.getInstance(); LogStream.setInstance(stream2); LogStream instance2 = LogStream.getInstance(); // Each setInstance should create a new LogStream assertNotNull(instance1); assertNotNull(instance2);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/stream/StreamUtil.java
* Executes the provided {@link Consumer} with a {@link Stream} obtained from the supplier. * The stream is automatically closed after the consumer is executed. * * @param stream the {@link Consumer} to process the {@link Stream} */ public void of(final Consumer<Stream<T>> stream) { try (Stream<T> s = supplier.get()) { stream.accept(s); } }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MimeTypeHelper.java
/** * MimeTypeHelper provides methods to determine the content type of a given input stream or file. * It allows content type detection based on the stream's content and/or filename. */ public interface MimeTypeHelper { /** * Determines the content type of the given input stream and filename. * @param is the input stream to analyze * @param filename the filename to help determine the content typeRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/AuthenticationManager.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java
try (TokenStream stream = createTokenStream(rd)) { if (stream == null) { throw new IOException("Invalid tokenizer."); } stream.reset(); int offset = 0; while (stream.incrementToken()) { final CharTermAttribute att = stream.getAttribute(CharTermAttribute.class);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 56.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
assertThrows(IOException.class, () -> sis.read()); } @Test @DisplayName("Available returns underlying stream available when no message buffered") void availableReturnsUnderlyingWhenNoMessage() throws IOException { // Mock input stream that reports available bytes InputStream mockIn = mock(InputStream.class); when(mockIn.available()).thenReturn(42);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream); // Read some data assertEquals('T', stream.read()); // Close should be ignored stream.close(); // Should still be able to read assertEquals('e', stream.read()); assertEquals('s', stream.read()); assertEquals('t', stream.read()); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java
try (TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile)) { assertEquals('T', stream.read()); assertEquals('e', stream.read()); assertEquals('s', stream.read()); assertEquals('t', stream.read()); assertEquals(' ', stream.read()); assertEquals('d', stream.read()); assertEquals('a', stream.read());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0)