- Sort Score
- Num 10 results
- Language All
Results 921 - 930 of 1,459 for BytesX (0.31 seconds)
-
docs/zh-hant/docs/advanced/path-operation-advanced-configuration.md
你可以透過 `openapi_extra` 辦到: {* ../../docs_src/path_operation_advanced_configuration/tutorial006_py310.py hl[19:36, 39:40] *} 在這個範例中,我們沒有宣告任何 Pydantic 模型。事實上,請求本文甚至不會被 <dfn title="從某種純格式(例如 bytes)轉換為 Python 物件">解析</dfn> 為 JSON,而是直接以 `bytes` 讀取,並由函式 `magic_data_reader()` 以某種方式負責解析。 儘管如此,我們仍可宣告請求本文的預期結構。 ### 自訂 OpenAPI Content-Type { #custom-openapi-content-type }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/zh/docs/advanced/stream-data.md
{* ../../docs_src/stream_data/tutorial001_py310.py ln[32:35] hl[33] *} 这也意味着,使用 `StreamingResponse` 时,你拥有按需精确生成与编码字节数据的自由,同时也承担相应的责任,它与类型注解无关。🤓 ### 流式传输字节 { #stream-bytes } 主要的用例之一是流式传输 `bytes` 而不是字符串,这当然可以做到。 {* ../../docs_src/stream_data/tutorial001_py310.py ln[44:47] hl[47] *} ## 自定义 `PNGStreamingResponse` { #a-custom-pngstreamingresponse }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 5.2K bytes - Click Count (0) -
cmd/erasure-coding.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "encoding/hex" "fmt" "os" "reflect" "sync" "github.com/cespare/xxhash/v2" "github.com/klauspost/reedsolomon" "github.com/minio/minio/internal/logger" )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closeables.java
* reading, such as an {@code InputStream}. Unlike with writable resources, there's no chance that * a failure that occurs when closing the stream indicates a meaningful problem such as a failure * to flush all bytes to the underlying resource. * * @param inputStream the input stream to be closed, or {@code null} in which case this method * does nothing * @since 17.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 5.1K bytes - Click Count (0) -
internal/bucket/bandwidth/monitor.go
NodeCount: numNodes, } go m.trackEWMA() return m } func (m *Monitor) updateMeasurement(opts BucketOptions, bytes uint64) { m.mlock.Lock() defer m.mlock.Unlock() tm, ok := m.bucketsMeasurement[opts] if !ok { tm = &bucketMeasurement{} } tm.incrementBytes(bytes) m.bucketsMeasurement[opts] = tm } // SelectionFunction for buckets type SelectionFunction func(bucket string) bool
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
void testInheritance() { assertTrue(echoResponse instanceof ServerMessageBlock2Response); } } @Nested @DisplayName("Write Bytes Wire Format Tests") class WriteBytesWireFormatTests { @Test @DisplayName("Should return 0 for writeBytesWireFormat") void testWriteBytesWireFormat() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
cmd/sts-datatypes.go
// // Note: The size of the security token that STS APIs return is not fixed. We // strongly recommend that you make no assumptions about the maximum size. As // of this writing, the typical size is less than 4096 bytes, but that can vary. // Also, future updates to AWS might require larger sizes. Credentials auth.Credentials `xml:",omitempty"` // A percentage value that indicates the size of the policy in packed form.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 27 00:58:09 GMT 2022 - 9.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/request-forms-and-files.md
## 定义 `File` 与 `Form` 参数 { #define-file-and-form-parameters } 创建文件和表单参数的方式与 `Body` 和 `Query` 一样: {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *} 文件和表单字段作为表单数据上传与接收。 并且你可以将部分文件声明为 `bytes`,将部分文件声明为 `UploadFile`。 /// warning | 警告 可在一个*路径操作*中声明多个 `File` 与 `Form` 参数,但不能同时声明要接收 JSON 的 `Body` 字段。因为此时请求体的编码为 `multipart/form-data`,不是 `application/json`。 这不是 **FastAPI** 的问题,而是 HTTP 协议的规定。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 1.3K bytes - Click Count (0) -
docs/de/docs/index.md
* **GraphQL**-Integration mit [Strawberry](https://strawberry.rocks) und anderen Bibliotheken. * Viele zusätzliche Features (dank Starlette) wie: * **WebSockets** * extrem einfache Tests auf Basis von HTTPX und `pytest` * **CORS** * **Cookie-Sessions** * ... und mehr. ### Ihre App deployen (optional) { #deploy-your-app-optional }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 23.6K bytes - Click Count (1) -
tests/test_custom_middleware_exception.py
class ContentSizeLimitMiddleware: """Content size limiting middleware for ASGI applications Args: app (ASGI application): ASGI application max_content_size (optional): the maximum content size allowed in bytes, None for no limit """ def __init__(self, app: APIRouter, max_content_size: int | None = None): self.app = app self.max_content_size = max_content_size def receive_wrapper(self, receive):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.8K bytes - Click Count (0)