Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for realpath (0.08 seconds)

  1. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      public void testExtensiveWithAbsolutePrefix() throws IOException {
        // Inputs are /b/c/<every possible 10-character string of characters "a./">
        // Expected outputs are from realpath -s.
        doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt");
      }
    
      public void testExtensiveNoPrefix() throws IOException {
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      public void testExtensiveWithAbsolutePrefix() throws IOException {
        // Inputs are /b/c/<every possible 10-character string of characters "a./">
        // Expected outputs are from realpath -s.
        doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt");
      }
    
      public void testExtensiveNoPrefix() throws IOException {
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

         * @return true if the page exists, false otherwise
         */
        private boolean existsPage(final String path) {
            final String realPath = LaServletContextUtil.getServletContext().getRealPath(path);
            final File file = new File(realPath);
            return file.isFile();
        }
    
        /**
         * Creates cached content with highlighting for a document.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  4. configure.py

                             'Assuming to be a scripting mistake.' %
                             (var_name, n_ask_attempts))
    
      if resolve_symlinks:
        val = os.path.realpath(val)
      environ_cp[var_name] = val
      return val
    
    
    def set_clang_cuda_compiler_path(environ_cp):
      """Set CLANG_CUDA_COMPILER_PATH."""
      # Upon clang 19 drop the check for 16
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Dec 19 16:32:04 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  5. scripts/translation_fixer.py

        res: list[str] = []
        lang_docs_root = Path("docs") / lang / "docs"
        for path in iter_all_lang_paths(lang_docs_root):
            relpath = path.relative_to(lang_docs_root)
            if not str(relpath).startswith(non_translated_sections):
                res.append(str(relpath))
        return res
    
    
    def process_one_page(path: Path) -> bool:
        """
        Fix one translated document by comparing it to the English version.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  6. scripts/docs.py

        used_package_dirs: set[Path] = set()
        for py_file in docs_src_path.rglob("*.py"):
            if py_file.name == "__init__.py":
                continue
            rel_path = str(py_file)
            if rel_path in all_docs_content:
                # Walk up from the file's parent to find the package root
                # (a subdirectory under docs_src/<topic>/)
                parts = py_file.relative_to(docs_src_path).parts
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  7. scripts/translate.py

            yield path
    
    
    def iter_en_paths_to_translate() -> Iterable[Path]:
        en_docs_root = Path("docs/en/docs/")
        for path in iter_all_en_paths():
            relpath = path.relative_to(en_docs_root)
            if not str(relpath).startswith(non_translated_sections):
                yield path
    
    
    @app.command()
    def translate_lang(language: Annotated[str, typer.Option(envvar="LANGUAGE")]) -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/IndexExportJob.java

                final Path basePath = Paths.get(exportPath);
                Files.createDirectories(basePath);
                final Path realBase = basePath.toRealPath();
                Files.createDirectories(filePath.getParent());
                final Path realParent = filePath.getParent().toRealPath();
                if (!realParent.startsWith(realBase)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/MoreFilesTest.java

        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path root = fs.getRootDirectories().iterator().next();
          assertThat(root.getParent()).isNull();
          assertThat(root.toRealPath().getParent()).isNull();
          MoreFiles.createParentDirectories(root); // test that there's no exception
        }
      }
    
      public void testCreateParentDirectories_relativePath() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path root = fs.getRootDirectories().iterator().next();
          assertThat(root.getParent()).isNull();
          assertThat(root.toRealPath().getParent()).isNull();
          MoreFiles.createParentDirectories(root); // test that there's no exception
        }
      }
    
      public void testCreateParentDirectories_relativePath() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
Back to Top