Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 6,867 for filme (0.02 sec)

  1. tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py

            ]
        }
    
    
    def test_post_file_no_token(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/nio/ChannelUtil.java

        protected ChannelUtil() {
        }
    
        /**
         * Returns a {@link ByteBuffer} that maps the file channel to memory.
         *
         * @param channel
         *            The file channel. Must not be {@literal null}.
         * @param mode
         *            The mode. Must not be {@literal null}.
         * @return A {@link ByteBuffer} that maps the file channel to memory.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/request-files.md

    $ pip install python-multipart
    ```
    
    Esto es porque los archivos subidos se envían como "form data".
    
    ///
    
    ## Importar `File` { #import-file }
    
    Importa `File` y `UploadFile` desde `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## Definir Parámetros `File` { #define-file-parameters }
    
    Crea parámetros de archivo de la misma manera que lo harías para `Body` o `Form`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

            getStopwordsFile(dictId).ifPresent(file -> {
                if (stopwordsItem.getId() == 0) {
                    file.insert(stopwordsItem);
                } else {
                    file.update(stopwordsItem);
                }
            });
        }
    
        /**
         * Deletes a stopword item from the specified dictionary.
         *
         * @param dictId        The ID of the dictionary.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/SynonymService.java

            return getSynonymFile(dictId).map(file -> file.get(id).get());
        }
    
        /**
         * Stores a synonym item in the specified dictionary.
         *
         * @param dictId      The ID of the dictionary.
         * @param synonymItem The synonym item to store.
         */
        public void store(final String dictId, final SynonymItem synonymItem) {
            getSynonymFile(dictId).ifPresent(file -> {
                if (synonymItem.getId() == 0) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/FileEntry.java

    /**
     * Represents a file or directory entry in SMB1 protocol.
     */
    public interface FileEntry {
    
        /**
         * Gets the name of the file or directory.
         *
         * @return the file or directory name
         */
        String getName();
    
        /**
         * Gets the type of the entry.
         *
         * @return the entry type
         */
        int getType();
    
        /**
         * Gets the file attributes.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 881 bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            }
        }
    
        @Test
        public void testFileBasedCacheCloseNonExistentFile() {
            tempFile = new File(Curl.tmpDir, "non-existent-file.tmp");
            assertFalse(tempFile.exists());
    
            ContentCache cache = new ContentCache(tempFile);
    
            // Should throw IOException when file doesn't exist
            try {
                cache.close();
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

    /*
     * 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
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                }
    
                // The temporary file is named destination + ".tmp" and is done this way to ensure
                // that the temporary file is in the same file system as the destination because the
                // File.renameTo operation doesn't really work across file systems.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

        @Test
        void testProjectInheritance() 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");
    
            // load everything...
            MavenProject project0 = getProject(pom0);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top