- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for readn (0.08 sec)
-
src/main/java/org/codelibs/core/io/FileUtil.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
} /** * Reads some number of bytes from the input stream and stores them into the buffer array b. * * @param b the buffer into which the data is read * @return the total number of bytes read into the buffer, or -1 if there is no more data * @throws IOException if an I/O error occurs */ @Override public int read(final byte[] b) throws IOException {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
* This method delegates to {@link FileInputStream#mark(int)}. * * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid */ @Override public synchronized void mark(final int readlimit) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
/** * <p> * {@link ESSourceReader} reads documents from Elasticsearch using the scroll API. * It implements the {@link DocumentReader} interface to provide a way to iterate over documents * in a large index without loading all of them into memory at once. * </p> * * <p> * The reader supports limiting the number of documents read based on a percentage of the total documentsRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} } /** * Test that resource content is properly read using readAllBytes. * Verifies that the new implementation correctly reads entire resource content. */ @Test public void testResourceReading_readAllBytesCorrectness() throws Exception { // Read using the new method (readAllBytes) String contentNew;Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java
this.reader = reader; } /** * Executes the text processing operation on the provided reader. * * This method reads characters from the reader and processes them according to the following rules: * - ISO control characters and space characters are treated as spaces.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
default -> false; }; } /** * Processes and saves an image from the input stream to the output file as a thumbnail. * * <p>This method reads image data, validates dimensions, applies subsampling and scaling * transformations based on configuration settings, and writes the processed thumbnail * to the specified output file.</p> *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
reader.setScrollSize(1000); int count = 0; Set<String> valueSet = Collections.synchronizedSet(new HashSet<>()); Map<String, Object> source; while ((source = reader.read()) != null) { assertTrue(source.get("field1").toString().startsWith("test")); valueSet.add(source.get("field1").toString()); count++; } assertEquals(num, count);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 13:04:17 UTC 2025 - 8.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
// 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
} // Read from TemporaryFileInputStream 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());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0)