Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 9,647 for zile (0.25 seconds)

  1. 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.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/request-files.md

    ## 定义 `File` 参数 { #define-file-parameters }
    
    像为 `Body` 或 `Form` 一样创建文件参数:
    
    {* ../../docs_src/request_files/tutorial001_an_py310.py hl[9] *}
    
    /// info | 信息
    
    `File` 是直接继承自 `Form` 的类。
    
    但要注意,从 `fastapi` 导入的 `Query`、`Path`、`File` 等项,实际上是返回特定类的函数。
    
    ///
    
    /// tip | 提示
    
    声明文件体必须使用 `File`,否则,这些参数会被当作查询参数或请求体(JSON)参数。
    
    ///
    
    文件将作为「表单数据」上传。
    
    如果把*路径操作函数*参数的类型声明为 `bytes`,**FastAPI** 会为你读取文件,并以 `bytes` 的形式接收其内容。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/FileBackedOutputStream.java

          } finally {
            if (memory == null) {
              memory = new MemoryOutput();
            } else {
              memory.reset();
            }
            out = memory;
            if (file != null) {
              File deleteMe = file;
              file = null;
              if (!deleteMe.delete()) {
                throw new IOException("Could not delete: " + deleteMe);
              }
            }
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  4. 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.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/request-files.md

    ///
    
    ## Importar `File` { #import-file }
    
    Importa `File` y `UploadFile` desde `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py310.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`:
    
    {* ../../docs_src/request_files/tutorial001_an_py310.py hl[9] *}
    
    /// info | Información
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            File file = artifact.getFile();
    
            File touchfile = getTouchfile(artifact);
    
            if (file.exists()) {
                trackingFileManager.delete(touchfile);
            } else {
                writeLastUpdated(touchfile, getRepositoryKey(repository), error);
            }
        }
    
        @Override
        public void touch(RepositoryMetadata metadata, ArtifactRepository repository, File file) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. docs_src/request_files/tutorial003_py310.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(description="Multiple files as bytes"),
    ):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(
        files: list[UploadFile] = File(description="Multiple files as UploadFile"),
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 888 bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java

        private File inputFile = getProject().getRootProject().file("NOTICE.txt");
        @OutputFile
        private File outputFile = new File(getProject().getBuildDir(), "notices/" + getName() + "/NOTICE.txt");
        private FileTree sources;
        /**
         * Directories to include notices from
         */
        private List<File> licensesDirs = new ArrayList<File>();
    
        public NoticeTask() {
            setDescription("Create a notice file from dependencies");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.9K bytes
    - Click Count (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt

            }
    
            /**
             * Writes [Properties] to a file, but without including the timestamp comment.
             *
             * See [PropertiesUtils.store].
             */
            fun store(properties: Properties, file: File, comment: String? = null) {
                PropertiesUtils.store(properties, file, comment, Charsets.ISO_8859_1, "\n")
            }
    
            private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.6K bytes
    - Click Count (0)
  10. src/archive/zip/reader_test.go

    	}
    	_, err = r.Open("test.txt")
    	if err != nil {
    		t.Errorf("Error reading file: %v", err)
    	}
    	if len(r.File) != 1 {
    		t.Fatalf("No entries in the file list")
    	}
    	if r.File[0].Name != "../test.txt" {
    		t.Errorf("Unexpected entry name: %s", r.File[0].Name)
    	}
    	if _, err := r.File[0].Open(); err != nil {
    		t.Errorf("Error opening file: %v", err)
    	}
    }
    
    func TestOpenReaderInsecurePath(t *testing.T) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 57.9K bytes
    - Click Count (0)
Back to Top