Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 268 for processes (0.41 sec)

  1. src/main/java/org/codelibs/core/stream/StreamUtil.java

             * The stream is automatically closed after the function is applied.
             *
             * @param <R> The type of the result returned by the function.
             * @param stream A function that processes the stream and produces a result.
             * @return The result produced by applying the function to the stream.
             */
            public <R> R get(final Function<Stream<T>, R> stream) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

    import java.net.HttpURLConnection.HTTP_UNAVAILABLE
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.logging.Logger
    
    /**
     * Default dispatcher that processes a script of responses. Populate the script by calling
     * [enqueue].
     */
    public open class QueueDispatcher : Dispatcher() {
      protected val responseQueue: BlockingQueue<MockResponse> = LinkedBlockingQueue()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                    logger.warn("Failed to process {}", id, e);
                }
            } catch (final Exception e) {
                logger.warn("Failed to process {}", id, e);
            }
            return false;
        }
    
        /**
         * Processes thumbnail generation with a response data consumer.
         * @param id The document ID.
         * @param consumer The consumer function to process response data.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            if (available()) {
                process.run();
            } else {
                initProcesses.add(process);
            }
        }
    
        /**
         * Executes all initialization processes.
         * @param action The action to perform on each initialization process.
         */
        public static void doInitProcesses(final Consumer<? super Runnable> action) {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                    }
                }
            }
        }
    
        /**
         * Processes requests and applies character encoding conversion if needed.
         * Checks if the request path matches any configured encoding rule and
         * performs URL redirection with proper parameter encoding.
         *
         * @param request the servlet request to process
         * @param response the servlet response to use for redirection
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

                    }
                });
            } catch (final Exception e) {
                logger.warn("Failed to write a thread dump to {}", file, e);
            }
        }
    
        /**
         * Processes all thread information and sends it to the provided consumer.
         *
         * @param writer the consumer that will handle each line of thread dump output
         */
    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. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

      }
    
      override fun handle(socket: Socket) {
        val task = serviceSocketTask(socket.asBufferedSocket())
        results.add(task)
        task.run()
      }
    
      /** Returns a task that processes both request and response from [socket]. */
      private fun serviceSocketTask(socket: BufferedSocket): FutureTask<Void> {
        return FutureTask<Void> {
          socket.source.use {
            socket.sink.use {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/AbstractStreamingHasher.java

      /** Number of bytes to be filled before process() invocation(s). */
      private final int bufferSize;
    
      /** Number of bytes processed per process() invocation. */
      private final int chunkSize;
    
      /**
       * Constructor for use by subclasses. This hasher instance will process chunks of the specified
       * size.
       *
       * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
       *     must be at least 4
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                flush();
            }
            return (long) ids.length;
        };
    
        /**
         * Processes the score boosting.
         * @return The number of processed documents.
         */
        public abstract long process();
    
        /**
         * Enables this score booster.
         */
        protected void enable() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            fessConfig.getApiCorsAllowOriginList().forEach(s -> factory.add(s, this));
        }
    
        /**
         * Processes the CORS request by adding standard CORS headers to the response.
         * Headers include allowed origin, methods, headers, max age, and credentials setting.
         *
         * @param origin the origin of the request
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top