- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 475 for _wait (0.02 sec)
-
src/main/java/jcifs/smb/RequestParam.java
* * @author mbechler * * <p>This interface is intended for internal use.</p> */ public enum RequestParam { /** * No special request parameters. */ NONE, /** * Wait indefinitely for a response */ NO_TIMEOUT, /** * Do not retry request on failure */ NO_RETRY, /** * Save the raw payload for further inspection */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
final byte[] buf = new byte[1024]; for (int ii = 0; ii < numIter; ii++) { synchronized (this) { ltime = System.currentTimeMillis(); wait(); } try { final double r = Math.random(); if (r < 0.333) { f.exists();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
/** * Asserts that a prior call that had caused this thread to block or wait has since returned * normally. */ public void assertPriorCallReturns(@Nullable String methodName) throws Exception { assertEquals(null, getResponse(methodName).getResult()); } /** * Asserts that a prior call that had caused this thread to block or wait has since returned the * expected boolean value. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
synchronized (w) { w.checkException(); while (!w.isReady()) { try { w.wait(); } catch (final InterruptedException ie) { throw new SmbException(dest.getURL().toString(), ie); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
docs/ko/docs/advanced/events.md
```Python with open("file.txt") as file: file.read() ``` 최근 버전의 파이썬에서는 **비동기 컨텍스트 매니저**도 있습니다. 이를 `async with`와 함께 사용합니다: ```Python async with lifespan(app): await do_stuff() ``` 컨텍스트 매니저나 위와 같은 비동기 컨텍스트 매니저를 만들면, `with` 블록에 들어가기 전에 `yield` 이전의 코드가 실행되고, `with` 블록을 벗어난 후에는 `yield` 이후의 코드가 실행됩니다. 위의 코드 예제에서는 직접 사용하지 않고, FastAPI에 전달하여 사용하도록 합니다.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 13:33:53 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
// (which will block) in the same thread. new Thread() { @Override public void run() { inputFuture.set(SLOW_FUNC_VALID_INPUT_DATA); } }.start(); funcIsWaitingLatch.await(); assertTrue(resultFuture.cancel(true)); assertTrue(resultFuture.isCancelled()); assertFalse(inputFuture.isCancelled()); assertFalse(outputFuture.isCancelled());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
// (which will block) in the same thread. new Thread() { @Override public void run() { inputFuture.set(SLOW_FUNC_VALID_INPUT_DATA); } }.start(); funcIsWaitingLatch.await(); assertTrue(resultFuture.cancel(true)); assertTrue(resultFuture.isCancelled()); assertFalse(inputFuture.isCancelled()); assertFalse(outputFuture.isCancelled());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.3K bytes - Viewed (0) -
docs/es/docs/advanced/dataclasses.md
Como siempre, en FastAPI puedes combinar `def` y `async def` según sea necesario. Si necesitas un repaso sobre cuándo usar cuál, revisa la sección _"¿Con prisa?"_ en la documentación sobre [`async` y `await`](../async.md#in-a-hurry){.internal-link target=_blank}. 9. Esta *path operation function* no está devolviendo dataclasses (aunque podría), sino una lista de diccionarios con datos internos.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/pt/docs/advanced/dataclasses.md
Como sempre, no FastAPI você pode combinar `def` e `async def` conforme necessário. Se você precisar de uma atualização sobre quando usar qual, confira a seção _"Com pressa?"_ na documentação sobre [`async` e `await`](../async.md#in-a-hurry){.internal-link target=_blank}. 9. Esta *função de operação de rota* não está retornando dataclasses (embora pudesse), mas uma lista de dicionários com dados internos.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/uk/docs/tutorial/background-tasks.md
Вона може бути асинхронною `async def` або звичайною `def` функцією – **FastAPI** обробить її правильно. У нашому випадку функція записує у файл (імітуючи надсилання email). І оскільки операція запису не використовує `async` та `await`, ми визначаємо функцію як звичайну `def`: {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *} ## Додавання фонової задачі
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 13:34:53 UTC 2025 - 7.6K bytes - Viewed (0)