Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 177 for Consume (0.14 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

        }
    
        /**
         * Processes thumbnail generation with a consumer function.
         * @param id The document ID.
         * @param consumer The consumer function to process thumbnail and config ID.
         * @return True if processing was successful, false otherwise.
         */
        protected boolean process(final String id, final BiPredicate<String, String> consumer) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

         *
         * @param src The source Bean. Must not be {@literal null}.
         * @param dest The destination Bean. Must not be {@literal null}.
         * @param option The consumer for copy options.
         */
        public static void copyBeanToBean(final Object src, final Object dest, final Consumer<CopyOptions> option) {
            copyBeanToBean(src, dest, buildCopyOptions(option));
        }
    
        /**
         * Copies properties from one Bean to another Bean.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DosErrorTest.java

            for (int dos : inputs) {
                int nt = findNtStatusOrMinusOne(dos);
                if (nt != -1) {
                    consumer.accept(dos, nt);
                }
            }
    
            // Assert: consumer called exactly for the 3 known codes, with the right arguments
            ArgumentCaptor<Integer> dosCaptor = ArgumentCaptor.forClass(Integer.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/RequestParamTest.java

            // Arrange: pick a value and a mocked consumer
            RequestParam rp = RequestParam.NO_RETRY;
    
            // Act: pass to the collaborator
            consumer.accept(rp);
    
            // Assert: interaction happened exactly once with correct argument; no other calls
            verify(consumer, times(1)).accept(RequestParam.NO_RETRY);
            verifyNoMoreInteractions(consumer);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe");
            byte[] buffer = new byte[10];
    
            // The implementation always returns 0
            int consumed = pipe.readSetupWireFormat(buffer, 0, 4);
            assertEquals(0, consumed, "readSetupWireFormat should always return 0");
        }
    
        @Test
        public void testWriteParametersWireFormat() {
            // Test that writeParametersWireFormat returns 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

            }
        }
    
        /**
         * Processes all thread information and sends it to the provided consumer.
         *
         * @param writer the consumer that will handle each line of thread dump output
         */
        public static void processThreadDump(final Consumer<String> writer) {
            for (final Map.Entry<Thread, StackTraceElement[]> entry : Thread.getAllStackTraces().entrySet()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. 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()) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/JobProcessTest.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.function.Consumer;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class JobProcessTest extends UnitFessTestCase {
    
        public void test_constructor_processOnly() throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

          Stream<A> streamA, Stream<B> streamB, BiConsumer<? super A, ? super B> consumer) {
        checkNotNull(consumer);
    
        if (streamA.isParallel() || streamB.isParallel()) {
          zip(streamA, streamB, TemporaryPair::new).forEach(pair -> consumer.accept(pair.a, pair.b));
        } else {
          Iterator<A> iterA = streamA.iterator();
          Iterator<B> iterB = streamB.iterator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.13.md

    * Fix aggressive VM calls for Azure VMSS ([#83102](https://github.com/kubernetes/kubernetes/pull/83102), [@feiskyer](https://github.com/feiskyer))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 273.1K bytes
    - Viewed (0)
Back to top