Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 442 for cleanup (0.06 seconds)

  1. CHANGELOG/CHANGELOG-1.23.md

      - [Changelog since v1.23.14](#changelog-since-v12314)
      - [Changes by Kind](#changes-by-kind-2)
        - [Feature](#feature-2)
        - [Bug or Regression](#bug-or-regression-2)
        - [Other (Cleanup or Flake)](#other-cleanup-or-flake)
      - [Dependencies](#dependencies-2)
        - [Added](#added-2)
        - [Changed](#changed-2)
        - [Removed](#removed-2)
    - [v1.23.14](#v12314)
      - [Downloads for v1.23.14](#downloads-for-v12314)
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Feb 28 21:06:52 GMT 2023
    - 424.5K bytes
    - Click Count (0)
  2. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    # Abhängigkeiten mit `yield` { #dependencies-with-yield }
    
    FastAPI unterstützt Abhängigkeiten, die nach Abschluss einige <abbr title="Manchmal auch genannt „Exit Code“, „Cleanup Code“, „Teardown Code“, „Closing Code“, „Kontextmanager Exit Code“, usw.">zusätzliche Schritte ausführen</abbr>.
    
    Verwenden Sie dazu `yield` statt `return` und schreiben Sie die zusätzlichen Schritte / den zusätzlichen Code danach.
    
    /// tip | Tipp
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.15.md

        - [Node Binaries](#node-binaries)
      - [Changelog since v1.15.11](#changelog-since-v11511)
      - [Changes by Kind](#changes-by-kind)
        - [Bug or Regression](#bug-or-regression)
        - [Other (Cleanup or Flake)](#other-cleanup-or-flake)
    - [v1.15.11](#v11511)
      - [Downloads for v1.15.11](#downloads-for-v11511)
        - [Client Binaries](#client-binaries-1)
        - [Server Binaries](#server-binaries-1)
        - [Node Binaries](#node-binaries-1)
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 278.9K bytes
    - Click Count (0)
  4. cmd/local-locker_test.go

    		t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), len(rResources), len(wResources))
    	}
    
    	// Expire a minute ago.
    	l.expireOldLocks(-time.Minute)
    	if len(l.lockMap) != 0 {
    		t.Fatalf("after cleanup should be empty, got %d", len(l.lockMap))
    	}
    	if len(l.lockUID) != 0 {
    		t.Fatalf("lockUID len, got %d, want %d", len(l.lockUID), 0)
    	}
    }
    
    func TestLocalLockerUnlock(t *testing.T) {
    	const n = 1000
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // can't compare map contents until cleanup occurs
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
            segment.expand();
          }
          assertThat(segment.table.length()).isEqualTo(i);
          assertThat(countLiveEntries(map, 0)).isEqualTo(liveCount);
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // can't compare map contents until cleanup occurs
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
            segment.expand();
          }
          assertThat(segment.table.length()).isEqualTo(i);
          assertThat(countLiveEntries(map, 0)).isEqualTo(liveCount);
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 115.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // Note that if all the futures on the list are done prior to completing this loop, the last
          // call to addListener() will callback to setOneValue(), transitively call our cleanup
          // listener, and set this.futures to null.
          // This is not actually a problem, since the foreach only needs this.futures to be non-null
          // at the beginning of the loop.
          int i = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    # 使用yield的依赖项
    
    FastAPI支持在完成后执行一些<abbr title='有时也被称为"退出"("exit"),"清理"("cleanup"),"拆卸"("teardown"),"关闭"("close"),"上下文管理器"("context managers")。 ...'>额外步骤</abbr>的依赖项.
    
    为此,你需要使用 `yield` 而不是 `return`,然后再编写这些额外的步骤(代码)。
    
    /// tip | 提示
    
    确保在每个依赖中只使用一次 `yield`。
    
    ///
    
    /// note | 技术细节
    
    任何一个可以与以下内容一起使用的函数:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 11.3K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencies with yield { #dependencies-with-yield }
    
    FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>.
    
    To do this, use `yield` instead of `return`, and write the extra steps (code) after.
    
    /// tip
    
    Make sure to use `yield` one single time per dependency.
    
    ///
    
    /// note | Technical Details
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    # yieldを持つ依存関係
    
    FastAPIは、いくつかの<abbr title='時々"exit"、"cleanup"、"teardown"、"close"、"context managers"、 ...のように呼ばれる'>終了後の追加のステップ</abbr>を行う依存関係をサポートしています。
    
    これを行うには、`return`の代わりに`yield`を使い、その後に追加のステップを書きます。
    
    /// tip | 豆知識
    
    `yield`は必ず一度だけ使用するようにしてください。
    
    ///
    
    /// info | 情報
    
    これを動作させるには、**Python 3.7** 以上を使用するか、**Python 3.6** では"backports"をインストールする必要があります:
    
    ```
    pip install async-exit-stack async-generator
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 12.3K bytes
    - Click Count (0)
Back to Top