Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,771 for content1 (0.05 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            ResponseData data = new ResponseData();
    
            byte[] content = "Test content".getBytes(StandardCharsets.UTF_8);
            data.setResponseBody(content);
    
            assertTrue(data.hasResponseBody());
            assertNotNull(data.getResponseBody());
    
            try (InputStream is = data.getResponseBody()) {
                byte[] buffer = new byte[content.length];
                int bytesRead = is.read(buffer);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

      final transient ObjectCountHashMap<E> contents;
      private final transient int size;
    
      @LazyInit private transient @Nullable ImmutableSet<E> elementSet;
    
      RegularImmutableMultiset(ObjectCountHashMap<E> contents) {
        this.contents = contents;
        long size = 0;
        for (int i = 0; i < contents.size(); i++) {
          size += contents.getValue(i);
        }
        this.size = Ints.saturatedCast(size);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

    import org.opensearch.core.xcontent.MediaType;
    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.core.xcontent.XContentHelper;
    import org.opensearch.search.SearchHit;
    
    /**
     * Utility class for search engine operations and content formatting.
     * Provides helper methods for working with XContent builders, scrolling through search results,
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

        /**
         * Extracts the token value from the content using the given pattern.
         * @param tokenPattern The regex pattern.
         * @param content The content to search.
         * @return The extracted token value.
         */
        protected String getTokenValue(final String tokenPattern, final String content) {
            final Matcher matcher = Pattern.compile(tokenPattern).matcher(content);
            if (matcher.find()) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 14.3K bytes
    - Click Count (1)
  5. CLAUDE.md

    - `CurlTest`: Tests for static factory methods and basic HTTP operations
    - `CurlRequestTest`: Tests for request builder, headers, parameters, body content, SSL, proxies, timeouts
    - `CurlResponseTest`: Tests for response handling, status codes, content retrieval, resource management
    - `CurlExceptionTest`: Tests for exception handling and error scenarios
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

        }
    
        /**
         * Append content to the message buffer.
         *
         * @param value the content to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder a(char[] value) {
            return append(String.valueOf(value));
        }
    
        /**
         * Append content to the message buffer.
         *
         * @param value the content to append
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Nov 02 09:29:52 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            String extention;
            String content;
            if (File.separator.equals("/")) {
                // Unix
                extention = ".sh";
                content = "#!/bin/bash\nsleep " + sleep + ";cp $1 $2";
            } else {
                // Windows
                extention = ".bat";
                content = "ping localhost -n " + sleep + "\r\ncopy %1 %2";
            }
            File file;
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsExcelExtractorTest.java

        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/msoffice/test.xls");
            final String content = msExcelExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_null() {
            try {
                msExcelExtractor.getText(null, null);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsPowerPointExtractorTest.java

        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/msoffice/test.ppt");
            final String content = msPowerPointExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_null() {
            try {
                msPowerPointExtractor.getText(null, null);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_additional_responses/test_tutorial001.py

                "/items/{item_id}": {
                    "get": {
                        "responses": {
                            "404": {
                                "description": "Not Found",
                                "content": {
                                    "application/json": {
                                        "schema": {"$ref": "#/components/schemas/Message"}
                                    }
                                },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top