- Sort Score
- Result 10 results
- Languages All
Results 2881 - 2890 of 7,081 for returns (0.06 sec)
-
tests/test_filter_pydantic_sub_model_pv2.py
raise ValueError("name must end in A") return name async def get_model_c() -> ModelC: return ModelC(username="test-user", password="test-password") @app.get("/model/{name}", response_model=ModelA) async def get_model_a(name: str, model_c=Depends(get_model_c)): return {"name": name, "description": "model-a-desc", "foo": model_c} client = TestClient(app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
return OptionalEntity.of(entity); case CrudMode.EDIT: if (form instanceof EditForm) { return ComponentUtil.getComponent(StopwordsService.class).getStopwordsItem(form.dictId, ((EditForm) form).id); } break; default: break; } return OptionalEntity.empty(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
bufferIndex += securityBufferLength; return bufferIndex - start; } /** * @return whether the session is either anonymous or a guest session */ public boolean isLoggedInAsGuest () { return ( this.sessionFlags & ( SMB2_SESSION_FLAGS_IS_GUEST | SMB2_SESSION_FLAGS_IS_NULL ) ) != 0; } /** * @return the sessionFlags */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java
@Experimental public interface ModelBuilderResult { /** * Gets the source from which the model was read. * * @return The source from which the model was read, never {@code null}. */ @Nonnull ModelSource getSource(); /** * Gets the file model. * * @return the file model, never {@code null}. */ @Nonnull Model getFileModel(); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
return seed == other.seed && supplementaryPlaneFix == other.supplementaryPlaneFix; } return false; } @Override public int hashCode() { return getClass().hashCode() ^ seed; } @Override public HashCode hashInt(int input) { int k1 = mixK1(input); int h1 = mixH1(seed, k1); return fmix(h1, Ints.BYTES); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 11.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
return true; } } return false; } /** * * @param svr * @return whether the given address is the configured broadcast address */ private boolean isBroadcastAddress(InetAddress svr) { return svr.equals(this.baddr) || svr.getAddress()[3] == (byte) 0xFF; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0) -
docs_src/bigger_applications/app_an/routers/items.py
fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}} @router.get("/") async def read_items(): return fake_items_db @router.get("/{item_id}") async def read_item(item_id: str): if item_id not in fake_items_db: raise HTTPException(status_code=404, detail="Item not found") return {"name": fake_items_db[item_id]["name"], "item_id": item_id} @router.put( "/{item_id}", tags=["custom"],
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 1011 bytes - Viewed (0) -
docs_src/request_files/tutorial003_py39.py
@app.post("/files/") async def create_files( files: list[bytes] = File(description="Multiple files as bytes"), ): return {"file_sizes": [len(file) for file in files]} @app.post("/uploadfiles/") async def create_upload_files( files: list[UploadFile] = File(description="Multiple files as UploadFile"), ): return {"filenames": [file.filename for file in files]} @app.get("/") async def main(): content = """ <body>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 888 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/SearchForm.java
return LaRequestUtil.getOptionalRequest().map(req -> req.getAttribute(name)).orElse(null); } @Override public Locale getLocale() { return ComponentUtil.getRequestManager().getUserLocale(); } @Override public SearchRequestType getType() { return SearchRequestType.SEARCH; } @Override public String getSimilarDocHash() { return sdh; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.5K bytes - Viewed (0)