Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Cur (0.02 sec)

  1. src/syscall/rlimit.go

    // which Go of course has no choice but to respect.
    func init() {
    	var lim Rlimit
    	if err := Getrlimit(RLIMIT_NOFILE, &lim); err == nil && lim.Cur != lim.Max {
    		origRlimitNofile.Store(&lim)
    		nlim := lim
    		nlim.Cur = nlim.Max
    		adjustFileLimit(&nlim)
    		setrlimit(RLIMIT_NOFILE, &nlim)
    	}
    }
    
    func Setrlimit(resource int, rlim *Rlimit) error {
    	if resource == RLIMIT_NOFILE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set.go

    			UpdateFunc: func(old, cur interface{}) {
    				oldPS := old.(*apps.StatefulSet)
    				curPS := cur.(*apps.StatefulSet)
    				if oldPS.Status.Replicas != curPS.Status.Replicas {
    					logger.V(4).Info("Observed updated replica count for StatefulSet", "statefulSet", klog.KObj(curPS), "oldReplicas", oldPS.Status.Replicas, "newReplicas", curPS.Status.Replicas)
    				}
    				ssc.enqueueStatefulSet(cur)
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/crdclient/client.go

    			cl.queue.Push(func() error {
    				cl.onEvent(resourceGVK, nil, obj, model.EventAdd)
    				return nil
    			})
    		},
    		UpdateFunc: func(old, cur controllers.Object) {
    			incrementEvent(kind, "update")
    			cl.queue.Push(func() error {
    				cl.onEvent(resourceGVK, old, cur, model.EventUpdate)
    				return nil
    			})
    		},
    		DeleteFunc: func(obj controllers.Object) {
    			incrementEvent(kind, "delete")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller.go

    // When a pod is updated, figure out what job/s manage it and wake them up.
    // If the labels of the pod have changed we need to awaken both the old
    // and new job. old and cur must be *v1.Pod types.
    func (jm *Controller) updatePod(logger klog.Logger, old, cur interface{}) {
    	curPod := cur.(*v1.Pod)
    	oldPod := old.(*v1.Pod)
    	recordFinishedPodWithTrackingFinalizer(oldPod, curPod)
    	if curPod.ResourceVersion == oldPod.ResourceVersion {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top