Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,564 for filmes (0.16 sec)

  1. docs_src/request_files/tutorial002_py39.py

    from fastapi import FastAPI, File, UploadFile
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(files: list[bytes] = File()):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(files: list[UploadFile]):
        return {"filenames": [file.filename for file in files]}
    
    
    @app.get("/")
    async def main():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 786 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_files/test_tutorial001.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": default_pydantic_max_size + 1}
    
    
    def test_post_upload_file(tmp_path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FilesTest.java

        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertThat(file.getParentFile()).isNull();
        assertThat(file.getCanonicalFile().getParentFile()).isNotNull();
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_noParentsNeeded() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/net/URLUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testToFile() throws Exception {
            final File file = new File("Program Files/hoge.txt");
            final URL url = file.toURI().toURL();
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url));
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt")));
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            return redirectWith(getClass(), moreUrl("list/" + encodeId(form.path)));
        }
    
        /**
         * Downloads a file from the storage system.
         *
         * @param id the encoded ID of the file to download
         * @return action response with the file stream for download
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse download(final String id) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                // Verify POM was not modified
                String pomContent = Files.readString(pomFile);
                assertEquals(originalPom, pomContent, "Check should not modify POM files");
            }
    
            @Test
            @DisplayName("apply goal should modify files")
            void applyShouldModifyFiles() throws Exception {
                Path pomFile = tempDir.resolve("pom.xml");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. README.md

    ```java
    SuggestResponse response = suggester.suggest()
        .setQuery("search term")
        .setSize(10)                           // max results
        .setTags(new String[]{"category"})      // filter by tags
        .setRoles(new String[]{"user"})         // filter by roles  
        .setLanguages(new String[]{"en", "ja"}) // language preference
        .setFields(new String[]{"title"})       // search specific fields
        .execute()
        .getResponse();
    ```
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/ProjectsSelector.java

         * @param files List of POM files.
         * @param request The {@link MavenExecutionRequest}
         * @return A list of projects that have been found in the specified POM files.
         * @throws ProjectBuildingException In case the POMs are not used.
         */
        List<MavenProject> selectProjects(List<File> files, MavenExecutionRequest request) throws ProjectBuildingException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java

        /**
         * Retrieves the list of available log files.
         *
         * @return JSON response containing log file list
         */
        // GET /api/admin/log/files
        @Execute
        public JsonResponse<ApiResult> files() {
            final List<Map<String, Object>> list = getLogFileItems();
            return asJson(new ApiResult.ApiLogFilesResponse().files(list).total(list.size()).status(ApiResult.Status.OK).result());
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. .gitignore

    __*
    
    # Eclipse files
    .classpath
    .project
    .settings/**
    
    # Files generated by JetBrains IDEs, e.g. IntelliJ IDEA
    .idea/
    *.iml
    
    # Vscode files
    .vscode
    
    # This is where the result of the go build goes
    /output*/
    /_output*/
    /_output
    
    # Emacs save files
    *~
    \#*\#
    .\#*
    
    # Vim-related files
    [._]*.s[a-w][a-z]
    [._]s[a-w][a-z]
    *.un~
    Session.vim
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu Feb 29 08:22:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top