Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 4,383 for patch (0.03 seconds)

  1. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

         *
         * @param id        The unique identifier for this dictionary file.
         * @param path      The path to the dictionary file.
         * @param timestamp The last modified timestamp of the file.
         */
        public StopwordsFile(final String id, final String path, final Date timestamp) {
            super(id, path, timestamp);
        }
    
        @Override
        public String getType() {
            return STOPWORDS;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  2. internal/event/target/postgresql.go

    func validatePsqlTableName(name string) error {
    	// check for quoted string (string may not contain a quote)
    	if match, err := regexp.MatchString("^\"[^\"]+\"$", name); err != nil {
    		return err
    	} else if match {
    		return nil
    	}
    
    	// normalize the name to letters, digits, _ or $
    	valid := true
    	cleaned := strings.Map(func(r rune) rune {
    		switch {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/io/PropertiesUtil.java

         *            Property set. Must not be {@literal null}.
         * @param path
         *            Resource path. Must not be {@literal null} or empty.
         */
        public static void load(final Properties props, final String path) {
            assertArgumentNotNull("props", props);
            assertArgumentNotEmpty("path", path);
    
            load(props, ResourceUtil.getResource(path));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

        }
    
        /**
         * Parses a GCS path into bucket name and object path components.
         * @param path the GCS path to parse (format: bucket/object/path)
         * @return an array containing the bucket name and object path
         * @throws CrawlingAccessException if the path format is invalid
         */
        protected String[] parsePath(final String path) {
            if (StringUtil.isNotEmpty(path)) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

         * @param response the HTTP servlet response
         * @param path     the request path after removing the prefix
         */
        protected void processRequest(final HttpServletRequest request, final HttpServletResponse response, final String path) {
            if ("/_plugin".equals(path) || path.startsWith("/_plugin/")) {
                processPluginRequest(request, response, path.replaceFirst("^/_plugin", StringUtil.EMPTY));
                return;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

         */
        public String getDfsPath() throws SmbException {
            resolveDfs(null);
            if (dfsReferral == null) {
                return null;
            }
            String path = "smb1:/" + dfsReferral.server + "/" + dfsReferral.share + unc;
            path = path.replace('\\', '/');
            if (isDirectory()) {
                path += '/';
            }
            return path;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/io/FileUtil.java

        /**
         * Reads text from a file using the default encoding.
         *
         * @param path
         *            The file path. Must not be {@literal null} or empty.
         * @return The text read from the file.
         */
        public static String readText(final String path) {
            assertArgumentNotEmpty("path", path);
            return readText(path, Charset.defaultCharset().name());
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  8. scripts/tests/test_translation_fixer/test_header_permalinks/test_header_level_mismatch.py

        expected_content = Path(
            f"{data_path}/translated_doc_level_mismatch_1.md"
        ).read_text("utf-8")
    
        assert fixed_content == expected_content  # Translated doc remains unchanged
        assert "Error processing docs/lang/docs/doc.md" in result.output
        assert (
            "Header levels do not match between document and original document"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/io/FileUtilTest.java

        }
    
        /**
         * Test isPathSafe with path outside base directory
         *
         * @throws Exception
         */
        @Test
        public void testIsPathSafe_PathOutsideBase() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path outsidePath = Paths.get("/tmp/outside.txt");
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. scripts/tests/test_translation_fixer/test_code_includes/test_number_mismatch.py

    from pathlib import Path
    
    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path(
        "scripts/tests/test_translation_fixer/test_code_includes/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")],
        indirect=True,
    )
    def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
Back to Top