Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 488 for Kids (0.04 sec)

  1. src/os/user/getgrouplist_syscall.go

    //go:build !osusergo && darwin
    
    package user
    
    import (
    	"internal/syscall/unix"
    )
    
    func getGroupList(name *_C_char, userGID _C_gid_t, gids *_C_gid_t, n *_C_int) _C_int {
    	err := unix.Getgrouplist(name, userGID, gids, n)
    	if err != nil {
    		return -1
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 424 bytes
    - Viewed (0)
  2. pkg/controller/job/tracking_utils.go

    	logger.V(4).Info("Expecting tracking finalizers removed", "key", jobKey, "podUIDs", deletedKeys)
    
    	uids := u.getSet(jobKey)
    	if uids == nil {
    		uids = &uidSet{
    			key: jobKey,
    			set: sets.New[string](),
    		}
    		if err := u.store.Add(uids); err != nil {
    			return err
    		}
    	}
    	uids.Lock()
    	uids.set.Insert(deletedKeys...)
    	uids.Unlock()
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 05:40:02 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

            }
    
        private
        fun cleanUpDaemons() {
            val alreadyKilled = mutableSetOf<String>()
            forEachJavaProcess { pid, _ ->
                suspiciousDaemons.forEach { (suite, pids) ->
                    if (pid in pids && pid !in alreadyKilled) {
                        logger.warn("A process was created in $suite but wasn't shutdown properly. Killing PID $pid")
                        KillLeakingJavaProcesses.pkill(pid)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/os/user/listgroups_unix_test.go

    	// input
    	in   string
    	user string
    	gid  string
    	// output
    	gids []string
    	err  bool
    }{
    	{in: testGroupFile, user: "root", gid: "0", gids: []string{"0", "1", "2", "7"}},
    	{in: testGroupFile, user: "jill", gid: "33", gids: []string{"33", "777"}},
    	{in: testGroupFile, user: "jody", gid: "34", gids: []string{"34", "777"}},
    	{in: testGroupFile, user: "john", gid: "35", gids: []string{"35", "777"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. operator/cmd/mesh/uninstall.go

    				rmListString)
    		}
    
    		if len(pids) != 0 && rev != "" {
    			needConfirmation = true
    			message += fmt.Sprintf("There are still %d proxies pointing to the control plane revision %s\n", len(pids), rev)
    			// just print the count only if there is a large list of proxies
    			if len(pids) <= 30 {
    				message += fmt.Sprintf("%s\n", strings.Join(pids, "\n"))
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/os/user/cgo_listgroups_unix.go

    			return nil, err
    		}
    	}
    	gidsC = gidsC[:n]
    	gids := make([]string, 0, n)
    	for _, g := range gidsC[:n] {
    		gids = append(gids, strconv.Itoa(int(g)))
    	}
    	return gids, nil
    }
    
    // groupRetry retries getGroupList with much larger size for n. The result is
    // stored in gids.
    func groupRetry(username string, name []byte, userGID _C_gid_t, gids *[]_C_gid_t, n *_C_int) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. pkg/controller/job/tracking_utils_test.go

    	for i, err := range errs {
    		if err != nil {
    			t.Errorf("Failed adding first round of UIDs for job %s: %v", tracks[i].job, err)
    		}
    	}
    
    	for _, track := range tracks {
    		uids := expectations.getSet(track.job)
    		if uids == nil {
    			t.Errorf("Set of UIDs is empty for job %s", track.job)
    		} else if diff := cmp.Diff(track.firstRound, sets.List(uids.set)); diff != "" {
    			t.Errorf("Unexpected keys for job %s (-want,+got):\n%s", track.job, diff)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 05:40:02 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. pkg/util/procfs/procfs_linux.go

    		return fmt.Errorf("name should not be empty")
    	}
    	re, err := regexp.Compile(name)
    	if err != nil {
    		return err
    	}
    	pids := getPids(re)
    	if len(pids) == 0 {
    		return fmt.Errorf("unable to fetch pids for process name : %q", name)
    	}
    	errList := []error{}
    	for _, pid := range pids {
    		if err = syscall.Kill(pid, sig); err != nil {
    			errList = append(errList, err)
    		}
    	}
    	return utilerrors.NewAggregate(errList)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 09:22:35 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/builder/testdata/tcp/deny-both-http-tcp-out.yaml

                - any: true
            principals:
            - andIds:
                ids:
                - any: true
          ns[foo]-policy[httpbin-deny]-rule[3]:
            permissions:
            - andRules:
                rules:
                - any: true
            principals:
            - andIds:
                ids:
                - orIds:
                    ids:
                    - authenticated:
                        principalName:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 16:35:46 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/dra/state/state_checkpoint.go

    	ClaimUID types.UID
    
    	// ClaimName is a name of the resource claim
    	ClaimName string
    
    	// Namespace is a claim namespace
    	Namespace string
    
    	// PodUIDs is a set of pod UIDs that reference a resource
    	PodUIDs sets.Set[string]
    
    	// ResourceHandles is a list of opaque resource data for processing by a specific kubelet plugin
    	ResourceHandles []resourcev1alpha2.ResourceHandle
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top