Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 2,508 for Path (0.99 sec)

  1. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

        }
    
        @Test
        @DisplayName("Should reuse existing lease for same path")
        void testReuseExistingLease() {
            String path = "/share/file.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
    
            Smb2LeaseKey key1 = leaseManager.requestLease(path, requestedState);
            Smb2LeaseKey key2 = leaseManager.requestLease(path, requestedState);
    
            assertEquals(key1, key2);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. scripts/translate.py

        return yaml.safe_load(Path("docs/language_names.yml").read_text(encoding="utf-8"))
    
    
    def generate_lang_path(*, lang: str, path: Path) -> Path:
        en_docs_path = Path("docs/en/docs")
        assert str(path).startswith(str(en_docs_path)), (
            f"Path must be inside {en_docs_path}"
        )
        lang_docs_path = Path(f"docs/{lang}/docs")
        out_path = Path(str(path).replace(str(en_docs_path), str(lang_docs_path)))
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                        .build();
                Files.writeString(parentPom, parentPomContent);
    
                // Create module directory and POM
                Path moduleDir = tempDir.resolve("module1");
                Files.createDirectories(moduleDir);
                Path modulePom = moduleDir.resolve("pom.xml");
                String modulePomContent = PomBuilder.create()
                        .parent("com.example", "parent-project", "1.0.0")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. tests/test_datastructures.py

        placeholder_a = Default("a")
        placeholder_b = Default("")
        assert placeholder_a
        assert not placeholder_b
    
    
    def test_upload_file_is_closed(tmp_path: Path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        app = FastAPI()
    
        testing_file_store: list[UploadFile] = []
    
        @app.post("/uploadfile/")
        def create_upload_file(file: UploadFile):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial002.py

                    "input": None,
                }
            ]
        }
    
    
    def test_post_files(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

        Collection<DownloadedArtifact> getArtifacts();
    
        /**
         * Retrieves the file system path associated with a specific artifact.
         *
         * @param artifact The {@link Artifact} whose path is to be retrieved.
         * @return The {@link Path} to the artifact, or {@code null} if unavailable.
         */
        @Nullable
        Path getPath(@Nonnull Artifact artifact);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/RequestWithPath.java

         */
        String getDomain();
    
        /**
         * Gets the full UNC path.
         *
         * @return the full UNC path
         */
        String getFullUNCPath();
    
        /**
         * Sets the path to the resource.
         *
         * @param path the path to set
         */
        void setPath(String path);
    
        /**
         * Sets the full UNC path components.
         *
         * @param domain the domain name
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/body-fields.md

    ///
    
    ## Объявление атрибутов модели { #declare-model-attributes }
    
    Вы можете использовать функцию `Field` с атрибутами модели:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    Функция `Field` работает так же, как `Query`, `Path` и `Body`, у неё такие же параметры и т.д.
    
    /// note | Технические детали
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            StringBuilder path = new StringBuilder(128);
    
            path.append(artifact.getGroupId()).append('/');
    
            path.append(artifact.getExtension()).append("s/");
    
            path.append(artifact.getArtifactId()).append('-').append(artifact.getVersion());
    
            if (!artifact.getClassifier().isEmpty()) {
                path.append('-').append(artifact.getClassifier());
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            StringBuilder path = new StringBuilder(128);
    
            path.append(artifact.getGroupId()).append('/');
    
            path.append(artifact.getExtension()).append("s/");
    
            path.append(artifact.getArtifactId()).append('-').append(artifact.getVersion());
    
            if (!artifact.getClassifier().isEmpty()) {
                path.append('-').append(artifact.getClassifier());
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top