- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 664 for ITEM (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
public Collection<ChannelInfo> getHealthyChannels() { return channels.values() .stream() .filter(ChannelInfo::isHealthy) .collect(ArrayList::new, (list, item) -> list.add(item), (list1, list2) -> list1.addAll(list2)); } /** * Select a channel for the given message * * @param message message to send * @return selected channel */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 20K bytes - Click Count (0) -
tests/test_stream_cancellation.py
@app.get("/stream-raw", response_class=StreamingResponse) async def stream_raw() -> AsyncIterable[str]: """Async generator with no internal await - would hang without checkpoint.""" i = 0 while True: yield f"item {i}\n" i += 1 @app.get("/stream-jsonl") async def stream_jsonl() -> AsyncIterable[int]: """JSONL async generator with no internal await.""" i = 0 while True: yield i
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) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
urlQueue.setMethod("GET"); urlQueue.setSessionId(sessionId); urlQueue.setUrl("http://www.example.com/page1"); urlQueueService.insert(urlQueue); // Poll should return the item final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId); assertNotNull(polled); assertEquals("http://www.example.com/page1", polled.getUrl());
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 14.5K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py
{"OAuth2AuthorizationCodeBearer": ["read"]}, ], }, "post": { "summary": "Create Item", "operationId": "create_item_items__post", "responses": { "200": { "description": "Successful Response",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.6K bytes - Click Count (0) -
docs/en/docs/advanced/stream-data.md
/// ### `yield from` { #yield-from } When you are iterating over something, like a file-like object, and then you are doing `yield` for each item, you could also use `yield from` to yield each item directly and skip the `for` loop. This is not particular to FastAPI, it's just Python, but it's a nice trick to know. 😎Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
internal/s3select/csv/reader.go
for len(r.current) <= r.recordsRead { if r.err != nil { return nil, r.err } // Move to next block item, ok := <-r.queue if !ok { r.err = io.EOF return nil, r.err } r.csvDstPool.Put(r.current) r.current = <-item.dst r.err = item.err r.recordsRead = 0 } csvRecord := r.current[r.recordsRead] r.recordsRead++ // If no column names are set, use _(index)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
docs/en/docs/advanced/generate-clients.md
{* ../../docs_src/generate_clients/tutorial001_py310.py hl[7:9,12:13,16:17,21] *} Notice that the *path operations* define the models they use for request payload and response payload, using the models `Item` and `ResponseMessage`. ### API Docs { #api-docs } If you go to `/docs`, you will see that it has the **schemas** for the data to be sent in requests and received in responses:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.7K bytes - Click Count (1) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
assertEquals(expected.length, actual.size(), "Collection size mismatch"); for (T item : expected) { assertTrue(actual.contains(item), "Collection should contain: " + item); } } @Test void testPerformProfileActivation() throws ParseException { final CommandLineParser parser = new DefaultParser();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/server-sent-events.md
从 `fastapi.sse` 导入 `EventSourceResponse`: {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *} 每个被 yield 的项会被编码为 JSON,并放入 SSE 事件的 `data:` 字段发送。 如果你将返回类型声明为 `AsyncIterable[Item]`,FastAPI 将使用它通过 Pydantic对数据进行**校验**、**文档化**和**序列化**。 {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *} /// tip | 提示 由于 Pydantic 会在**Rust** 端序列化它,相比未声明返回类型,你将获得更高的**性能**。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 4.6K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/wizard/admin_wizard.jsp
</h1> </div> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item active"><la:link href="/admin/wizard/"> <la:message key="labels.wizard_start_title"/> </la:link></li> </ol> </div>Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 3.6K bytes - Click Count (0)