Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for npid (0.04 sec)

  1. src/syscall/exec_unix_test.go

    		t.Fatal(err)
    	}
    
    	return &command{stdin, proc, t}
    }
    
    func parent() (pid, pgrp int) {
    	return syscall.Getpid(), syscall.Getpgrp()
    }
    
    func TestZeroSysProcAttr(t *testing.T) {
    	ppid, ppgrp := parent()
    
    	cmd := create(t)
    
    	cmd.Start()
    	defer cmd.Stop()
    
    	cpid, cpgrp := cmd.Info()
    
    	if cpid == ppid {
    		t.Fatalf("Parent and child have the same process ID")
    	}
    
    	if cpgrp != ppgrp {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

    
    class ProcessFixture {
        final Long pid;
    
        ProcessFixture(Long pid) {
            this.pid = pid
        }
    
        /**
         * Forcefully kills this daemon.
         */
        void kill(boolean killTree) {
            println "Killing process with pid: $pid"
            if (pid == null) {
                throw new RuntimeException("Unable to force kill the process because provided pid is null!")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    )
    
    type Siginfo struct {
    	Signo int32
    	Errno int32
    	Code  int32
    	Pid   int32
    	Uid   uint32
    	_     [44]byte
    }
    
    type SysvIpcPerm struct {
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode int32
    }
    
    type SysvShmDesc struct {
    	Perm   SysvIpcPerm
    	_      [4]byte
    	Lpid   int32
    	Cpid   int32
    	Nattch uint32
    	_      [4]byte
    	_      [4]byte
    	_      [4]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. cluster/addons/node-problem-detector/npd.yaml

      namespace: kube-system
      labels:
        kubernetes.io/cluster-service: "true"
        addonmanager.kubernetes.io/mode: Reconcile
    ---
    apiVersion: rbac.authorization.k8s.io/v1
    kind: ClusterRoleBinding
    metadata:
      name: npd-binding
      labels:
        kubernetes.io/cluster-service: "true"
        addonmanager.kubernetes.io/mode: Reconcile
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: ClusterRole
      name: system:node-problem-detector
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/syscall/syscall_js.go

    	}
    	return groups, nil
    }
    
    func Getpid() int {
    	return jsProcess.Get("pid").Int()
    }
    
    func Getppid() int {
    	return jsProcess.Get("ppid").Int()
    }
    
    func Umask(mask int) (oldmask int) {
    	return jsProcess.Call("umask", mask).Int()
    }
    
    func Gettimeofday(tv *Timeval) error { return ENOSYS }
    
    func Kill(pid int, signum Signal) error { return ENOSYS }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. istioctl/pkg/version/version.go

    				},
    			}, nil
    		}
    		cpID := xds.IstioControlPlaneInstance{}
    		err = json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID)
    		if err != nil {
    			return nil, fmt.Errorf("could not parse CP Identifier: %w", err)
    		}
    		return &istioVersion.MeshInfo{
    			istioVersion.ServerInfo{
    				Component: cpID.Component,
    				Info:      cpID.Info,
    				Revision:  opts.Revision,
    			},
    		}, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginIncrementalAnalysisIntegrationTest.groovy

            given:
            Assume.assumeTrue(supportIncrementalAnalysis())
            goodCode()
            file("customRuleSet.xml") << customRuleSet()
    
            succeeds('pmdMain')
    
            when:
            buildFile << "\npmd{${code}}"
            if (versionNumber < VersionNumber.parse("7.0.0")) {
                succeeds('pmdMain', '--info')
            } else {
                // the expected message exposed only in debug mode
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. pkg/test/framework/components/namespace/kube.go

    	})
    }
    
    // NewNamespace allocates a new testing namespace.
    func newKube(ctx resource.Context, cfg Config) (Instance, error) {
    	mu.Lock()
    	idctr++
    	nsid := idctr
    	r := rnd.Intn(99999)
    	mu.Unlock()
    
    	name := fmt.Sprintf("%s-%d-%d", cfg.Prefix, nsid, r)
    	n := &kubeNamespace{
    		name:   name,
    		prefix: cfg.Prefix,
    		ctx:    ctx,
    	}
    	id := ctx.TrackResource(n)
    	n.id = id
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/runtime/tracecpu.go

    			break // mismatched profile records and tags
    		}
    
    		// Deserialize the data in the profile buffer.
    		recordLen := data[0]
    		timestamp := data[1]
    		ppid := data[2] >> 1
    		if hasP := (data[2] & 0b1) != 0; !hasP {
    			ppid = ^uint64(0)
    		}
    		goid := data[3]
    		mpid := data[4]
    		stk := data[5:recordLen]
    
    		// Overflow records always have their headers contain
    		// all zeroes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/syscall/syscall_plan9.go

    		return 0, e
    	}
    
    	m := 0
    	for ; m < n && b[m] == ' '; m++ {
    	}
    
    	return atoi(b[m : n-1]), nil
    }
    
    func Getpid() (pid int) {
    	n, _ := readnum("#c/pid")
    	return int(n)
    }
    
    func Getppid() (ppid int) {
    	n, _ := readnum("#c/ppid")
    	return int(n)
    }
    
    func Read(fd int, p []byte) (n int, err error) {
    	return Pread(fd, p, -1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top