- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 1,313 for bytes (0.02 seconds)
-
tests/test_stream_cancellation.py
"""Call the ASGI app for *path* and cancel after *timeout* seconds. Returns `True` if the cancellation was delivered (i.e. it did not hang). """ chunks: list[bytes] = [] async def receive(): # type: ignore[no-untyped-def] # Simulate a client that never disconnects, rely on cancellation await anyio.sleep(float("inf"))Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
} @Test @DisplayName("Should return correct number of bytes consumed from buffer") void shouldReturnCorrectBytesConsumed() throws SMBProtocolDecodingException { // Given - larger buffer than needed byte[] buffer = new byte[100]; ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN); bb.putLong(1000L);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/FileEntry.java
* * @return the last modified time in milliseconds since epoch */ long lastModified(); /** * Gets the file size. * * @return the file size in bytes */ long length();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 881 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) -
cmd/handler-utils_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 6.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixList.kt
*/ package okhttp3.internal.publicsuffix import okio.ByteString /** * Basic I/O for `PublicSuffixDatabase.list` */ internal interface PublicSuffixList { fun ensureLoaded() val bytes: ByteString val exceptionBytes: ByteString companion object }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 929 bytes - Click Count (0) -
docs/metrics/prometheus/grafana/replication/minio-replication-node.json
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Aug 04 01:46:49 GMT 2025 - 57.5K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/request-forms-and-files.md
以與 `Body` 或 `Query` 相同的方式建立檔案與表單參數: {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *} 檔案與表單欄位會作為表單資料上傳,而你將能接收到這些檔案與欄位。 你也可以將部分檔案宣告為 `bytes`,另一些宣告為 `UploadFile`。 /// warning 你可以在一個路徑操作 (path operation) 中宣告多個 `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:05:38 GMT 2026 - 1.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/LoggingOutputStream.java
*/ public abstract class LoggingOutputStream extends OutputStream { /** The starting length of the buffer */ private static final int DEFAULT_BUFFER_LENGTH = 4096; /** The buffer of bytes sent to the stream */ private byte[] buffer = new byte[DEFAULT_BUFFER_LENGTH]; /** Offset of the start of unwritten data in the buffer */ private int start = 0; /** Offset of the end (semi-open) of unwritten data in the buffer */Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.1K bytes - Click Count (0) -
internal/s3select/genmessage.go
buf = new(bytes.Buffer) binary.Write(buf, binary.BigEndian, uint32(totalLength)) binary.Write(buf, binary.BigEndian, uint32(headerLength)) prelude := buf.Bytes() binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(prelude)) buf.Write(header) message := buf.Bytes() binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(message)) fmt.Println(buf.Bytes()) } func genProgressHeader() {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 4.4K bytes - Click Count (0)