Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 918 for consume (0.1 seconds)

  1. 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);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. 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()) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/request-files.md

    Para receber arquivos enviados, primeiro instale [`python-multipart`](https://github.com/Kludex/python-multipart).
    
    Garanta que você criou um [ambiente virtual](../virtual-environments.md), o ativou e então o instalou, por exemplo:
    
    ```console
    $ pip install python-multipart
    ```
    
    Isso é necessário, visto que os arquivos enviados são enviados como "dados de formulário".
    
    ///
    
    ## Importe `File` { #import-file }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanLogger.java

            if (logger.isDebugEnabled()) {
                writePlan(logger::debug, plan, project);
            }
        }
    
        public void writePlan(Consumer<String> writer, BuildPlan plan) {
            plan.projects().forEach(project -> writePlan(writer, plan, project));
        }
    
        public void writePlan(Consumer<String> writer, BuildPlan plan, MavenProject project) {
            writer.accept("=== PROJECT BUILD PLAN ================================================");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. 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()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/SpiService.java

     * the specific service interface being implemented.
     * <p>
     * All SPI services should be annotated with {@link Consumer} to indicate they are meant to be
     * implemented by plugins and extensions rather than used by them.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/entity/QueryContext.java

                    }
                });
            }
        }
    
        /**
         * Adds function score configuration to the query builder.
         * @param functionScoreQuery Consumer that configures the function score filters.
         */
        public void addFunctionScore(final Consumer<List<FilterFunctionBuilder>> functionScoreQuery) {
            final List<FilterFunctionBuilder> list = new ArrayList<>();
            functionScoreQuery.accept(list);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        @Test
        public void test_indexFromDocuments() {
            Consumer<Boolean> successCallback = (success) -> {
                assertTrue(success);
            };
            Consumer<Throwable> errorCallback = (error) -> {
                assertNotNull(error);
            };
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverException.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public class VersionRangeResolverException extends MavenException {
    
        public VersionRangeResolverException(String message, Throwable cause) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top