Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 477 for _wait (0.42 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                    // Remove the waiter, one way or another we are done parking this thread.
                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waitersField; // re-read and loop.
            } while (oldHead != Waiter.TOMBSTONE);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        assertSame(exception, e.getCause());
      }
    
      private static void awaitUnchecked(CyclicBarrier barrier) {
        try {
          barrier.await();
        } catch (Exception e) {
          throw new RuntimeException(e);
        }
      }
    
      private void checkStackTrace(ExecutionException e) {
        // Our call site for get() should be in the trace.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbSessionTest.java

                            }
                        } finally {
                            latch.countDown();
                        }
                    }).start();
                }
    
                latch.await(5, java.util.concurrent.TimeUnit.SECONDS);
                assertEquals(5, successCount.get(), "All concurrent calls should succeed");
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/testing.md

    チェックしたい Python の標準的な式と共に、シンプルに `assert` 文を記述します。
    
    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip | 豆知識
    
    テスト関数は `async def` ではなく、通常の `def` であることに注意してください。
    
    また、クライアントへの呼び出しも通常の呼び出しであり、`await` を使用しません。
    
    これにより、煩雑にならずに、`pytest` を直接使用できます。
    
    ///
    
    /// note | 技術詳細
    
    `from starlette.testclient import TestClient` も使用できます。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/dependencies/index.md

    Это всё не важно. **FastAPI** знает, что нужно сделать. 😎
    
    /// note | Информация
    
    Если вам эта тема не знакома, прочтите [Async: *"In a hurry?"*](../../async.md){.internal-link target=_blank} раздел о `async` и `await` в документации.
    
    ///
    
    ## Интеграция с OpenAPI
    
    Все заявления о запросах, валидаторы, требования ваших зависимостей (и подзависимостей) будут интегрированы в соответствующую OpenAPI-схему.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.7K bytes
    - Viewed (1)
  6. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

                    }
                });
            }
    
            // Start all threads
            for (Thread thread : threads) {
                thread.start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                try {
                    thread.join();
                } catch (InterruptedException e) {
                    fail("Thread interrupted");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

                    });
                }
    
                // Start all threads
                for (Thread thread : threads) {
                    thread.start();
                }
    
                // Wait for all threads to complete
                for (Thread thread : threads) {
                    try {
                        thread.join();
                    } catch (InterruptedException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            doThrow(new RuntimeException(new InterruptedException("Interrupted"))).when(transport).connect();
    
            // Should throw exception due to interrupted wait
            assertThrows(RuntimeException.class, () -> tree.treeConnect(null, null));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. docs/ko/docs/index.md

    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>또는 <code>async def</code> 사용하기...</summary>
    
    여러분의 코드가 `async` / `await`을 사용한다면, `async def`를 사용하십시오.
    
    ```Python hl_lines="9 14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

                    } catch (Exception e) {
                        success[index] = false;
                    }
                });
                threads[i].start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join();
            }
    
            // All threads should complete successfully
            for (boolean s : success) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top