Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for File (0.02 sec)

  1. src/archive/zip/reader_test.go

    	}
    	_, err = r.Open("test.txt")
    	if err != nil {
    		t.Errorf("Error reading file: %v", err)
    	}
    	if len(r.File) != 1 {
    		t.Fatalf("No entries in the file list")
    	}
    	if r.File[0].Name != "../test.txt" {
    		t.Errorf("Unexpected entry name: %s", r.File[0].Name)
    	}
    	if _, err := r.File[0].Open(); err != nil {
    		t.Errorf("Error opening file: %v", err)
    	}
    }
    
    func TestOpenReaderInsecurePath(t *testing.T) {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Oct 17 20:10:27 UTC 2025
    - 56.5K bytes
    - Viewed (0)
  2. .teamcity/.mvn/wrapper/maven-wrapper.jar

    main(String[]) throws Exception; private static java.util.Map parseSystemPropertie(String[]); private static void addSystemProperties(java.io.File); private static java.io.File rootDir(java.io.File); private static java.io.File wrapperProperties(java.io.File); private static java.io.File wrapperJar(); static String wrapperVersion(); private static java.io.File mavenUserHome(); } org/apache/maven/wrapper/PathAssembler$LocalDistribution.class package org.apache.maven.wrapper; public synchronized class...
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 49.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                } else {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.firefox", "file://///"));
                }
                break;
            case CHROME:
                if (isLocalFile) {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.winlocal.chrome", "file://"));
                } else {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    File file = ResolveFile.resolveFile(new File(jar), cliRequest.workingDirectory);
    
                    slf4jLogger.debug("  included '{}'", file);
    
                    jars.add(file);
                }
            }
    
            return jars;
        }
    
        //
        // This should probably be a separate tool and not be baked into Maven.
        //
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        public boolean hasParent() {
            return getParent() != null;
        }
    
        public File getFile() {
            return file;
        }
    
        public void setFile(File file) {
            this.file = file;
            this.basedir = file != null ? file.getParentFile() : null;
        }
    
        /**
         * Sets project {@code file} without changing project {@code basedir}.
         *
         * @since 3.2.4
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create a file \"as-file\", %s", err)
    	}
    	if err = xlStorage.AppendFile(t.Context(), "exists", "as-file-parent/xl.meta", xlMeta); err != nil {
    		t.Fatalf("Unable to create a file \"as-file-parent\", %s", err)
    	}
    	if err = xlStorage.MakeVol(t.Context(), "exists/as-file/"+fi.DataDir); err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            }
    
            // Test basic properties
            assertTrue(file.exists(), "File should exist");
            assertTrue(file.canRead(), "File should be readable");
            assertTrue(file.canWrite(), "File should be writable");
            assertEquals(content.length(), file.length(), "File length should match");
    
            // Test timestamps
            long lastModified = file.lastModified();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		// requested offset and length
    		file.Close()
    		return nil, errFileCorrupt
    	}
    
    	if offset > 0 {
    		if _, err = file.Seek(offset, io.SeekStart); err != nil {
    			file.Close()
    			return nil, err
    		}
    	}
    	return &sendFileReader{Reader: io.LimitReader(file, length), Closer: file}, nil
    }
    
    // CreateFile - creates the file.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(
                    new File(pom.getBasedir(), "target/classes/dir0"), new File((String) pom.getValue("properties/dir0")));
            assertEquals(new File(pom.getBasedir(), "src/test/dir1"), new File((String) pom.getValue("properties/dir1")));
            assertEquals(
                    new File(pom.getBasedir(), "target/site/dir2"), new File((String) pom.getValue("properties/dir2")));
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  10. src/main/resources/fess_config.properties

    crawler.document.html.default.exclude.search.patterns=
    
    # file
    
    # Encoding for file names in documents.
    crawler.document.file.name.encoding=
    # Label to use when a file has no title.
    crawler.document.file.no.title.label=No title.
    # Whether to ignore files with empty content.
    crawler.document.file.ignore.empty.content=false
    # Maximum length of file title in documents.
    crawler.document.file.max.title.length=100
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
Back to top