Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for Cur (0.03 sec)

  1. src/syscall/syscall_linux_test.go

    	origLimit := syscall.OrigRlimitNofile()
    	origRlimitNofile := syscall.GetInternalOrigRlimitNofile()
    
    	if origLimit == nil {
    		defer origRlimitNofile.Store(origLimit)
    		origRlimitNofile.Store(&syscall.Rlimit{
    			Cur: 1024,
    			Max: 65536,
    		})
    	}
    
    	// Get current process's nofile limit
    	var lim syscall.Rlimit
    	if err := syscall.Prlimit(0, syscall.RLIMIT_NOFILE, nil, &lim); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                cr.setShareAccess(shareAccess);
    
                ServerMessageBlock2Request<?> cur = cr;
    
                if ( first != null ) {
                    cr.chain(first);
                    cur = first;
    
                    for ( ServerMessageBlock2Request<?> req : others ) {
                        cur.chain(req);
                        cur = req;
                    }
                }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  3. 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)
  4. pkg/kube/inject/inject.go

    	}
    
    	targetPort := strconv.Itoa(int(req.meshConfig.GetDefaultConfig().GetStatusPort()))
    	if cur, f := getPrometheusPort(pod); f {
    		// We have already set the port, assume user is controlling this or, more likely, re-injected
    		// the pod.
    		if cur == targetPort {
    			clearPrometheusAnnotations(pod)
    		}
    	}
    	delete(pod.Annotations, annotation.SidecarStatus.Name)
    
    	return pod
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener.go

    	// resolution type, since we collapse all HTTP listeners into a
    	// single 0.0.0.0:port listener and use vhosts to distinguish
    	// individual http services in that port
    	if cur, exists := listenerMap[listenerMapKey]; exists {
    		currentListenerEntry = cur
    		// NOTE: This is not a conflict. This is simply filtering the
    		// services for a given listener explicitly.
    		// When the user declares their own ports in Sidecar.egress
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/interfaces.go

    	//       curr.Counter++
    	//
    	//       // Return the modified object - return an error to stop iterating. Return
    	//       // a uint64 to alter the TTL on the object, or nil to keep it the same value.
    	//       return cur, nil, nil
    	//    }, cachedExistingObject
    	// )
    	GuaranteedUpdate(
    		ctx context.Context, key string, destination runtime.Object, ignoreNotFound bool,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:53:48 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. src/internal/trace/internal/oldtrace/parser.go

    		// without having to grow it later.
    		cur, err := seeker.Seek(0, io.SeekCurrent)
    		if err != nil {
    			return nil, err
    		}
    		end, err := seeker.Seek(0, io.SeekEnd)
    		if err != nil {
    			return nil, err
    		}
    		_, err = seeker.Seek(cur, io.SeekStart)
    		if err != nil {
    			return nil, err
    		}
    
    		buf = make([]byte, end-cur)
    		_, err = io.ReadFull(r, buf)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  8. pkg/kube/inject/webhook.go

    		enablePrometheusMerge(mesh, pod.ObjectMeta.Annotations) {
    		targetPort := strconv.Itoa(int(mesh.GetDefaultConfig().GetStatusPort()))
    		if cur, f := getPrometheusPort(pod); f {
    			// We have already set the port, assume user is controlling this or, more likely, re-injected
    			// the pod.
    			if cur == targetPort {
    				return nil
    			}
    		}
    		scrape := getPrometheusScrapeConfiguration(pod)
    		sidecar := FindSidecar(pod)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  9. pkg/controller/podautoscaler/horizontal.go

    	}
    
    	<-ctx.Done()
    }
    
    // obj could be an *v1.HorizontalPodAutoscaler, or a DeletionFinalStateUnknown marker item.
    func (a *HorizontalController) updateHPA(old, cur interface{}) {
    	a.enqueueHPA(cur)
    }
    
    // obj could be an *v1.HorizontalPodAutoscaler, or a DeletionFinalStateUnknown marker item.
    func (a *HorizontalController) enqueueHPA(obj interface{}) {
    	key, err := controller.KeyFunc(obj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. src/runtime/mheap.go

    // unlinkAndNext removes the current special from the list and moves
    // the iterator to the next special. It returns the unlinked special.
    func (i *specialsIter) unlinkAndNext() *special {
    	cur := i.s
    	i.s = cur.next
    	*i.pprev = i.s
    	return cur
    }
    
    // freeSpecial performs any cleanup on special s and deallocates it.
    // s must already be unlinked from the specials list.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top