- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 64 for Chunk (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java
final PrintWriter writer = new PrintWriter(stringWriter); chatApiManager.sendSseEvent(writer, "chunk", Map.of("content", "Hello ")); final String output = stringWriter.toString(); assertTrue(output.contains("event: chunk")); assertTrue(output.contains("\"content\":\"Hello \"")); } @Test public void test_sendSseEvent_error() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 14 01:39:16 GMT 2026 - 35K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/stream-data.md
但如果你想串流純二進位資料或字串,以下是做法。 /// info 已在 FastAPI 0.134.0 新增。 /// ## 使用情境 { #use-cases } 當你想串流純字串時可以用這個機制,例如直接轉發來自 AI LLM 服務的輸出。 你也可以用它來串流大型二進位檔案,邊讀邊將每個區塊(chunk)串流出去,而不必一次把整個檔案載入記憶體。 你也可以用同樣方式串流視訊或音訊,甚至可以在處理的同時即時產生並傳送。 ## 使用 `yield` 的 `StreamingResponse` { #a-streamingresponse-with-yield } 如果在你的路徑操作函式中宣告 `response_class=StreamingResponse`,就可以用 `yield` 逐一送出每個資料區塊。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:33:04 GMT 2026 - 4.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt
* @param last when true, there is no response data. */ fun onHeaders( streamId: Int, responseHeaders: List<Header>, last: Boolean, ): Boolean /** * A chunk of response data corresponding to a pushed request. This data must either be read or * skipped. * * @param streamId server-initiated stream ID: an even number.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
/** * Function code to transceive data on a named pipe */ public static final int FSCTL_PIPE_TRANSCEIVE = 0x0011C017; /** * Function code for server-side copy chunk operation */ public static final int FSCTL_SRV_COPYCHUNK = 0x001440F2; /** * Function code to enumerate volume shadow copy snapshots */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java
throw new UnsupportedOperationException(); } @Override public String toString() { StringBuilder sb = new StringBuilder(length); for (CharSequence chunk : chunks) { sb.append(chunk); } return sb.toString(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 9.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/PrimitiveSink.java
/** * Puts an array of bytes into this sink. * * @param bytes a byte array * @return this instance */ @CanIgnoreReturnValue PrimitiveSink putBytes(byte[] bytes); /** * Puts a chunk of an array of bytes into this sink. {@code bytes[off]} is the first byte written, * {@code bytes[off + len - 1]} is the last. * * @param bytes a byte array * @param off the start offset in the array
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
private long v2 = 0x6c7967656e657261L; private long v3 = 0x7465646279746573L; // The number of bytes in the input. private long b = 0; // The final 64-bit chunk includes the last 0 through 7 bytes of m followed by null bytes // and ending with a byte encoding the positive integer b mod 256. private long finalM = 0; SipHasher(int c, int d, long k0, long k1) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.3K bytes - Click Count (0) -
tests/generics_test.go
} total := 0 err := gorm.G[User](DB).Where("name like ?", "GenericsFindBatch%").FindInBatches(ctx, 2, func(chunk []User, batch int) error { if len(chunk) > 2 { t.Errorf("batch size exceed 2: got %d", len(chunk)) } total += len(chunk) return nil }) if err != nil { t.Fatalf("FindInBatches failed: %v", err) } if total != len(users) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Hasher.java
* newHasher().putByte(b1).putBytes(new byte[] { b2, b3 }).hash() * newHasher().putBytes(new byte[] { b1, b2, b3 }).hash() * } * * <p>If you wish to avoid this, you should either prepend or append the size of each chunk. Keep in * mind that when dealing with char sequences, the encoded form of two concatenated char sequences * is not equivalent to the concatenation of their encoded form. Therefore, {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 5.5K bytes - Click Count (0) -
docs/bigdata/README.md
fs.s3a.fast.upload.buffer=disk # Use disk as the buffer for uploads fs.s3a.fast.upload=true # Turn on fast upload mode fs.s3a.max.total.tasks=2048 # Maximum number of parallel tasks fs.s3a.multipart.size=512M # Size of each multipart chunk fs.s3a.multipart.threshold=512M # Size before using multipart uploads fs.s3a.socket.recv.buffer=65536 # Read socket buffer hint fs.s3a.socket.send.buffer=65536 # Write socket buffer hint
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 14.7K bytes - Click Count (0)