- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 1,031 for wait (0.02 seconds)
-
internal/bucket/lifecycle/evaluator_test.go
} now := time.Date(2025, time.February, 10, 23, 0, 0, 0, time.UTC) gotEvents := evaluator.eval(objs, now) for i := range wantEvents { if gotEvents[i].Action != wantEvents[i].Action { t.Fatalf("got %v, want %v", gotEvents[i], wantEvents[i]) } } lc = prepLifecycleCfg([]string{"tag3", "tag4", "tag5"}, []int{1, 2, 3}) objs = objs[:len(objs)-1] wantEvents = []Event{ {Action: NoneAction}, {Action: NoneAction},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Apr 08 15:41:24 GMT 2025 - 5K bytes - Click Count (0) -
docs/ja/docs/async.md
# 並行処理と async / await { #concurrency-and-async-await } *path operation 関数*のための `async def` 構文に関する詳細と、非同期コード、並行処理、並列処理の背景についてです。 ## 急いでいますか? { #in-a-hurry } <abbr title="too long; didn't read - 長すぎて読まなかった"><strong>TL;DR:</strong></abbr> 次のように `await` で呼び出すよう指示されているサードパーティライブラリを使っているなら: ```Python results = await some_library() ``` *path operation 関数*は次のように `async def` で宣言します: ```Python hl_lines="2" @app.get('/')Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 27.9K bytes - Click Count (0) -
fastapi/exception_handlers.py
content={"detail": jsonable_encoder(exc.errors())}, ) async def websocket_request_validation_exception_handler( websocket: WebSocket, exc: WebSocketRequestValidationError ) -> None: await websocket.close( code=WS_1008_POLICY_VIOLATION, reason=jsonable_encoder(exc.errors())Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Sep 16 17:21:48 GMT 2025 - 1.2K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial002_an_py310.py
original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: try: return await original_route_handler(request) except RequestValidationError as exc: body = await request.body() detail = {"errors": exc.errors(), "body": body.decode()} raise HTTPException(status_code=422, detail=detail)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 974 bytes - Click Count (0) -
docs/fr/docs/alternatives.md
Ce découplage des parties, et le fait d'être un « micro‑framework » qui puisse être étendu pour couvrir exactement ce qui est nécessaire, était une caractéristique clé que je voulais conserver.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 26.6K bytes - Click Count (0) -
fastapi/security/api_key.py
available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can be provided in one of multiple optional ways (for example, in a query parameter or in an HTTP Bearer token).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 9.6K bytes - Click Count (1) -
docs/fr/docs/tutorial/bigger-applications.md
. ├── app # "app" est un package Python │ ├── __init__.py # ce fichier fait de "app" un "package Python" │ ├── main.py # module "main", ex. import app.main │ ├── dependencies.py # module "dependencies", ex. import app.dependencies │ └── routers # "routers" est un "sous-package Python" │ │ ├── __init__.py # fait de "routers" un "sous-package Python"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 21.4K bytes - Click Count (0) -
fastapi/security/http.py
is not available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can be provided in one of multiple optional ways (for example, in HTTP Basic authentication or in an HTTP Bearer token).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 13.1K bytes - Click Count (0) -
benchmarks/README.md
sudo cp .libs/libhsdis.so.0.0.0 /usr/lib/jvm/java-14-adoptopenjdk/lib/hsdis-amd64.so ``` If you want to disassemble a single method do something like this: ``` gradlew -p benchmarks run --args ' MemoryStatsBenchmark -jvmArgs "-XX:+UnlockDiagnosticVMOptions -XX:CompileCommand=print,*.yourMethodName -XX:PrintAssemblyOptions=intel" ``` If you want `perf` to find the hot methods for you then do add `-prof perfasm`. ## Async Profiler
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) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
*/ public void assertSuccess(Object expectedData) throws Throwable { // Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { Assert.assertEquals(expectedData, future.get()); } catch (ExecutionException e) { throw e.getCause(); } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Click Count (0)