Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,062 for pfds (0.04 sec)

  1. src/runtime/netpoll_aix.go

    	pd.user = uint32(len(pfds))
    	pfds = append(pfds, pollfd{fd: int32(fd)})
    	pds = append(pds, pd)
    	unlock(&mtxset)
    	return 0
    }
    
    func netpollclose(fd uintptr) int32 {
    	lock(&mtxpoll)
    	netpollwakeup()
    
    	lock(&mtxset)
    	unlock(&mtxpoll)
    
    	for i := 0; i < len(pfds); i++ {
    		if pfds[i].fd == int32(fd) {
    			pfds[i] = pfds[len(pfds)-1]
    			pfds = pfds[:len(pfds)-1]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/internal/coverage/pods/pods.go

    			pod.Origins = append(pod.Origins, e.origin)
    			pod.ProcessIDs = append(pod.ProcessIDs, e.pid)
    		}
    		pods = append(pods, pod)
    	}
    	slices.SortFunc(pods, func(a, b Pod) int {
    		return strings.Compare(a.MetaFile, b.MetaFile)
    	})
    	return pods
    }
    
    func warning(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "warning: ")
    	fmt.Fprintf(os.Stderr, s, a...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. pilot/pkg/xds/pcds.go

    John Howard <******@****.***> 1705429542 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 18:25:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/app/fds.go

    John Howard <******@****.***> 1709763386 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 22:16:26 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/ztunnelserver_test.go

    	defer cancel()
    
    	pods := &fakePodCache{}
    
    	pod, f := podAndNetns()
    	f.Close()
    	pods.pods = map[string]WorkloadInfo{
    		string(pod.UID): {}, // simulate unknown netns
    	}
    
    	fixture := connectWithPods(ctx, pods)
    	ztunClient := fixture.ztunClient
    	// read initial pod add
    	keep, fds := readRequest(t, ztunClient)
    	assert.Equal(t, len(fds), 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/container_manager_linux.go

    		for _, pid := range allPids {
    			if pid == 1 || isKernelPid(pid) {
    				continue
    			}
    
    			pids = append(pids, pid)
    		}
    
    		// Check if we have moved all the non-kernel PIDs.
    		if len(pids) == 0 {
    			return nil
    		}
    
    		klog.V(3).InfoS("Moving non-kernel processes", "pids", pids)
    		for _, pid := range pids {
    			err := manager.Apply(pid)
    			if err != nil {
    				name := ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/node_container_manager_linux.go

    		nodeAllocatable = cm.getNodeAllocatableInternalAbsolute()
    	}
    
    	cgroupConfig := &CgroupConfig{
    		Name: cm.cgroupRoot,
    		// The default limits for cpu shares can be very low which can lead to CPU starvation for pods.
    		ResourceParameters: getCgroupConfig(nodeAllocatable),
    	}
    	if cm.cgroupManager.Exists(cgroupConfig.Name) {
    		return nil
    	}
    	if err := cm.cgroupManager.Create(cgroupConfig); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/eviction_manager_test.go

    			summaryStatsMaker := makePIDStats
    			pods := []*v1.Pod{}
    			podStats := map[*v1.Pod]statsapi.PodStats{}
    			for _, podToMake := range tc.podsToMake {
    				pod, podStat := podMaker(podToMake.name, podToMake.priority, podToMake.pidUsage)
    				pods = append(pods, pod)
    				podStats[pod] = podStat
    			}
    			podToEvict := pods[tc.evictPodIndex]
    			activePodsFunc := func() []*v1.Pod { return pods }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_set_control_test.go

    		}
    
    		sort.Sort(ascendingOrdinal(pods))
    
    		// expected number of pod is 0,1,2,3
    		if !reflect.DeepEqual(pods, originalPods[:4]) {
    			t.Fatalf("Expected pods %v, got pods %v", originalPods[:4], pods)
    		}
    
    		// create new pods
    		if _, err = ssc.UpdateStatefulSet(context.TODO(), set, pods); err != nil {
    			t.Fatal(err)
    		}
    		pods, err = spc.podsLister.Pods(set.Namespace).List(selector)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  10. pkg/controller/podgc/gc_controller_test.go

    			creationTime := time.Unix(0, 0)
    			nodes := []*v1.Node{testutil.NewNode("node")}
    
    			pods := make([]*v1.Pod, 0, len(test.pods))
    			for _, pod := range test.pods {
    				creationTime = creationTime.Add(1 * time.Hour)
    				pods = append(pods, &v1.Pod{
    					ObjectMeta: metav1.ObjectMeta{Name: pod.name, Namespace: metav1.NamespaceDefault, CreationTimestamp: metav1.Time{Time: creationTime}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top