- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,102 for HFiles (0.08 sec)
-
docs_src/request_files/tutorial003_an.py
app = FastAPI() @app.post("/files/") async def create_files( files: Annotated[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: Annotated[ List[UploadFile], File(description="Multiple files as UploadFile") ], ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 987 bytes - Viewed (0) -
ci/official/utilities/repack_libtensorflow.sh
# and also repacks libtensorflow-src.jar into a standardized format. # Helper function to copy a srcjar after moving any source files # directly under the root to the "maven-style" src/main/java layout # # Source files generated by annotation processors appear directly # under the root of srcjars jars created by bazel, rather than under # the maven-style src/main/java subdirectory. #
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jul 12 19:47:53 UTC 2023 - 2.6K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt
return ZipInputStream(Files.newInputStream(file)) } } /** * Implementation code that can be unit-tested. * * <p>Visible for testing.</p> */ class Implementation(private val excludes: List<String>, private val includes: List<String>) { fun collectPackages(files: Iterable<Path>): Trie { val builder = Trie.Builder()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 19:14:16 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
} } public static class ApiLogFilesResponse extends ApiResponse { protected List<Map<String, Object>> files; protected long total = 0; public ApiLogFilesResponse files(final List<Map<String, Object>> files) { this.files = files; return this; } public ApiLogFilesResponse total(final long total) { this.total = total;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 12.5K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
args = []string{"xl.meta"} } var files []string for _, pattern := range args { if pattern == "-" { files = append(files, pattern) continue } found, err := filepathx.Glob(pattern) if err != nil { return err } if len(found) == 0 { return fmt.Errorf("unable to find file %v", pattern) } files = append(files, found...) } if len(files) == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 05 11:57:44 UTC 2024 - 40.3K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java
Files.createDirectories(mavenHome); Path mavenConf = mavenHome.resolve("conf"); Files.createDirectories(mavenConf); Path mavenUserProps = mavenConf.resolve("maven.properties"); Files.writeString(mavenUserProps, "${includes} = ?\"/user/ma ven.properties\", ?/foo/bar\n"); Path userDirectory = fs.getPath("/user"); Files.createDirectories(userDirectory);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
# have passed Google's internal style guidelines. @test "Check pylint for Python files" { echo "Python formatting is recommended. Here are the pylint errors:" echo "=============================" grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jan 10 19:39:41 UTC 2024 - 4K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py
def test_post_file(tmp_path): 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 == 200, response.text assert response.json() == {"file_size": 14} def test_post_upload_file(tmp_path): path = tmp_path / "test.txt"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.2K bytes - Viewed (0) -
src/main/assemblies/common-bin.xml
</fileSet> <fileSet> <filtered>false</filtered> <directory>src/main/assemblies/files</directory> <outputDirectory>fess-${project.version}/bin</outputDirectory> <includes> <include>*.exe</include> </includes> </fileSet> <fileSet> <filtered>true</filtered> <directory>src/main/assemblies/files</directory> <outputDirectory>fess-${project.version}/bin</outputDirectory> <fileMode>0755</fileMode>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Mar 17 02:29:43 UTC 2022 - 3.7K bytes - Viewed (0) -
src/archive/zip/reader.go
return dotFile } dir, elem, _ := split(name) files := r.fileList i, _ := slices.BinarySearchFunc(files, dir, func(a fileListEntry, dir string) (ret int) { idir, ielem, _ := split(a.name) if dir != idir { return strings.Compare(idir, dir) } return strings.Compare(ielem, elem) }) if i < len(files) { fname := files[i].name
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0)