- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 420 for streams (0.24 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java
assertTrue("validateInputStream should be called", extractor.isValidateCalled()); assertSame("Should validate the same stream instance", in, extractor.getLastValidatedStream()); } /** * Test that getText throws exception when null stream is provided. * Note: validateInputStream throws the exception, so the validateCalled flagRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.4K bytes - Viewed (0) -
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/main/java/jcifs/smb/SmbPipeInputStream.java
protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { return this.handle.ensureOpen(); } /** * 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 bytes * on the server.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K 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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
**Key Scenarios**: - ✅ Validates non-null streams - ✅ Throws CrawlerSystemException for null - ✅ Called during getText execution - ✅ Does not consume or modify stream - ✅ Consistent behavior across multiple calls - ✅ Works with various InputStream types --- ### 5. TextExtractorEnhancedTest.java **Purpose**: Test TextExtractor improvements and encoding handling. **Key Test Areas**: - Improved error messages with encoding
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
response.off += n; } while (len > 0 && n == r); return (int) (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 16 01:32:48 UTC 2025 - 9.4K 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)