- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 3,913 for getA (0.03 sec)
-
android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
} }; List<Future<Boolean>> futureList = executor.invokeAll(ImmutableList.of(task), 10, MILLISECONDS); Future<Boolean> future = futureList.get(0); assertFalse(taskDone); assertTrue(future.isDone()); assertThrows(CancellationException.class, () -> future.get()); } public void testSameThreadScheduledExecutor() throws ExecutionException, InterruptedException { taskDone = false; Callable<Integer> task =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java
private static final Logger logger = LogManager.getLogger(ApiAdminDictSynonymAction.class); @Resource private SynonymService synonymService; // GET /api/admin/dict/synonym/settings/{dictId} @Execute public JsonResponse<ApiResult> get$settings(final String dictId, final SearchBody body) { body.dictId = dictId; validateApi(body, messages -> {});
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
mock.assertLastMethodCalled("submit"); f.get(); } { MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock); Future<String> f = testExecutor.submit(doNothing(), RESULT_VALUE); mock.assertLastMethodCalled("submit"); assertEquals(RESULT_VALUE, f.get()); } { MockExecutor mock = new MockExecutor();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 9.9K bytes - Viewed (0) -
tests/test_tutorial/test_body_updates/test_tutorial001.py
@needs_pydanticv2 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { "responses": { "200": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 11.8K bytes - Viewed (0) -
tests/test_tutorial/test_body_updates/test_tutorial001_py310.py
@needs_py310 @needs_pydanticv2 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { "responses": { "200": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 11.8K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
This is our "**path operation function**": * **path**: is `/`. * **operation**: is `get`. * **function**: is the function below the "decorator" (below `@app.get("/")`). {* ../../docs_src/first_steps/tutorial001.py hl[7] *} This is a Python function. It will be called by **FastAPI** whenever it receives a request to the URL "`/`" using a `GET` operation. In this case, it is an `async` function. ---
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:48:16 UTC 2024 - 11.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
} } } } val isMainBranch: Boolean get() = isMaster || isRelease val isMaster: Boolean get() = branchName == MASTER_BRANCH val isRelease: Boolean get() = branchName == RELEASE_BRANCH val isExperimental: Boolean get() = branchName == EXPERIMENTAL_BRANCH fun vcsRootId() = DslContext.settingsRoot.id.toString()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 26 12:59:03 UTC 2024 - 3.2K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008b_an_py39.py
return client @needs_py39 def test_get_no_item(client: TestClient): response = client.get("/items/foo") assert response.status_code == 404, response.text assert response.json() == {"detail": "Item not found"} @needs_py39 def test_owner_error(client: TestClient): response = client.get("/items/plumbus") assert response.status_code == 400, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 918 bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
return ArrayListMultimap.create(); } /** Confirm that get() returns a List implementing RandomAccess. */ public void testGetRandomAccess() { Multimap<String, Integer> multimap = create(); multimap.put("foo", 1); multimap.put("foo", 3); assertTrue(multimap.get("foo") instanceof RandomAccess); assertTrue(multimap.get("bar") instanceof RandomAccess); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
value: String, ) { builder.password(value) } override operator fun get(url: HttpUrl): String = url.password }, HOST { override fun urlString(value: String): String = "http://a${value}z.com/" override fun encodedValue(url: HttpUrl): String = get(url) override operator fun set( builder: HttpUrl.Builder, value: String, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0)