Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 169 for Cleanup (0.11 sec)

  1. 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
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	// We stagger listings only on HDDs.
    	if info.Rotational == nil || *info.Rotational {
    		s.rotational = true
    		s.walkMu = &sync.Mutex{}
    		s.walkReadMu = &sync.Mutex{}
    	}
    
    	if cleanUp {
    		bgFormatErasureCleanupTmp(s.drivePath) // cleanup any old data.
    	}
    
    	formatData, formatFi, err := formatErasureMigrate(s.drivePath)
    	if err != nil && !errors.Is(err, os.ErrNotExist) {
    		if os.IsPermission(err) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

     * entries may be counted in {@link Cache#size}, but will never be visible to read or write
     * operations.
     *
     * <p>Certain cache configurations will result in the accrual of periodic maintenance tasks which
     * will be performed during write operations, or during occasional read operations in the absence of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate_test.go

    		"warning.json":     warningsJSON,
    		"invalidYAML.json": invalidJSON,
    	})
    	validTempDirJSON := createTestDirectory(t, map[string]string{
    		"valid.json": validJSON,
    	})
    
    	t.Cleanup(func() {
    		os.RemoveAll(tempDirYAML)
    		os.RemoveAll(validTempDirYAML)
    		os.RemoveAll(tempDirJSON)
    		os.RemoveAll(validTempDirJSON)
    	})
    
    	cases := []struct {
    		name           string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. 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)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 278.9K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.6.md

        - [DNS](#dns)
        - [DNS Autoscaler](#dns-autoscaler)
        - [Cluster Autoscaler](#cluster-autoscaler-1)
        - [Cluster Load Balancing](#cluster-load-balancing)
        - [etcd Empty Dir Cleanup](#etcd-empty-dir-cleanup)
        - [Fluentd](#fluentd)
        - [Heapster](#heapster)
        - [Registry](#registry)
      - [External Dependency Version Information](#external-dependency-version-information)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 304K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/ppc64.s

    	XOR $1234567, R5                // 6ca5001268a5d687
    	XOR $1234567, R5, R3            // 6ca300126863d687
    	XORIS $15, R3, R4               // 6c64000f
    	XOR   $983040, R3, R4           // 6c64000f
    
    	// TODO: cleanup inconsistency of printing CMPx opcodes with explicit CR arguments.
    	CMP R3, R4                      // 7c232000
    	CMP R3, R0                      // 7c230000
    	CMP R3, R0, CR1                 // CMP R3,CR1,R0   // 7ca30000
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 13:14:38 UTC 2024
    - 51K bytes
    - Viewed (0)
  8. tensorflow/BUILD

            "cpu": "k8",
            "copt": "-mno-sse4.2",
        },
        visibility = ["//visibility:public"],
    )
    
    # This condition takes precedence over :linux_x86_64
    # TODO(b/290533709): Remove this with PJRT build rule cleanup.
    config_setting(
        name = "linux_x86_64_with_weightwatcher",
        constraint_values = if_google(
            ["//third_party/bazel_platforms/os:linux"],
            [],
        ),
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 05:28:35 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    		leaves = leaves[1:]
    	}
    }
    
    // forceCompact will force compact the cache of the top entry.
    // If the number of children is more than limit*100, it will compact self.
    // When above the limit a cleanup will also be performed to remove any possible abandoned entries.
    func (d *dataUsageCache) forceCompact(limit int) {
    	if d == nil || len(d.Cache) <= limit {
    		return
    	}
    	top := hashPath(d.Info.Name).Key()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    			for attempts <= 3 {
    				aerr := api.AbortMultipartUpload(ctx, tgtBucket, tgtObject, res.UploadID, ObjectOptions{})
    				if aerr == nil {
    					return
    				}
    				batchLogIf(ctx,
    					fmt.Errorf("trying %s: Unable to cleanup failed multipart replication %s on remote %s/%s: %w - this may consume space on remote cluster",
    						humanize.Ordinal(attempts), res.UploadID, tgtBucket, tgtObject, aerr))
    				attempts++
    				time.Sleep(time.Second)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top