Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for Kids (0.13 sec)

  1. src/cmd/link/internal/dwtest/dwtest.go

    type Examiner struct {
    	dies        []*dwarf.Entry
    	idxByOffset map[dwarf.Offset]int
    	kids        map[int][]int
    	parent      map[int]int
    	byname      map[string][]int
    }
    
    // Populate the Examiner using the DIEs read from rdr.
    func (ex *Examiner) Populate(rdr *dwarf.Reader) error {
    	ex.idxByOffset = make(map[dwarf.Offset]int)
    	ex.kids = make(map[int][]int)
    	ex.parent = make(map[int]int)
    	ex.byname = make(map[string][]int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 15:22:18 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/internal/zstd/testdata/fcf30b99.zero-dictionary-ids.zst

    fcf30b99.zero-dictionary-ids.zst hello hello hello...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 17:56:15 UTC 2023
    - 64 bytes
    - Viewed (0)
  3. src/os/user/user_test.go

    		} else {
    			t.Skipf("skipping: %v", err)
    		}
    	}
    
    	gids, err := user.GroupIds()
    	if err != nil {
    		t.Fatalf("%+v.GroupIds(): %v", user, err)
    	}
    	if !containsID(gids, user.Gid) {
    		t.Errorf("%+v.GroupIds() = %v; does not contain user GID %s", user, gids, user.Gid)
    	}
    }
    
    func containsID(ids []string, id string) bool {
    	for _, x := range ids {
    		if x == id {
    			return true
    		}
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 15:59:43 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. src/os/proc.go

    func Getegid() int { return syscall.Getegid() }
    
    // Getgroups returns a list of the numeric ids of groups that the caller belongs to.
    //
    // On Windows, it returns [syscall.EWINDOWS]. See the [os/user] package
    // for a possible alternative.
    func Getgroups() ([]int, error) {
    	gids, e := syscall.Getgroups()
    	return gids, NewSyscallError("getgroups", e)
    }
    
    // Exit causes the current program to exit with the given status code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/types.go

    	// foo.slice/foo-bar.slice
    	Name(name CgroupName) string
    	// CgroupName converts the literal cgroupfs name on the host to an internal identifier.
    	CgroupName(name string) CgroupName
    	// Pids scans through all subsystems to find pids associated with specified cgroup.
    	Pids(name CgroupName) []int
    	// ReduceCPULimits reduces the CPU CFS values to the minimum amount of shares.
    	ReduceCPULimits(cgroupName CgroupName) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. pkg/util/procfs/procfs_linux_test.go

    }
    
    func TestPidOf(t *testing.T) {
    	if runtime.GOOS == "darwin" || runtime.GOOS == "windows" {
    		t.Skipf("not supported on GOOS=%s", runtime.GOOS)
    	}
    	pids, err := PidOf(filepath.Base(os.Args[0]))
    	assert.Empty(t, err)
    	assert.NotZero(t, pids)
    	assert.Contains(t, pids, os.Getpid())
    }
    
    func TestPKill(t *testing.T) {
    	if runtime.GOOS == "darwin" || runtime.GOOS == "windows" {
    		t.Skipf("not supported on GOOS=%s", runtime.GOOS)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 07:13:28 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/podcgroupns_test.go

    			},
    			expectPodUID:      "",
    			expectContainerID: "",
    			expectMsg:         "multiple pod UIDs found in cgroups (11111111-b29f-11e7-9350-020968147796, 22222222-b29f-11e7-9350-020968147796)",
    		},
    	} {
    		tt := tt
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top