Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 8,154 for pfile (0.03 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java

        @Test
        void testFalsePluginExecutionInheritValue() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

            return subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten()
        }
    
        private
        fun generateSubprojects(): List<GradleSubproject> {
            return generateSubprojectsDirectories()
                .filter {
                    File(it, "build.gradle.kts").exists() ||
                        File(it, "build.gradle").exists()
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

        public static final File USER_MAVEN_CONFIGURATION_HOME = new File(USER_HOME, ".m2");
    
        public static final File DEFAULT_USER_SETTINGS_FILE = new File(USER_MAVEN_CONFIGURATION_HOME, "settings.xml");
    
        public static final File DEFAULT_PROJECT_SETTINGS_FILE = new File(".mvn", "settings.xml");
    
        public static final File DEFAULT_INSTALLATION_SETTINGS_FILE =
                new File(System.getProperty("maven.conf"), "settings.xml");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig.go

    		installLog.Infof("Waiting for CNI network config file to be written in %v...", mountedCNINetDir)
    		if err := watcher.Wait(ctx); err != nil {
    			return "", err
    		}
    	}
    
    	cniConfigFilepath := filepath.Join(mountedCNINetDir, cniConfName)
    
    	for !file.Exists(cniConfigFilepath) {
    		if strings.HasSuffix(cniConfigFilepath, ".conf") && file.Exists(cniConfigFilepath+"list") {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial001_02.py

            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)
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py

        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_py310
    def test_post_upload_file(tmp_path: Path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. docs_src/request_files/tutorial001_02.py

    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: Union[bytes, None] = File(default=None)):
        if not file:
            return {"message": "No file sent"}
        else:
            return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: Union[UploadFile, None] = None):
        if not file:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 508 bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/pom.xml

    <!--
    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
    
        http://www.apache.org/licenses/LICENSE-2.0
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/OutputStreamUtil.java

         * {@link FileOutputStream}を作成します。
         *
         * @param file
         *            ファイル。{@literal null}であってはいけません
         * @return ファイルへ出力する{@link FileOutputStream}
         * @see FileOutputStream#FileOutputStream(File)
         */
        public static FileOutputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new FileOutputStream(file);
            } catch (final IOException e) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. docs/en/docs/contributing.md

    That command created a file `docs/ht/mkdocs.yml` with a simple config that inherits everything from the `en` version:
    
    ```yaml
    INHERIT: ../en/mkdocs.yml
    ```
    
    /// tip
    
    You could also simply create that file with those contents manually.
    
    ///
    
    That command also created a dummy file `docs/ht/index.md` for the main page, you can start by translating that one.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top