Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 4,068 for file3 (0.15 sec)

  1. src/archive/zip/fuzz_test.go

    		if err != nil {
    			return
    		}
    
    		type file struct {
    			header  *FileHeader
    			content []byte
    		}
    		files := []file{}
    
    		for _, f := range r.File {
    			fr, err := f.Open()
    			if err != nil {
    				continue
    			}
    			content, err := io.ReadAll(fr)
    			if err != nil {
    				continue
    			}
    			files = append(files, file{header: &f.FileHeader, content: content})
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

    /**
     * Fess-specific web resource root implementation for Tomcat.
     * This class extends StandardRoot to provide custom web resource handling
     * for Fess plugins, including support for plugin JAR files in the WEB-INF/plugin directory.
     */
    public class FessWebResourceRoot extends StandardRoot {
        /** Logger instance for this class */
        private static final Logger logger = Logger.getLogger(FessWebResourceRoot.class.getName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

            final String root = new File("/").getCanonicalPath();
            assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url));
        }
    
        /**
         * @throws Exception
         */
        public void testRelativePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
            URL url = new URL("jar:" + f.toURI().toURL() + "!/foo/bar/");
            url = new URL(url, "..");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/archive/tar/fuzz_test.go

    			if _, err := io.Copy(buf, r); err != nil {
    				continue
    			}
    			files = append(files, file{header: hdr, content: buf.Bytes()})
    		}
    
    		// If we were unable to read anything out of the archive don't
    		// bother trying to roundtrip it.
    		if len(files) == 0 {
    			return
    		}
    
    		out := bytes.NewBuffer(nil)
    		w := NewWriter(out)
    		for _, f := range files {
    			if err := w.WriteHeader(f.header); err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  5. README.md

    Properties props = PropertiesUtil.load(resource);
    
    // File operations with proper resource handling
    try (InputStream input = ResourceUtil.getResourceAsStream("data.txt")) {
        String content = InputStreamUtil.getUTF8String(input);
    }
    
    // Resource traversal for processing multiple files
    ResourceTraversalUtil.forEach("META-INF", (resource, is) -> {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>();
    
        File createFile() throws IOException {
          File file = File.createTempFile("SinkSourceFile", "txt");
          fileThreadLocal.set(file);
          return file;
        }
    
        File getFile() {
          return fileThreadLocal.get();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. .github/workflows/pylint-presubmit.yml

        - name: Get file changes
          id: get_file_changes
          uses: trilom/file-changes-action@a6ca26c14274c33b15e6499323aac178af06ad4b # v1.2.4
          with:
            output: ' '
        - name: Report list of changed files
          run: |
            echo Changed files: ${{ steps.get_file_changes.outputs.files }}
        - name: Set up Python 3.9
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            tempDir = Files.createTempDirectory("theme-test");
            Files.createDirectories(Paths.get("target", "fess", "WEB-INF", "view"));
            Files.createDirectories(Paths.get("target", "fess", "WEB-INF", "plugin"));
            Files.createDirectories(Paths.get("target", "fess", "images"));
            Files.createDirectories(Paths.get("target", "fess", "css"));
            Files.createDirectories(Paths.get("target", "fess", "js"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            return redirectWith(getClass(), moreUrl("list/" + encodeId(form.path)));
        }
    
        /**
         * Downloads a file from the storage system.
         *
         * @param id the encoded ID of the file to download
         * @return action response with the file stream for download
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse download(final String id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/net/URLUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testToFile() throws Exception {
            final File file = new File("Program Files/hoge.txt");
            final URL url = file.toURI().toURL();
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url));
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt")));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top