- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 32 for Processor (0.07 seconds)
-
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java
try (RankFusionProcessor processor = new RankFusionProcessor()) { processor.setSearcher(new TestSearcher(100)); processor.register(new TestSearcher(0)); // Empty searcher processor.register(new TestSearcher(50)); // Half-full searcher processor.init();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java
try (RankFusionProcessor processor = new RankFusionProcessor()) { processor.setSearcher(new TestSearcher(100)); processor.register(new NullDocumentSearcher()); processor.init(); // Should handle null documents gracefully final List<Map<String, Object>> results = processor.search("*", new TestSearchRequestParams(0, 10, 0), OptionalThing.empty());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java
final CountDownLatch endLatch = new CountDownLatch(numThreads); final AtomicInteger registeredCount = new AtomicInteger(0); try (RankFusionProcessor processor = new RankFusionProcessor()) { processor.setSearcher(new TestSearcher(100)); processor.init(); final ExecutorService executor = Executors.newFixedThreadPool(numThreads); try { for (int i = 0; i < numThreads; i++) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 13.5K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
CurlRequest.RequestProcessor processor1 = new CurlRequest.RequestProcessor("UTF-8", 1024); CurlRequest.RequestProcessor processor2 = new CurlRequest.RequestProcessor("ISO-8859-1", 2048); CurlRequest.RequestProcessor processor3 = new CurlRequest.RequestProcessor("UTF-16", 512); assertNotNull(processor1.getResponse()); assertNotNull(processor2.getResponse());
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
* @return The query class name. */ protected abstract String getQueryClassName(); /** * Registers this query command with the query processor. * Associates this command with its query class name in the processor. */ public void register() { ComponentUtil.getQueryProcessor().add(getQueryClassName(), this); } /** * Gets the query field configuration.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 11:39:05 GMT 2025 - 11.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSource.java
* processor} throws an {@code IOException} * @since 16.0 */ @CanIgnoreReturnValue // some processors won't return a useful result @ParametricNullness public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException { checkNotNull(processor); Closer closer = Closer.create(); try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharStreams.java
} /** * Streams lines from a {@link Readable} object, stopping when the processor returns {@code false} * or all lines have been read and returning the result produced by the processor. Does not close * {@code readable}. Note that this method may not fully consume the contents of {@code readable} * if the processor stops processing early. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
return processedBytes; } }; source.read(processor); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); assertArrayEquals(bytes, processedBytes); } public void testRead_withProcessor_stopsOnFalse() throws IOException { ByteProcessor<@Nullable Void> processor = new ByteProcessor<@Nullable Void>() { boolean firstCall = true;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
} }; File asciiFile = getTestFile("ascii.txt"); byte[] result = Files.readBytes(asciiFile, processor); assertEquals(Bytes.asList(Files.toByteArray(asciiFile)), Bytes.asList(result)); } public void testReadBytes_returnFalse() throws IOException { ByteProcessor<byte[]> processor = new ByteProcessor<byte[]>() { private final ByteArrayOutputStream out = new ByteArrayOutputStream();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSource.java
@ParametricNullness public <T extends @Nullable Object> T read(ByteProcessor<T> processor) throws IOException { checkNotNull(processor); Closer closer = Closer.create(); try { InputStream in = closer.register(openStream()); return ByteStreams.readBytes(in, processor); } catch (Throwable e) { throw closer.rethrow(e); } finally {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.7K bytes - Click Count (0)