- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 187 for streams (1.68 sec)
-
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
verify(tree, times(2)).acquire(); } @Test @DisplayName("getInput/getOutput return cached streams when open; throw when closed") void getInputOutput_caching_and_closed() throws Exception { // Arrange: minimal stubs so stream construction works SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo"); when(pipe.ensureTreeConnected()).thenReturn(tree);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
assertNotNull(is1, "Default input stream should not be null"); assertNotNull(is2, "Input stream with sharing should not be null"); assertNotNull(is3, "Input stream with full params should not be null"); assertSame(mockInputStream, is1, "Should return expected input stream"); assertSame(mockInputStream, is2, "Should return expected input stream");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
this.processDestroyTimeout = processDestroyTimeout; } /** * Sets the timeout for stream closing operations. * * @param streamCloseTimeout timeout in seconds for stream closing operations */ public void setStreamCloseTimeout(final int streamCloseTimeout) { this.streamCloseTimeout = streamCloseTimeout; } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 06:54:47 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
} } return (int) (this.fp - start); } } /** * This stream class is unbuffered. Therefore this method will always * return 0 for streams connected to regular files. However, a * stream created from a Named Pipe this method will query the server using a * "peek named pipe" operation and return the number of available bytesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java
}); }); } /** * Download the stemmer override dictionary file. * Streams the dictionary file as an octet-stream download. * * @param form The download form containing dictionary ID * @return Action response with file stream for download */ @Execute @Secured({ ROLE, ROLE + VIEW }) public ActionResponse download(final DownloadForm form) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
return parseContext; } /** * Returns an input stream from a deferred file output stream. * * @param dfos A deferred file output stream. * @return An input stream. * @throws IOException if an I/O error occurs. */ protected InputStream getContentStream(final DeferredFileOutputStream dfos) throws IOException {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 30.8K bytes - Viewed (0) -
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/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) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
queryBuf.append(escapeQuery(query)); } stream(params.getExtraQueries()) .of(stream -> stream.filter(q -> StringUtil.isNotBlank(q) && q.length() <= maxQueryLength).forEach(q -> { appendQuery(queryBuf, q); })); stream(params.getFields()).of(stream -> stream.forEach(entry -> { final String key = entry.getKey();
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java
*/ package org.codelibs.fess.app.web.admin.dataconfig; import static org.codelibs.core.stream.StreamUtil.split; import static org.codelibs.core.stream.StreamUtil.stream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 19.2K bytes - Viewed (0)