Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,155 for file1 (0.05 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

                }
    
                files = listFiles( "*", ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM, null, null );
                try {
                    for( i = 0; i < files.length; i++ ) {
                        ndest = new SmbFile( dest,
                                        files[i].getName(),
                                        files[i].type,
                                        files[i].attributes,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  3. guava/module.json

            },
            {
              "group": "com.google.j2objc",
              "module": "j2objc-annotations",
              "version": {
                "requires": "${j2objc.version}"
              }
            }
          ],
          "files": [
            {
              "name": "${project.build.finalName}.jar",
              "url": "${project.build.finalName}.jar"
            }
          ],
          "capabilities": [
            {
              "group": "com.google.guava",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Sep 23 17:17:08 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Properties;
    import java.util.stream.Stream;
    
    import org.apache.maven.project.MavenProject;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * This implementation of {@link BuildResumptionDataRepository} persists information in a properties file. The file is
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. cmd/s3-zip-handlers.go

    	}
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	files, err := zipindex.DeserializeFiles(zipInfo)
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	sort.Slice(files, func(i, j int) bool {
    		return files[i].Name < files[j].Name
    	})
    
    	var (
    		count           int
    		isTruncated     bool
    		nextToken       string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    /**
     * @deprecated use {@link org.apache.maven.api.services.model.RootLocator} instead
     */
    @Named
    @Deprecated(since = "4.0.0")
    public class DefaultRootLocator implements RootLocator {
    
        public boolean isRootDirectory(Path dir) {
            if (Files.isDirectory(dir.resolve(".mvn"))) {
                return true;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py

        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    @needs_py39
    def test_post_upload_file(tmp_path: Path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. docs/nl/docs/environment-variables.md

    * `/bin`
    * `/usr/sbin`
    * `/sbin`
    
    ////
    
    //// tab | Windows
    
    ```plaintext
    C:\Program Files\Python312\Scripts;C:\Program Files\Python312;C:\Windows\System32
    ```
    
    Dit betekent dat het systeem naar programma's zoekt in de mappen:
    
    * `C:\Program Files\Python312\Scripts`
    * `C:\Program Files\Python312`
    * `C:\Windows\System32`
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:13:32 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top