Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 1,422 for Because (0.13 seconds)

  1. docs/zh/docs/async.md

        return burgers
    ```
    
    使用 `async def`,Python 就知道在该函数中,它将遇上 `await`,并且它可以"暂停" ⏸ 执行该函数,直至执行其他操作 🔀 后回来。
    
    当你想调用一个 `async def` 函数时,你必须"等待"它。因此,这不会起作用:
    
    ```Python
    # This won't work, because get_burgers was defined with: async def
    burgers = get_burgers(2)
    ```
    
    ---
    
    因此,如果你使用的库告诉你可以使用 `await` 调用它,则需要使用 `async def` 创建路径操作函数 ,如:
    
    ```Python hl_lines="2-3"
    @app.get('/burgers')
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:56:21 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  2. CHANGELOG/CHANGELOG-1.34.md

    - Kube-scheduler: Pod statuses no longer include specific taint keys or values when scheduling fails because of untolerated taints ([#135023](https://github.com/kubernetes/kubernetes/pull/135023), [@hoskeri](https://github.com/hoskeri)) [SIG Scheduling]
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Dec 10 01:13:50 GMT 2025
    - 333.3K bytes
    - Click Count (2)
  3. cmd/erasure-server-pool.go

    				derrs[i] = nil
    				break
    			}
    			if derrs[i] == nil {
    				// No error related to this object is found, assign this pool result
    				// whether it is nil because there is no object found or because of
    				// some other errors such erasure quorum errors.
    				dobjects[i] = dObjectsByPool[pool][i]
    				derrs[i] = dErrsByPool[pool][i]
    			}
    		}
    	}
    
    	for i := range dobjects {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  4. cmd/iam-store.go

    		cache.iamUserPolicyMap = newCache.iamUserPolicyMap
    		cache.iamUsersMap = newCache.iamUsersMap
    		// For STS policy map, we need to merge the new cache with the existing
    		// cache because the periodic IAM reload is partial. The periodic load
    		// here is to account for STS policy mapping changes that should apply
    		// for service accounts derived from such STS accounts (i.e. LDAP STS
    		// accounts).
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                boolean runningOnCI = isRunningOnCI(cliRequest.getSystemProperties());
                if (runningOnCI) {
                    slf4jLogger.info(
                            "Making this build non-interactive, because the environment variable CI equals \"true\"."
                                    + " Disable this detection by removing that variable or adding --force-interactive.");
                    request.setInteractiveMode(false);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  6. cmd/erasure-object_test.go

    func TestGetObjectInlineNotInline(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	// Create a backend with 4 disks named disk{1...4}, this name convention
    	// because we will unzip some object data from a sample archive.
    	const numDisks = 4
    	path := t.TempDir()
    
    	var fsDirs []string
    	for i := 1; i <= numDisks; i++ {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.3K bytes
    - Click Count (0)
  7. cmd/object-handlers.go

    		if opts.CheckDMReplicationReady {
    			topts := opts
    			topts.VersionID = ""
    			goi, gerr := getObjectInfo(ctx, bucket, object, topts)
    			if gerr == nil || goi.VersionID != "" { // object layer returned more info because object is deleted
    				w.Header().Set(xhttp.MinIOTargetReplicationReady, "true")
    			}
    		}
    
    		writeErrorResponseHeadersOnly(w, toAPIError(ctx, err))
    		return
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/asm/parse.go

    		return 0
    	}
    	return uint16(reg)
    }
    
    // Note: There are two changes in the expression handling here
    // compared to the old yacc/C implementations. Neither has
    // much practical consequence because the expressions we
    // see in assembly code are simple, but for the record:
    //
    // 1) Evaluation uses uint64; the old one used int64.
    // 2) Precedence uses Go rules not C rules.
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  9. RELEASE.md

            *   (since v2.7) Stateful ops used in `tf.data.Dataset`
            *   (since v2.7) `tf.convert_to_tensor` when fed with (sparse)
                `tf.IndexedSlices` (because it uses `tf.math.unsorted_segment_sum`)
            *   (since v2.7) `tf.gather` backprop (because `tf.convert_to_tensor`
                reduces `tf.gather`'s (sparse) `tf.IndexedSlices` gradients into its
                dense `params` input)
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Oct 28 22:27:41 GMT 2025
    - 740.4K bytes
    - Click Count (3)
  10. CHANGELOG/CHANGELOG-1.8.md

     available, because it's incompatible with `kubectl
     apply` and strategic merge patch. You must explicitly set the spec.selector value
     in your manifest. An object with a spec.selector value that does not match the labels in
     its spec.template is invalid.
    
     - Selector mutation is disabled for all kinds in the
     app/v1beta2 group version, because the controllers in the workloads API do not handle
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Feb 20 15:45:02 GMT 2024
    - 312.2K bytes
    - Click Count (0)
Back to Top