Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 8,177 for Tile (0.03 sec)

  1. docs/en/docs/tutorial/request-files.md

    * `content_type`: A `str` with the content type (MIME type / media type) (e.g. `image/jpeg`).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java

    package org.apache.maven.cli;
    
    import java.io.File;
    import java.nio.file.Paths;
    
    /**
     * Resolve relative file path against the given base directory
     */
    public class ResolveFile {
        public static File resolveFile(File file, String baseDirectory) {
            if (file == null) {
                return null;
            } else if (file.isAbsolute()) {
                return file;
            } else if (file.getPath().startsWith(File.separator)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        File getUserSettingsFile();
    
        MavenExecutionRequest setUserSettingsFile(File userSettingsFile);
    
        File getProjectSettingsFile();
    
        MavenExecutionRequest setProjectSettingsFile(File projectSettingsFile);
    
        @Deprecated
        File getGlobalSettingsFile();
    
        @Deprecated
        MavenExecutionRequest setGlobalSettingsFile(File globalSettingsFile);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. .github/workflows/codeql-analysis.yml

            tools: latest
            # If you wish to specify custom queries, you can do so here or in a config file.
            # By default, queries listed here will override any specified in a config file.
            # Prefix the list here with "+" to use these queries and those in the config file.
            # queries: ./path/to/local/query, your-org/your-repo/queries@main
    
        - name: Compile with Gradle with Build Scan
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial001_03_an.py

        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        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}
    
    
    def test_post_upload_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/resources/inheritance-repo/t08/maven-test/poms/t08-a-1.0.pom

      <artifactId>t08-a</artifactId>
      <packaging>jar</packaging>
      <version>1.0</version>
      <repositories>
        <repository>
          <id>central</id>
          <name>Fake Maven Central Repository</name>
          <url>file://dummy</url>
        </repository>
      </repositories>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t08-b</artifactId>
          <version>1.0</version>
          <type>jar</type>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 572 bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

        private final File file;
    
        public ProjectArtifactMetadata(Artifact artifact) {
            this(artifact, null);
        }
    
        public ProjectArtifactMetadata(Artifact artifact, File file) {
            super(artifact);
            this.file = file;
        }
    
        public File getFile() {
            return file;
        }
    
        public String getRemoteFilename() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. tests/test_datastructures.py

        assert testing_file_store
        assert testing_file_store[0].file.closed
    
    
    # For UploadFile coverage, segments copied from Starlette tests
    
    
    @pytest.mark.anyio
    async def test_upload_file():
        stream = io.BytesIO(b"data")
        file = UploadFile(filename="file", file=stream, size=4)
        assert await file.read() == b"data"
        assert file.size == 4
        await file.write(b" and more data!")
        assert await file.read() == b""
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    		// because it appears as a prefix in a path.
    		dirs := make(map[string]bool)
    
    		for _, file := range r.File {
    			isDir := len(file.Name) > 0 && file.Name[len(file.Name)-1] == '/'
    			name := toValidName(file.Name)
    			if name == "" {
    				continue
    			}
    
    			if idx, ok := files[name]; ok {
    				r.fileList[idx].isDup = true
    				continue
    			}
    			if idx, ok := knownDirs[name]; ok {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingRequest.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top