Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,144 for cfiles (0.12 sec)

  1. 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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. build-logic-settings/UpdateDevelocityPluginVersion.java

                "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)
  3. 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)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Collections;
    import java.util.Date;
    import java.util.Map;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            if (context == null) {
                return new File[0];
            }
            final String libPath = context.getRealPath("/WEB-INF/lib");
            if (StringUtil.isBlank(libPath)) {
                return new File[0];
            }
            final File libDir = new File(libPath);
            if (!libDir.exists()) {
                return new File[0];
            }
            return libDir.listFiles((file, name) -> name.startsWith(namePrefix));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    if (includeContent) {
                        final File[] files = file.listFiles();
                        if (files != null) {
                            for (final File f : files) {
                                final String chileUri = f.toURI().toASCIIString();
                                requestDataSet.add(RequestDataBuilder.newRequestData().get().url(chileUri).build());
                            }
                        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. docs/en/docs/how-to/custom-docs-ui-assets.md

    By default, those files are served from a <abbr title="Content Delivery Network: A service, normally composed of several servers, that provides static files, like JavaScript and CSS. It's commonly used to serve those files from the server closer to the client, improving performance.">CDN</abbr>.
    
    But it's possible to customize it, you can set a specific CDN, or serve the files yourself.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:42:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. docs/debugging/README.md

    Wildcards can be used, for example `mc support inspect ALIAS/bucket/path/**/xl.meta` will collect all `xl.meta` recursively. `mc support inspect ALIAS/bucket/path/to/file.txt/*/part.*` will collect parts for all versions for the object located at `bucket/path/to/file.txt`.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 01:17:53 UTC 2022
    - 8.7K bytes
    - Viewed (0)
Back to top