Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 251 for Pid (0.06 sec)

  1. src/os/exec_posix.go

    		var ok bool
    		h, ok = getPidfd(sysattr.Sys)
    		if !ok {
    			return newPIDProcess(pid), nil
    		}
    	}
    
    	return newHandleProcess(pid, h), nil
    }
    
    func (p *Process) kill() error {
    	return p.Signal(Kill)
    }
    
    // ProcessState stores information about a process, as reported by Wait.
    type ProcessState struct {
    	pid    int                // The process's id.
    	status syscall.WaitStatus // System-dependent status info.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PidInstrumentation.groovy

        }
    
        private static File createPidFile() {
            def pidFile = File.createTempFile("build-under-test", ".pid")
            pidFile.deleteOnExit()
            pidFile
        }
    
        private static File createPidFileInitScript(File pidFile) {
            def pidFileInitScript = File.createTempFile("pid-instrumentation", ".gradle")
            pidFileInitScript.deleteOnExit()
            pidFileInitScript.text = """
                def e
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. cni/pkg/repair/netns.go

    	"strconv"
    
    	netns "github.com/containernetworking/plugins/pkg/ns"
    	"github.com/prometheus/procfs"
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/log"
    )
    
    func getPidNamespace(pid int) string {
    	return "/host/proc/" + strconv.Itoa(pid) + "/ns/net"
    }
    
    func runInHost[T any](f func() (T, error)) (T, error) {
    	var res T
    	ns := getPidNamespace(1)
    	err := netns.WithNetNSPath(ns, func(_ netns.NetNS) error {
    		var err error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 04:07:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. buildscripts/resolve-right-versions.sh

    	"${WORK_DIR}/mc" cp --quiet -r "buildscripts/cicd-corpus/" "${WORK_DIR}/cicd-corpus/"
    
    	"${MINIO[@]}" --address ":$start_port" "${WORK_DIR}/cicd-corpus/disk{1...5}" >"${WORK_DIR}/server1.log" 2>&1 &
    	pid=$!
    	disown $pid
    	sleep 5
    
    	if ! ps -p ${pid} 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${WORK_DIR}/mc" stat minio/bucket/testobj
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Aug 16 14:51:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_fuzztime.txt

    # This fuzz function creates a file with a unique name ($pid.$count) on each
    # run. We count the files to find the number of runs.
    mkdir count
    go test -fuzz=FuzzTestCount -fuzztime=1000x -fuzzminimizetime=1x
    go run check_file_count.go count 1000
    
    # When we use fuzzminimizetime with an "x" suffix, it runs a specific number of
    # times while minimizing. This fuzz function creates a file with a unique name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. pkg/kubelet/oom/oom_watcher_linux_test.go

    	numOomEventsWithIncorrectContainerName := 1
    	oomInstancesToStream := []*oomparser.OomInstance{
    		{
    			Pid:                 1000,
    			ProcessName:         "fakeProcess",
    			TimeOfDeath:         time.Now(),
    			ContainerName:       recordEventContainerName + "some-container",
    			VictimContainerName: recordEventContainerName,
    		},
    		{
    			Pid:                 1000,
    			ProcessName:         "fakeProcess",
    			TimeOfDeath:         time.Now(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 09 06:25:28 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  7. src/runtime/syscall_aix.go

    	return
    }
    
    //go:linkname syscall_forkx syscall.forkx
    //go:nosplit
    func syscall_forkx(flags uintptr) (pid uintptr, err uintptr) {
    	pid, err = syscall1(&libc_fork, flags)
    	return
    }
    
    //go:linkname syscall_getpid syscall.getpid
    //go:nosplit
    func syscall_getpid() (pid, err uintptr) {
    	pid, err = syscall0(&libc_getpid)
    	return
    }
    
    //go:linkname syscall_ioctl syscall.ioctl
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/cache/internal/DefaultProcessMetaDataProvider.java

            this.environment = environment;
        }
    
        @Override
        public String getProcessIdentifier() {
            Long pid = environment.maybeGetPid();
            return pid == null ? "gradle" : String.valueOf(pid);
        }
    
        @Override
        public String getProcessDisplayName() {
            return "gradle";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:52 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ptrace_darwin.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin && !ios
    
    package unix
    
    func ptrace(request int, pid int, addr uintptr, data uintptr) error {
    	return ptrace1(request, pid, addr, data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 315 bytes
    - Viewed (0)
  10. pkg/kubelet/pleg/evented_test.go

    	cache := kubecontainer.NewCache()
    	type args struct {
    		pid    types.UID
    		status *kubecontainer.PodStatus
    	}
    	tests := []struct {
    		name      string
    		args      args
    		oldstatus *kubecontainer.PodStatus
    		expected  []string
    	}{
    		{
    			name: "status ips is not empty",
    			args: args{
    				pid: "62212",
    				status: &kubecontainer.PodStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 01 07:45:05 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top