Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 1,843 for context (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractor.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.util.regex.Pattern;
    
    /**
     * Extracts text content from XML documents.
     */
    public class XmlExtractor extends AbstractXmlExtractor {
    
        /**
         * Creates a new XmlExtractor instance.
         */
        public XmlExtractor() {
            super();
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

          }
        assertFailsWith<IOException> {
          body.bytes()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "Content-Length (10) and stream length (5) disagree",
          )
        }
      }
    
      @Test
      fun bytesThrowsMoreThanIntMaxValue() {
        val body: ResponseBody =
          object : ResponseBody() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

        }
    
        /**
         * Gets the output content from the converted file.
         *
         * @param outputFile the converted output file
         * @param outExt the output file extension
         * @return the extracted text content
         * @throws ExtractException if an error occurs while reading the file
         */
        protected String getOutputContent(final File outputFile, final String outExt) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/design/DesignForm.java

         */
        public DesignForm() {
            // Default constructor with explicit documentation
        }
    
        /**
         * The multipart file containing the design content to upload.
         */
        public MultipartFormFile designFile;
    
        /**
         * The name of the design file being uploaded.
         */
        public String designFileName;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                        contentLength += title.length();
                    }
                    if (doc.get(indexFieldContent) instanceof final String content) {
                        contentLength += content.length();
                    }
                    doc.put(indexFieldContentLength, contentLength);
                }
                if (!doc.containsKey(indexFieldFavoriteCount)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                        final Map<String, String> map = new HashMap<>();
                        map.put(ExtractData.RESOURCE_NAME_KEY, filename);
                        final String content = extractor.getText(is, map).getContent();
                        writer.write(content);
                        writer.write('\n');
                    } catch (final Exception e) {
                        if (logger.isDebugEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. cmd/encryption-v1_test.go

    	defer func(flag bool) { globalIsTLS = flag }(globalIsTLS)
    	globalIsTLS = true
    	for i, test := range encryptRequestTests {
    		content := bytes.NewReader(make([]byte, 64))
    		req := &http.Request{Header: http.Header{}}
    		for k, v := range test.header {
    			req.Header.Set(k, v)
    		}
    		_, _, err := EncryptRequest(content, req, "bucket", "object", test.metadata)
    		if err != nil {
    			t.Fatalf("Test %d: Failed to encrypt request: %v", i, err)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

            val parts = header.split(':', limit = 2)
            if ("Content-Type".equals(parts[0], ignoreCase = true)) {
              return@let parts[1].trim()
            }
          }
          return@let null
        } ?: "application/x-www-form-urlencoded"
    
      return mimeType.toMediaTypeOrNull()
    }
    
    private fun isSpecialHeader(s: String): Boolean = s.equals("Content-Type", ignoreCase = true)
    
    fun Main.commonRun() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. cmd/utils_test.go

    	req.Header.Set("content-md5", "====test")
    	jsonReq := dumpRequest(req)
    	type jsonResult struct {
    		Method     string      `json:"method"`
    		RequestURI string      `json:"reqURI"`
    		Header     http.Header `json:"header"`
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            TestFilterChain chain = new TestFilterChain();
    
            manager.process(request, response, chain);
    
            assertEquals("application/json", response.getHeader("Content-Type"));
            assertEquals("no-cache", response.getHeader("Cache-Control"));
        }
    
        public void test_matches_withPatternMatching() throws IOException, ServletException {
            // Test regex pattern matching
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top