Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 296 for yielded (0.04 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

                  @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races
                  protected Schedule getNextSchedule() throws Exception {
                    // Explicitly yield to increase the probability of a pathological scheduling.
                    Thread.yield();
                    return new Schedule(0, SECONDS);
                  }
                };
              }
            };
        service.useBarriers = false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          afe.initCause(t);
          throw afe;
        }
      }
    
      /**
       * Delays, via Thread.sleep, for the given millisecond delay, but if the sleep is shorter than
       * specified, may re-sleep or yield until time elapses.
       */
      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait?
      static void delay(long millis) throws InterruptedException {
        long startTime = System.nanoTime();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/stream-json-lines.md

    動画や音声などのバイナリデータをストリームしたい場合は、上級ガイドを参照してください: [データのストリーム](../advanced/stream-data.md)。
    
    ///
    
    ## FastAPI で JSON Lines をストリームする { #stream-json-lines-with-fastapi }
    
    FastAPI で JSON Lines をストリームするには、*path operation 関数*で `return` を使う代わりに、`yield` を使って各アイテムを順に生成します。
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *}
    
    送り返す各 JSON アイテムが `Item`(Pydantic モデル)型で、関数が async の場合、戻り値の型を `AsyncIterable[Item]` と宣言できます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  4. docs/tr/docs/advanced/custom-response.md

    Bir async generator veya normal generator/iterator (içinde `yield` olan bir fonksiyon) alır ve response body’yi stream eder.
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | Teknik Detaylar
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/middleware.md

    * Sonra o **response** üzerinde bir işlem yapabilir veya gerekli herhangi bir kodu çalıştırabilir.
    * Son olarak **response**'u döndürür.
    
    /// note | Teknik Detaylar
    
    `yield` ile dependency'leriniz varsa, çıkış (exit) kodu middleware'den *sonra* çalışır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

    class StaticJAASConfigurationTest {
    
        // Constants used in assertions
        private static final String EXPECTED_LOGIN_MODULE = "com.sun.security.auth.module.Krb5LoginModule";
    
        @Test
        @DisplayName("Default constructor yields REQUIRED Krb5 entry with empty options")
        void defaultConstructor_producesRequiredKrb5EntryWithEmptyOptions() {
            // Arrange
            StaticJAASConfiguration cfg = new StaticJAASConfiguration();
    
            // Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/middleware.md

    * Il peut faire quelque chose avec cette **réponse** ou exécuter tout code nécessaire.
    * Enfin, il renvoie la **réponse**.
    
    /// note | Détails techniques
    
    Si vous avez des dépendances avec `yield`, le code de sortie s’exécutera après le middleware.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/middleware.md

    * Sie kann etwas mit dieser **Response** tun oder beliebigen Code ausführen.
    * Dann gibt sie die **Response** zurück.
    
    /// note | Technische Details
    
    Wenn Sie Abhängigkeiten mit `yield` haben, wird der Exit-Code *nach* der Middleware ausgeführt.
    
    Wenn es Hintergrundtasks gab (dies wird später im [Hintergrundtasks](background-tasks.md)-Abschnitt behandelt), werden sie *nach* allen Middlewares ausgeführt.
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/middleware.md

    * Ele pode fazer algo com essa **resposta** ou executar qualquer código necessário.
    * Então ele retorna a **resposta**.
    
    /// note | Detalhes Técnicos
    
    Se você tiver dependências com `yield`, o código de saída será executado *depois* do middleware.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/custom-response.md

    Nimmt einen asynchronen Generator oder einen normalen Generator/Iterator (eine Funktion mit `yield`) und streamt den Responsebody.
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | Technische Details
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.5K bytes
    - Click Count (0)
Back to Top