Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 6,365 for file4 (0.04 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.List;
    import java.util.Objects;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.function.Supplier;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    ### 「コンテキストマネージャ」とは { #what-are-context-managers }
    
    「コンテキストマネージャ」とは、`with`文の中で使用できるPythonオブジェクトのことです。
    
    例えば、[ファイルを読み込むには`with`を使用することができます](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    その後の`open("./somefile.txt")`は「コンテキストマネージャ」と呼ばれるオブジェクトを作成します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/bigger-applications.md

    # 更大型的應用程式 - 多個檔案 { #bigger-applications-multiple-files }
    
    如果你正在建置一個應用程式或 Web API,很少會把所有東西都放在單一檔案裡。
    
    FastAPI 提供了一個方便的工具,讓你在維持彈性的同時,幫你組織應用程式的結構。
    
    /// info | 資訊
    
    如果你來自 Flask,這相當於 Flask 的 Blueprints。
    
    ///
    
    ## 範例檔案結構 { #an-example-file-structure }
    
    假設你有如下的檔案結構:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   ├── dependencies.py
    │   └── routers
    │   │   ├── __init__.py
    │   │   ├── items.py
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  4. docs/zh/docs/index.md

        * 即便是多层嵌套的 JSON 对象也会进行校验。
    * <dfn title="也被称为:序列化、解析、编组">转换</dfn>输入数据:从网络读取到 Python 数据和类型。读取来源:
        * JSON。
        * 路径参数。
        * 查询参数。
        * Cookies。
        * Headers。
        * Forms。
        * Files。
    * <dfn title="也被称为:序列化、解析、编组">转换</dfn>输出数据:从 Python 数据和类型转换为网络数据(JSON):
        * 转换 Python 类型(`str`、`int`、`float`、`bool`、`list` 等)。
        * `datetime` 对象。
        * `UUID` 对象。
        * 数据库模型。
        * ……以及更多。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>();
    
        File createFile() throws IOException {
          File file = File.createTempFile("SinkSourceFile", "txt");
          fileThreadLocal.set(file);
          return file;
        }
    
        File getFile() {
          return fileThreadLocal.get();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  6. tests/test_request_params/test_file/test_required.py

        response = client.post(path, files=[("p", b"hello")])
        assert response.status_code == 200
        assert response.json() == {"file_size": 5}
    
    
    # =====================================================================================
    # Alias
    
    
    @app.post("/required-bytes-alias", operation_id="required_bytes_alias")
    async def read_required_bytes_alias(p: Annotated[bytes, File(alias="p_alias")]):
        return {"file_size": len(p)}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java

            }
    
            File outputMarker = getOutputMarker();
            outputMarker.getParentFile().mkdirs();
            Files.write(outputMarker.toPath(), "done".getBytes(StandardCharsets.UTF_8));
        }
    
        @OutputFile
        public File getOutputMarker() {
            return new File(projectLayout.getBuildDirectory().getAsFile().get(), "markers/" + getName());
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Properties;
    import java.util.stream.Stream;
    
    import org.apache.maven.project.MavenProject;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * This implementation of {@link BuildResumptionDataRepository} persists information in a properties file. The file is
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

        private void gatherBadSnippetsInFile(File file, Map<File, List<Error>> errors) {
            List<String> lines = new ArrayList<>();
            try (java.util.stream.Stream<String> stream = Files.lines(file.toPath())) {
                stream.forEach(lines::add);
            } catch (IOException ex) {
                // If a file can't be read, add an error
                addError(errors, file, new Error(1, "Failed to read file: " + ex.getMessage()));
                return;
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. LICENSES/third_party/forked/shell2junit/LICENSE

    d. If the Work includes a "NOTICE" text file as part of its distribution, 
    then any Derivative Works that You distribute must include a readable copy 
    of the attribution notices contained within such NOTICE file, excluding 
    those notices that do not pertain to any part of the Derivative Works, in at 
    least one of the following places: within a NOTICE text file distributed as 
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Jul 08 11:48:19 GMT 2021
    - 9.2K bytes
    - Click Count (0)
Back to Top