Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,068 for spill (0.2 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="10"
        {!> ../../../docs_src/query_params_str_validations/tutorial002_an.py!}
        ```
    
    Notice that the default value is still `None`, so the parameter is still optional.
    
    But now, having `Query(max_length=50)` inside of `Annotated`, we are telling FastAPI that we want it to have **additional validation** for this value, we want it to have maximum 50 characters. 😎
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    type sandboxGCInfo struct {
    	// The ID of the sandbox.
    	id string
    	// Creation time for the sandbox.
    	createTime time.Time
    	// If true, the sandbox is ready or still has containers.
    	active bool
    }
    
    // evictUnit is considered for eviction as units of (UID, container name) pair.
    type evictUnit struct {
    	// UID of the pod.
    	uid types.UID
    	// Name of the container in the pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutor.java

                    // Here it means that we have validated that the entry is still up-to-date, and that means a couple of things:
                    // 1. the cache policy said that the entry is still valid (for example, `--refresh-dependencies` wasn't called)
                    // 2. if the rule is cacheable, we have validated that its discovered inputs are still the same
                    return entry.getResult();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. pkg/controller/controller_ref_manager.go

    //   - Release owned objects if the match function returns false.
    //
    // A non-nil error is returned if some form of reconciliation was attempted and
    // failed. Usually, controllers should try again later in case reconciliation
    // is still needed.
    //
    // If the error is nil, either the reconciliation succeeded, or no
    // reconciliation was necessary. The returned boolean indicates whether you now
    // own the object.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  5. src/runtime/pinner_test.go

    	if !runtime.IsPinned(addr) {
    		t.Fatal("not marked as pinned")
    	}
    	if runtime.GetPinCounter(addr) != nil {
    		t.Fatal("pin counter should not exist")
    	}
    	pinner.Unpin()
    	if runtime.IsPinned(addr) {
    		t.Fatal("still marked as pinned")
    	}
    }
    
    func TestPinnerPinKeepsAliveAndReleases(t *testing.T) {
    	var pinner runtime.Pinner
    	p := new(obj)
    	done := make(chan struct{})
    	runtime.SetFinalizer(p, func(any) {
    		done <- struct{}{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:36:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  6. src/cmd/internal/src/pos.go

    	//
    	// Optimizing compilation will move instructions around, and some of these will become known-bad as
    	// step targets for debugging purposes (examples: register spills and reloads; code generated into
    	// the entry block; invariant code hoisted out of loops) but those instructions will still have interesting
    	// positions for profiling purposes. To reflect this these positions will be changed to PosNotStmt.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

                withInput("$location: file system entry '$testFileName'")
                ignoringUnexpectedInputs()
            }
    
            when: "the build is re-run with the file system entry still missing"
            assert !accessedFile.exists()
            configurationCacheRunLenient()
    
            then: "the cache entry is reused"
            configurationCache.assertStateLoaded()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/reuse_git.txt

    stdout '"Ref": "HEAD"'
    stdout '"Hash": "fc3a09f3dc5cfe0d7a743ea18f1f5226e68b3777"'
    
    # pseudo-version again should not invoke git fetch (it has the version from the @latest query)
    # but still be careful not to include a TagSum or a Ref, especially not Ref set to HEAD,
    # which is easy to do when reusing the cached version from the @latest query.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java

                        } else {
                            // ... otherwise we can still report the line and column
                            spec.lineInFileLocation(resourceName, line, column);
                        }
                    } else {
                        // ... otherwise we can still report the line
                        spec.lineInFileLocation(resourceName, line);
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 06:17:43 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. docs/en/docs/python-types.md

    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
    
    ```Python
    say_hi(name=None)  # This works, None is valid 🎉
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top