Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 124 for getg (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	upperBoundCapacity int
    
    	// lower bound of capacity since event cache has a dynamic size.
    	lowerBoundCapacity int
    
    	// keyFunc is used to get a key in the underlying storage for a given object.
    	keyFunc func(runtime.Object) (string, error)
    
    	// getAttrsFunc is used to get labels and fields of an object.
    	getAttrsFunc func(runtime.Object) (labels.Set, fields.Set, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. src/math/big/float.go

    	if debugFloat {
    		validateBinaryOperands(x, y)
    	}
    
    	// mantissa length in words for desired result precision + 1
    	// (at least one extra bit so we get the rounding bit after
    	// the division)
    	n := int(z.prec/_W) + 1
    
    	// compute adjusted x.mant such that we get enough result precision
    	xadj := x.mant
    	if d := n - len(x.mant) + len(y.mant); d > 0 {
    		// d extra words needed => add d "0 digits" to x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/constants/constants.go

    func getSkewedKubernetesVersion(n int) *version.Version {
    	versionInfo := componentversion.Get()
    	return getSkewedKubernetesVersionImpl(&versionInfo, n)
    }
    
    func getSkewedKubernetesVersionImpl(versionInfo *apimachineryversion.Info, n int) *version.Version {
    	// TODO: update if the kubeadm version gets decoupled from the Kubernetes version.
    	// This would require keeping track of the supported skew in a table.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  4. docs/en/docs/alternatives.md

    The way you use it is very simple. For example, to do a `GET` request, you would write:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    The FastAPI counterpart API *path operation* could look like:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    See the similarities in `requests.get(...)` and `@app.get(...)`.
    
    !!! check "Inspired **FastAPI** to"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. cmd/api-response.go

    	// request to get next set of objects. Server lists objects in alphabetical
    	// order Note: This element is returned only if you have delimiter request parameter
    	// specified. If response does not include the NextMaker and it is truncated,
    	// you can use the value of the last Key in the response as the marker in the
    	// subsequent request to get the next set of object keys.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. cmd/sts-handlers.go

    		return
    	}
    
    	if r.Form.Get(stsVersion) != stsAPIVersion {
    		writeSTSErrorResponse(ctx, w, ErrSTSMissingParameter,
    			fmt.Errorf("Invalid STS API version %s, expecting %s", r.Form.Get("Version"), stsAPIVersion))
    		return
    	}
    
    	ldapUsername := r.Form.Get(stsLDAPUsername)
    	ldapPassword := r.Form.Get(stsLDAPPassword)
    
    	if ldapUsername == "" || ldapPassword == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_control.go

    	var currentStatus *apps.StatefulSetStatus
    	logger := klog.FromContext(ctx)
    	// get the current, and update revisions
    	currentRevision, updateRevision, collisionCount, err := ssc.getStatefulSetRevisions(set, revisions)
    	if err != nil {
    		return currentRevision, updateRevision, currentStatus, err
    	}
    
    	// perform the main update function and get the status
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  8. pkg/controller/cronjob/cronjob_controllerv2.go

    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("couldn't get key for object %+v: %v", obj, err))
    		return
    	}
    
    	jm.queue.Add(key)
    }
    
    func (jm *ControllerV2) enqueueControllerAfter(obj interface{}, t time.Duration) {
    	key, err := controller.KeyFunc(obj)
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("couldn't get key for object %+v: %v", obj, err))
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle.go

    	// TransitionTier name of transition storage class
    	TransitionTier = "transition-tier"
    )
    
    // LifecycleSys - Bucket lifecycle subsystem.
    type LifecycleSys struct{}
    
    // Get - gets lifecycle config associated to a given bucket name.
    func (sys *LifecycleSys) Get(bucketName string) (lc *lifecycle.Lifecycle, err error) {
    	lc, _, err = globalBucketMetadataSys.GetLifecycleConfig(bucketName)
    	return lc, err
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  10. src/net/lookup.go

    		resolverFunc = alt
    	}
    
    	// We don't want a cancellation of ctx to affect the
    	// lookupGroup operation. Otherwise if our context gets
    	// canceled it might cause an error to be returned to a lookup
    	// using a completely different context. However we need to preserve
    	// only the values in context. See Issue 28600.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 28.6K bytes
    - Viewed (0)
Back to top