Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,102 for CFiles (0.05 sec)

  1. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

            val outputPath = projectDir.resolve("mylib.jar")
            Files.newOutputStream(outputPath).use { outputStream ->
                JarOutputStream(outputStream).use { jarStream ->
                    sourceFiles.forEach { dir ->
                        check(Files.isDirectory(dir)) { "Must be a directory" }
                        Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                if (buildDir != null) {
                    Files.createDirectories(buildDir);
                }
                Path consumer = buildDir != null
                        ? Files.createTempFile(buildDir, CONSUMER_POM_CLASSIFIER + "-", ".pom")
                        : Files.createTempFile(CONSUMER_POM_CLASSIFIER + "-", ".pom");
                deferDeleteFile(consumer);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py

    
    @needs_py39
    def test_post_file(tmp_path, client: TestClient):
        path = tmp_path / "test.txt"
        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_large_file(tmp_path, client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. build-logic-settings/UpdateDevelocityPluginVersion.java

            String newVersion = args[0];
            String[] files = {
                "build-logic-commons/build-platform/build.gradle.kts",
                "build-logic-settings/settings.gradle.kts",
                "settings.gradle.kts"
            };
    
            for (String file : files) {
                File f = new File(file);
                if (f.exists()) {
                    String content = new String(Files.readAllBytes(f.toPath()));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 07:58:50 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. ci/README.md

    > effort to improve the structure of CI and build related files within the
    > TensorFlow repo. This warning will be removed when the contents of this
    > directory are stable and appropriate documentation around its usage is in
    > place.
    
    Maintainer: TensorFlow DevInfra
    
    ********************************************************************************
    
    The CI folder contains the configuration files and scripts used to build, test,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jun 06 21:00:01 UTC 2023
    - 825 bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

        }
    
        protected abstract void merge(Metadata recessive);
    
        static Metadata read(Path metadataPath) throws RepositoryException {
            if (!Files.exists(metadataPath)) {
                return new Metadata();
            }
    
            try (InputStream input = Files.newInputStream(metadataPath)) {
                return new Metadata(new MetadataStaxReader().read(input, false));
            } catch (IOException | XMLStreamException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ResourceUtil.java

                if (webinfPath != null && Files.exists(Paths.get(webinfPath))) {
                    return Paths.get(webinfPath, names);
                }
            } catch (final Throwable e) {
                // ignore
            }
            final String webinfBase = root + base;
            if (Files.exists(Paths.get(webinfBase))) {
                return Paths.get(webinfBase, names);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    final Set<RequestData> requestDataSet = new HashSet<>();
                    if (includeContent) {
                        final File[] files = file.listFiles();
                        if (files != null) {
                            for (final File f : files) {
                                final String chileUri = f.toURI().toASCIIString();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/EnumTest.java

            try ( SmbFile f = createTestDirectory() ) {
                try {
                    SmbFile[] files = f.listFiles(new DosFileFilter("*.txt", 0));
                    assertNotNull(files);
                    assertEquals(0, files.length);
    
                    files = f.listFiles();
                    assertNotNull(files);
                    assertEquals(0, files.length);
                }
                finally {
                    f.delete();
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. docs/en/docs/reference/staticfiles.md

    # Static Files - `StaticFiles`
    
    You can use the `StaticFiles` class to serve static files, like JavaScript, CSS, images, etc.
    
    Read more about it in the [FastAPI docs for Static Files](https://fastapi.tiangolo.com/tutorial/static-files/).
    
    You can import it directly from `fastapi.staticfiles`:
    
    ```python
    from fastapi.staticfiles import StaticFiles
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 391 bytes
    - Viewed (0)
Back to top