- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,278 for files (0.02 seconds)
-
docs_src/request_forms_and_files/tutorial001_an_py310.py
from typing import Annotated from fastapi import FastAPI, File, Form, UploadFile app = FastAPI() @app.post("/files/") async def create_file( file: Annotated[bytes, File()], fileb: Annotated[UploadFile, File()], token: Annotated[str, Form()], ): return { "file_size": len(file), "token": token, "fileb_content_type": fileb.content_type,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 386 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Repository.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 *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Aug 27 21:13:34 GMT 2024 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104; /** * Constructs a Trans2FindFirst2 request for finding files. * * @param config the configuration to use * @param filename the path to search in * @param wildcard the wildcard pattern to match * @param searchAttributes the file attributes to search for * @param batchCount the number of entries to returnCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.3K bytes - Click Count (0) -
docs/ja/docs/advanced/json-base64-bytes.md
# Base64 にしたバイトを含む JSON { #json-with-bytes-as-base64 } アプリで JSON データの受信・送信が必要だが、その中にバイナリデータを含める必要がある場合は、base64 にエンコードできます。 ## Base64 とファイル { #base64-vs-files } バイナリデータのアップロードにはまず、JSON にエンコードする代わりに [Request Files](../tutorial/request-files.md) を、バイナリデータの送信には [カスタムレスポンス - FileResponse](./custom-response.md#fileresponse--fileresponse-) を使えるか検討してください。 JSON は UTF-8 でエンコードされた文字列のみを含められるため、生のバイト列は含められません。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 3.1K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/precommit/LicenseHeadersPrecommitPluginFuncTest.groovy
} private File unapprovedSourceFile(String filePath = "src/main/java/org/acme/UnapprovedLicensed.java") { File sourceFile = file(filePath); sourceFile << """ /* * Copyright (C) 2007 Google Inc. * * Licensed 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 atCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 4.1K bytes - Click Count (0) -
docs_src/request_forms_and_files/tutorial001_py310.py
from fastapi import FastAPI, File, Form, UploadFile app = FastAPI() @app.post("/files/") async def create_file( file: bytes = File(), fileb: UploadFile = File(), token: str = Form() ): return { "file_size": len(file), "token": token, "fileb_content_type": fileb.content_type,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 317 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
} private void deleteDirectory(File dir) { File[] files = dir.listFiles(); if (files != null) { for (File file : files) { if (file.isDirectory()) { deleteDirectory(file); } else { file.delete(); } } } dir.delete(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/LicenseAnalyzer.java
* 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ package org.elasticsearch.gradle.internal.precommit; import java.io.File; import java.io.IOException; import java.io.UncheckedIOException; import java.nio.file.Files; import java.util.regex.Pattern; public class LicenseAnalyzer {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jul 27 00:12:58 GMT 2021 - 12.8K bytes - Click Count (0) -
docs/en/docs/advanced/settings.md
You could put those settings in another module file as you saw in [Bigger Applications - Multiple Files](../tutorial/bigger-applications.md). For example, you could have a file `config.py` with: {* ../../docs_src/settings/app01_py310/config.py *} And then use it in a file `main.py`: {* ../../docs_src/settings/app01_py310/main.py hl[3,11:13] *} /// tip
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.9K bytes - Click Count (0) -
scripts/deploy_docs_status.py
current_commit.create_status( state="success", description="Docs Deployed", context="deploy-docs", target_url=run_url, ) files = list(use_pr.get_files()) docs_files = [f for f in files if f.filename.startswith("docs/")] deploy_url = settings.deploy_url.rstrip("/") lang_links: dict[str, list[LinkData]] = {} for f in docs_files:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Sep 30 05:56:53 GMT 2025 - 4.4K bytes - Click Count (0)