Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Consume (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    - `validateInputStream()` method behavior
    - Exception types and messages
    - Stream consumption (should not consume)
    - Consistency across multiple calls
    
    **Test Count**: 11 tests
    
    **Key Scenarios**:
    - ✅ Validates non-null streams
    - ✅ Throws CrawlerSystemException for null
    - ✅ Called during getText execution
    - ✅ Does not consume or modify stream
    - ✅ Consistent behavior across multiple calls
    - ✅ Works with various InputStream types
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

                assertTrue("Exception message should mention 'null'", message.toLowerCase().contains("null"));
            }
        }
    
        /**
         * Test that validateInputStream does not modify or consume the stream.
         */
        public void test_validateInputStream_doesNotConsumeStream() throws Exception {
            final byte[] testData = "test data for validation".getBytes();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

        @Min(-1)
        @Max(1000)
        @ValidateTypeFailure
        public Integer dayForCleanup;
    
        /**
         * Number of threads to use for crawling operations.
         * Higher values increase crawling speed but consume more resources.
         */
        @Required
        @Min(0)
        @Max(100)
        @ValidateTypeFailure
        public Integer crawlingThreadCount;
    
        /**
         * Enable or disable search query logging.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharStreams.java

       * or all lines have been read and returning the result produced by the processor. Does not close
       * {@code readable}. Note that this method may not fully consume the contents of {@code readable}
       * if the processor stops processing early.
       *
       * <p><b>Users who can use {@code Stream}:</b> If your input is a {@link Reader}, consider
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

        delayBeforeTrailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun delayBeforeTrailersHttp2() {
        trailers(Protocol.HTTP_2)
      }
    
      /** Confirm the client will block if necessary to consume trailers. */
      private fun delayBeforeTrailers(protocol: Protocol) {
        enableProtocol(protocol)
    
        server.enqueue(
          MockResponse
            .Builder()
            .trailers(headersOf("t1", "v2"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 08 21:45:04 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

       *   -X PUT \
       *   -H 'Authorization: Bearer token' \
       *   --data '{\"key\":\"value\"}'
       * ```
       *
       * **Note:** This will consume the request body. This may have side effects if the [RequestBody]
       * is streaming or can be consumed only once.
       */
      @JvmOverloads
      fun toCurl(includeBody: Boolean = true): String =
        buildString {
          append("curl ${url.toString().shellEscape()}")
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
  7. guava/src/com/google/common/collect/Iterables.java

       * @return a view of the supplied iterable that wraps each generated iterator through {@link
       *     Iterators#consumingIterator(Iterator)}; for queues, an iterable that generates iterators
       *     that return and consume the queue's elements in queue order
       * @see Iterators#consumingIterator(Iterator)
       * @since 2.0
       */
      public static <T extends @Nullable Object> Iterable<T> consumingIterable(Iterable<T> iterable) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.35.md

      - `requests.deviceclass.resource.k8s.io/<deviceclass>` is charged based on the worst-case number of devices requested.
      - Device classes mapping to an extended resource now consume `requests.<extended resource name>`. ([#134210](https://github.com/kubernetes/kubernetes/pull/134210), [@yliaog](https://github.com/yliaog)) [SIG API Machinery, Apps, Node, Scheduling and Testing]
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 17 13:01:55 UTC 2025
    - 228.5K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

        /**
         * Sets an attribute value from search results using a Consumer.
         *
         * @param result the list of search results
         * @param name the attribute name
         * @param consumer the Consumer to process the attribute value
         */
        protected void setAttributeValue(final List<SearchResult> result, final String name, final Consumer<Object> consumer) {
            final List<Object> attrList = getAttributeValueList(result, name);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 86.3K bytes
    - Viewed (0)
Back to top