- Sort Score
- Result 10 results
- Languages All
Results 1221 - 1230 of 8,512 for File (0.13 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
import gradlebuild.docs.model.SimpleClassMetaDataRepository import groovy.time.TimeCategory import groovy.time.TimeDuration import org.gradle.api.Action import org.gradle.api.Transformer import org.gradle.api.file.FileTree import org.gradle.api.file.RegularFileProperty import org.gradle.api.logging.Logging import org.gradle.api.tasks.CacheableTask import org.gradle.api.tasks.OutputFile import org.gradle.api.tasks.PathSensitive
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/recipes.md
} } ``` ### Posting a File ([.kt][PostFileKotlin], [.java][PostFileJava]) It's easy to use a file as a request body. === ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient() fun run() { val file = File("README.md") val request = Request.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Feb 18 08:52:22 UTC 2022 - 40.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactManager.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 Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 1.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
private File baseCss; private File releaseNotesCss; private File releaseNotesJavascript; private Set<File> jqueryFiles; public ReleaseNotesTransformer(Reader original) { super(original); this.in = new Reader() { Reader delegate = null; @Override public int read(char[] cbuf, int off, int len) throws IOException {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 03 05:02:20 UTC 2024 - 9.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/request-files.md
``` ## `File` 매개변수 정의 `Body` 및 `Form` 과 동일한 방식으로 파일의 매개변수를 생성합니다: ```Python hl_lines="7" {!../../docs_src/request_files/tutorial001.py!} ``` /// info | "정보" `File` 은 `Form` 으로부터 직접 상속된 클래스입니다. 하지만 `fastapi`로부터 `Query`, `Path`, `File` 등을 임포트 할 때, 이것들은 특별한 클래스들을 반환하는 함수라는 것을 기억하기 바랍니다. /// /// tip | "팁" File의 본문을 선언할 때, 매개변수가 쿼리 매개변수 또는 본문(JSON) 매개변수로 해석되는 것을 방지하기 위해 `File` 을 사용해야합니다. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.1K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
} func readFile(filename string) ([]byte, error) { file := os.Stdin if filename != "-" { var err error file, err = os.Open(filename) if err != nil { return nil, err } } defer func() { if err := file.Close(); err != nil { log.Errorf("failed to close %s: %s", filename, err) } }() return io.ReadAll(file) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial002_py39.py
path = tmp_path / "test.txt" path.write_bytes(b"<file content>") path2 = tmp_path / "test2.txt" path2.write_bytes(b"<file content2>") client = TestClient(app) with path.open("rb") as file, path2.open("rb") as file2: response = client.post( "/files/", files=( ("files", ("test.txt", file)), ("files", ("test2.txt", file2)), ),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9K bytes - Viewed (0) -
src/archive/tar/common.go
ErrWriteAfterClose = errors.New("archive/tar: write after close") ErrInsecurePath = errors.New("archive/tar: insecure file path") errMissData = errors.New("archive/tar: sparse file references non-existent data") errUnrefData = errors.New("archive/tar: sparse file contains unreferenced data") errWriteHole = errors.New("archive/tar: write non-NUL byte in sparse hole") ) type headerError []string
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt
import org.junit.jupiter.api.io.TempDir class FileOperatorTest { @TempDir var tempDir: File? = null private var file: File? = null private var randomAccessFile: RandomAccessFile? = null @BeforeEach fun setUp() { file = File(tempDir, "test") randomAccessFile = RandomAccessFile(file, "rw") } @AfterEach fun tearDown() { randomAccessFile!!.close() } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
String userHome = System.getProperty("user.home"); @SuppressWarnings("checkstyle:constantname") File userMavenConfigurationHome = new File(userHome, ".m2"); @SuppressWarnings("checkstyle:constantname") File defaultUserLocalRepository = new File(userMavenConfigurationHome, "repository"); String DEFAULT_REMOTE_REPO_ID = MavenRepositorySystem.DEFAULT_REMOTE_REPO_ID;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0)