Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 951 for consume (0.27 seconds)

  1. guava/src/com/google/common/collect/IndexedImmutableSet.java

        return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get);
      }
    
      @Override
      public void forEach(Consumer<? super E> consumer) {
        checkNotNull(consumer);
        int n = size();
        for (int i = 0; i < n; i++) {
          consumer.accept(get(i));
        }
      }
    
      @Override
      @GwtIncompatible
      int copyIntoArray(@Nullable Object[] dst, int offset) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                final CommandLine commandLine, final String option, final Consumer<Boolean> setting) {
            if (commandLine.hasOption(option)) {
                setting.accept(false);
            }
        }
    
        private void disableOnPresentOption(
                final CommandLine commandLine, final char option, final Consumer<Boolean> setting) {
            disableOnPresentOption(commandLine, String.valueOf(option), setting);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                String reqPath = "\\\\server\\share\\path\\file";
                // Ensure consumed is within bounds to avoid StringIndexOutOfBoundsException
                consumed = Math.min(consumed, reqPath.length());
    
                referralData = DfsReferralDataImpl.fromReferral(mockReferral, reqPath, System.currentTimeMillis() + 10000, consumed);
            }
        }
    
        @Nested
        @DisplayName("Domain and Host Fixup Tests")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            String sessionId = "test_session_buffer";
            List<String> cmdList = Arrays.asList("echo", "hello world");
            Consumer<ProcessBuilder> pbCall = pb -> {
                pb.redirectErrorStream(true);
            };
    
            List<String> outputs = new ArrayList<>();
            Consumer<String> outputCallback = output -> outputs.add(output);
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

                    response.getReport().entrySet()) {
                Consumer<String> consumer = s ->
                        context.logger.info(messageBuilderFactory.builder().info(s).build());
                if (entry.getKey() == SecDispatcher.ValidationResponse.Level.ERROR) {
                    consumer = s -> context.logger.error(
                            messageBuilderFactory.builder().error(s).build());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Provider.java

     * <p>
     * A type can be marked {@link Consumer} or {@link Provider} but not both. A type is assumed to be
     * {@link Consumer} if it is not marked either {@link Consumer} or {@link Provider}.
     * <p>
     * A package can be marked {@link Provider}. In this case, all types in the package are considered
     * to be a provider type regardless of whether they are marked {@link Consumer} or {@link Provider}.
     *
     * @see Consumer
     * @since 4.0.0
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 10 21:43:27 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                fail("Should throw NullPointerException for null consumer");
            } catch (NullPointerException e) {
                // Expected behavior
            }
        }
    
        @Test
        public void test_processThreadDump_multipleThreads() {
            AtomicInteger threadCount = new AtomicInteger(0);
            AtomicInteger stackTraceCount = new AtomicInteger(0);
    
            Consumer<String> countingConsumer = line -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. docs/es/docs/deployment/docker.md

    De esta forma, los contenedores consumen **pocos recursos**, una cantidad comparable a ejecutar los procesos directamente (una máquina virtual consumiría mucho más).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  10. 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.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.5K bytes
    - Click Count (0)
Back to Top