Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 357 for Consumer (0.06 seconds)

  1. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

        @Test
        @DisplayName("Mocked consumer receives correct NTSTATUS value")
        void testConsumerInteraction() {
            final int dosErr = 0x00010001;
            final int expectedNt = 0xc0000002;
    
            interface NtStatusConsumer {
                void consume(int ntStatus);
            }
            NtStatusConsumer mock = mock(NtStatusConsumer.class);
            findNtStatus(dosErr).ifPresent(mock::consume);
            verify(mock).consume(expectedNt);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

      private inline fun <T : Any> ResponseBody.consumeSource(
        consumer: (BufferedSource) -> T,
        sizeMapper: (T) -> Int,
      ): T {
        val contentLength = contentLength()
        if (contentLength > Int.MAX_VALUE) {
          throw IOException("Cannot buffer entire body for content length: $contentLength")
        }
    
        val bytes = source().use(consumer)
        val size = sizeMapper(bytes)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  3. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PackagingProvider.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.spi;
    
    import org.apache.maven.api.Packaging;
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.di.Named;
    
    /**
     * Service provider interface for registering custom {@link Packaging} implementations.
     * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

        /**
         * User property for enabling/disabling the consumer POM feature.
         *
         * @since 4.0.0
         */
        @Config(type = "java.lang.Boolean", defaultValue = "true")
        public static final String MAVEN_CONSUMER_POM = "maven.consumer.pom";
    
        /**
         * User property for controlling consumer POM flattening behavior.
         * When set to <code>true</code> (default), consumer POMs are flattened by removing
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LifecycleProvider.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.spi;
    
    import org.apache.maven.api.Lifecycle;
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.di.Named;
    
    /**
     * Service provider interface for registering custom {@link Lifecycle} implementations.
     * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.spi;
    
    import org.apache.maven.api.PathScope;
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.di.Named;
    
    /**
     * Service provider interface for registering custom {@link PathScope} implementations.
     * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/TypeProvider.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.spi;
    
    import org.apache.maven.api.Type;
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.di.Named;
    
    /**
     * Service provider interface for registering custom {@link Type} implementations.
     * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy

      <!-- This module was also published with a richer model, Gradle metadata,  -->
      <!-- which should be used instead. Do not delete the following line which  -->
      <!-- is to indicate to Gradle or any Gradle module metadata file consumer  -->
      <!-- that they should prefer consuming it instead. -->
      <!-- do_not_remove: published-with-gradle-metadata -->
      <modelVersion>4.0.0</modelVersion>
      <groupId>org.acme</groupId>
      <artifactId>hello-world</artifactId>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 19K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

                                consumer.accept(name, host);
                            });
                            infos.getUdpPorts().forEach((container, host) -> {
                                String name = "test.fixtures." + service + ".udp." + container;
                                theTask.getLogger().info("port mapping property: {}={}", name, host);
                                consumer.accept(name, host);
                            });
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.mylasta.direction;
    
    import java.util.List;
    import java.util.function.Consumer;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    import org.codelibs.fess.mylasta.direction.sponsor.FessActionAdjustmentProvider;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top