- Sort Score
- Num 10 results
- Language All
Results 701 - 710 of 4,168 for get (0.03 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
listener = new MockFutureListener(resultFuture); } public void testFutureGetBeforeCallback() throws Exception { // Verify that get throws a timeout exception before the callback is called. assertThrows(TimeoutException.class, () -> resultFuture.get(1L, MILLISECONDS)); } public void testFutureGetThrowsWrappedException() throws Exception { inputFuture.setException(EXCEPTION);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.6K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/simple-oauth2.md
User: `johndoe` Password: `secret` <img src="/img/tutorial/security/image04.png"> 在系統中完成驗證後,你會看到如下畫面: <img src="/img/tutorial/security/image05.png"> ### 取得自己的使用者資料 { #get-your-own-user-data } 現在使用 `GET` 方法呼叫路徑 `/users/me`。 你會取得自己的使用者資料,如: ```JSON { "username": "johndoe", "email": "******@****.***", "full_name": "John Doe", "disabled": false,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 9.1K bytes - Click Count (0) -
MIGRATION.md
fess_doc = { "url": doc.get("url", ""), "title": doc.get("title", ""), "content": doc.get("content", ""), "mimetype": doc.get("mimetype", "text/html"), "filetype": doc.get("filetype", "html"), "created": doc.get("@timestamp", ""), "timestamp": doc.get("@timestamp", ""), # Add custom fields as needed }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 12:40:11 GMT 2025 - 23.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java
* It is designed to avoid the instantiation. */ public final class Constants { /** * The GET method. */ public static final String GET_METHOD = "GET"; /** * The HEAD method. */ public static final String HEAD_METHOD = "HEAD"; /** * The POST method. */Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3.6K bytes - Click Count (0) -
benchmarks/README.md
end the class name of a benchmark with `Benchmark`. To have JMH execute a benchmark, annotate the respective methods with `@Benchmark`. ## Tips and Best Practices To get realistic results, you should exercise care when running benchmarks. Here are a few tips: ### Do
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon May 03 15:30:50 GMT 2021 - 5.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
ctClass.metadata ?.let { KotlinClassMetadata.readStrict(it) } ?.let { query(it) } ?: false private val CtClass.metadata: Metadata? get() = ctAnnotation<Metadata>()?.let { annotation -> Metadata( kind = annotation.getMemberValue("k")?.intValue ?: 1,Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jul 04 09:21:38 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Supplier.java
* * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A * future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code * java.util.function.Supplier}, making conversion code necessary only in one direction. At that
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jun 19 17:20:48 GMT 2025 - 3K bytes - Click Count (0) -
tests/test_security_http_bearer_optional.py
client = TestClient(app) def test_security_http_bearer(): response = client.get("/users/me", headers={"Authorization": "Bearer foobar"}) assert response.status_code == 200, response.text assert response.json() == {"scheme": "Bearer", "credentials": "foobar"} def test_security_http_bearer_no_credentials(): response = client.get("/users/me") assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.3K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_description.py
tokenUrl="token", description="OAuth2 Code Bearer", auto_error=True, ) @app.get("/items/") async def read_items(token: str | None = Security(oauth2_scheme)): return {"token": token} client = TestClient(app) def test_no_token(): response = client.get("/items") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.5K bytes - Click Count (0) -
tests/test_security_oauth2_password_bearer_optional.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/token", auto_error=False) @app.get("/items/") async def read_items(token: str | None = Security(oauth2_scheme)): if token is None: return {"msg": "Create an account first"} return {"token": token} client = TestClient(app) def test_no_token(): response = client.get("/items") assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.2K bytes - Click Count (0)