- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 1,014 for iter (0.02 seconds)
-
docs_src/extra_models/tutorial004_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str items = [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] @app.get("/items/", response_model=list[Item]) async def read_items():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 356 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
item.setText(null); item.setTimestamp(ZonedDateTime.now()); SuggestUtil.createBulkLine("test_index", "_doc", item); } @Test public void testCreateBulkLineWithMultipleReadings() { // Test with multiple reading levels SuggestItem item = new SuggestItem(new String[] { "test" },
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 26.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/Streams.java
zip(streamA, streamB, TemporaryPair::new).forEach(pair -> consumer.accept(pair.a, pair.b)); } else { Iterator<A> iterA = streamA.iterator(); Iterator<B> iterB = streamB.iterator(); while (iterA.hasNext() && iterB.hasNext()) { consumer.accept(iterA.next(), iterB.next()); } } } // Use this carefully - it doesn't implement value semantics
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
return badWords; } /** * Indexes a single suggest item. * @param item The suggest item to index. * @return The SuggestIndexResponse. */ public SuggestIndexResponse index(final SuggestItem item) { ensureOperations(); return indexingOps.index(index, item, badWords); } /** * Indexes multiple suggest items.Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 20.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/user/AdminUserActionTest.java
final Map<String, String> item = adminUserAction.createItem("Label", "value"); assertNotNull(item); assertEquals(2, item.size()); assertEquals("Label", item.get(Constants.ITEM_LABEL)); assertEquals("value", item.get(Constants.ITEM_VALUE)); } @Test public void test_createItem_emptyValues() { final Map<String, String> item = adminUserAction.createItem("", "");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/webapp/WEB-INF/orig/view/searchOptions.jsp
<la:select property="lang" styleId="langSearchOption" multiple="true" styleClass="form-control"> <c:forEach var="item" items="${langItems}"> <la:option value="${f:u(item.value)}">${f:h(item.label)}</la:option> </c:forEach> </la:select> </fieldset> <c:if test="${displayLabelTypeItems}"> <fieldset class="mb-3">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 18 05:47:48 GMT 2025 - 3.7K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/searchOptions.jsp
<la:select property="lang" styleId="langSearchOption" multiple="true" styleClass="form-control"> <c:forEach var="item" items="${langItems}"> <la:option value="${f:u(item.value)}">${f:h(item.label)}</la:option> </c:forEach> </la:select> </fieldset> <c:if test="${displayLabelTypeItems}"> <fieldset class="mb-3">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 18 05:47:48 GMT 2025 - 3.7K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader_details.jsp
key="labels.reqheader_web_crawling_config"/></th> <td><c:forEach var="item" items="${webConfigItems}"> <c:if test="${webConfigId==item.value}">${f:h(item.label)}</c:if> </c:forEach> <la:hidden property="webConfigId"/></td> </tr>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 4.7K bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial005_py310.py
from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item = Body(embed=True)): results = {"item_id": item_id, "item": item}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 369 bytes - Click Count (0) -
docs_src/body_nested_models/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: list[str] = [] @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 369 bytes - Click Count (0)