- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 541 for item1 (0.02 sec)
-
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
} public static SuggestItem merge(final SuggestItem item1, final SuggestItem item2) { if (!item1.getId().equals(item2.getId())) { throw new IllegalArgumentException("Item id is mismatch."); } final SuggestItem mergedItem = new SuggestItem(); mergedItem.id = item1.getId(); mergedItem.text = item1.getText();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 20.1K bytes - Viewed (0) -
tests/query_test.go
Number2: 200, Number3: 300.1, Now: &now, Item1: &QueryResetItem{ ID: "u_1_1", Name: "item_1_1", }, Item2: &QueryResetItem{ ID: "u_1_2", Name: "item_1_2", }, } q2 := QueryResetNullValue{ Item1: &QueryResetItem{ ID: "u_2_1", Name: "item_2_1", }, Item2: &QueryResetItem{ ID: "u_2_2", Name: "item_2_2", },
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 50.4K bytes - Viewed (0) -
tests/test_openapi_examples.py
from fastapi import Body, Cookie, FastAPI, Header, Path, Query from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): data: str @app.post("/examples/") def examples( item: Item = Body( examples=[ {"data": "Data in Body examples, example1"}, ], openapi_examples={ "Example One": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 15:57:43 UTC 2024 - 17.7K bytes - Viewed (0) -
tests/test_openapi_separate_input_output_schemas.py
@app.post("/items/", responses={402: {"model": Item}}) def create_item(item: Item) -> Item: return item @app.post("/items-list/") def create_item_list(item: List[Item]): return item @app.get("/items/") def read_items() -> List[Item]: return [ Item( name="Portal Gun",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 19.7K bytes - Viewed (0) -
internal/store/queuestore.go
if err != nil { return item, err } if len(eventData) == 0 { return item, os.ErrNotExist } if err = json.Unmarshal(eventData, &item); err != nil { return item, err } return item, nil } // GetMultiple will read the multi payload file and fetch the items func (store *QueueStore[I]) GetMultiple(key Key) (items []I, err error) { store.RLock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/advance.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> </div> <div class="col-lg-4 d-none d-lg-flex align-items-center"> </div> </div> <c:if test="${displayLabelTypeItems}"> <div class="form-group row">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
} // TODO return result public SuggestIndexResponse index(final SuggestItem item) { return index(new SuggestItem[] { item }); } // TODO return result public SuggestIndexResponse index(final SuggestItem[] items) { // TODO parallel? final SuggestItem[] array = Stream.of(items).filter(item -> !item.isBadWord(badWords)).toArray(n -> new SuggestItem[n]); try {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
tests/test_tutorial/test_dataclasses/test_tutorial002.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Jul 31 14:09:15 UTC 2024 - 3.5K bytes - Viewed (0) -
docs_src/app_testing/app_b_an_py310/main.py
raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/", response_model=Item) async def create_item(item: Item, x_token: Annotated[str, Header()]): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db: raise HTTPException(status_code=409, detail="Item already exists") fake_db[item.id] = item
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 22:31:16 UTC 2024 - 1.1K bytes - Viewed (0) -
internal/store/batch.go
return err } } b.items = append(b.items, item) return nil } // Len returns the no of items in the batch func (b *Batch[_]) Len() int { b.Lock() defer b.Unlock() return len(b.items) } func (b *Batch[_]) isFull() bool { return len(b.items) >= int(b.limit) } func (b *Batch[I]) commit() error { switch len(b.items) { case 0: return nil case 1:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 2.9K bytes - Viewed (0)