Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 2,206 for path (0.02 seconds)

  1. tests/test_tutorial/test_custom_response/test_tutorial008.py

    from pathlib import Path
    
    from fastapi.testclient import TestClient
    
    from docs_src.custom_response import tutorial008_py39
    from docs_src.custom_response.tutorial008_py39 import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial008_py39.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 502 bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

              ExampleStackTrace path = new ExampleStackTrace(preAcquiredLock, this);
              path.setStackTrace(entry.getValue().getStackTrace());
              path.initCause(found);
              return path;
            }
          }
          return null;
        }
      }
    
      /**
       * CycleDetectingLock implementations must call this method before attempting to acquire the lock.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            Path path = getBaseDirectory()
                    .resolve(Objects.requireNonNull(directory, "directory cannot be null"))
                    .normalize();
            sources.removeIf(source -> source.scope() == scope
                    && source.language() == language
                    && source.directory().equals(path));
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java

         * or does not contain a POM file, the return value indicates the expected path to the POM file. Subdirectories of
         * the project directory will not be considered when locating the POM file. The return value will be an absolute
         * path if the project directory is given as an absolute path.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-directory-urls-parent.xml

      <description>Flat directory structure case: module = ../child directory path + child directory path != child-artifact-id</description>
    
      <modules>
        <module>../inheritance</module><!-- current directory == inheritance -->
      </modules>
    
      <!-- 5 urls in the pom will be inherited with path added -->
      <url>http://www.apache.org/path/to/parent/</url>
      <scm>
        <connection>scm:my-scm:http://domain.org/base</connection>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

                Path file = context.cwd.resolve(cliOptions.atFile().orElseThrow());
                if (Files.isRegularFile(file)) {
                    result.add(parseMavenAtFileOptions(file));
                } else {
                    throw new IllegalArgumentException("Specified file does not exists (" + file + ")");
                }
            }
            // maven.config; if exists
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 14 12:35:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            File file = new File(remoteRepo.getBasedir(), path);
    
            assertFalse(file.exists(), "Remote artifact " + file + " should not be present.");
        }
    
        protected void assertLocalArtifactNotPresent(Artifact artifact) throws Exception {
            ArtifactRepository localRepo = localRepository();
    
            String path = localRepo.pathOf(artifact);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/openapi-callbacks.md

    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *}
    
    ### Create the callback *path operation* { #create-the-callback-path-operation }
    
    To create the callback *path operation* use the same `APIRouter` you created above.
    
    It should look just like a normal FastAPI *path operation*:
    
    * It should probably have a declaration of the body it should receive, e.g. `body: InvoiceEvent`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ConcurrencyDependencyGraph.java

        public int getNumberOfBuilds() {
            return projectBuilds.size();
        }
    
        /**
         * Gets all the builds that have no reactor-dependencies, ordered by critical path priority
         *
         * @return A list of all the initial builds, ordered by priority (critical path first)
         */
        public List<MavenProject> getRootSchedulableBuilds() {
            Set<MavenProject> result = new LinkedHashSet<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        protected
        fun File.withFile(path: String, text: String = ""): File =
            resolve(path).apply {
                parentFile.mkdirs()
                writeText(text.trimIndent())
            }
    
        protected
        fun File.withKotlinFile(path: String, @Language("kotlin") text: String): File = withFile(path, text)
    
        protected
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
Back to Top