- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 214 for Pid (0.05 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonRegistryStateProbe.groovy
this.context = context this.registry = registry } void resetToken() { def daemonInfo = registry.all.find { it.context.pid == context.pid } registry.remove(daemonInfo.address) registry.store(new DaemonInfo(daemonInfo.address, daemonInfo.context, "password".bytes, daemonInfo.getState())) } void assertRegistryNotWorldReadable() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.4K bytes - Viewed (0) -
src/os/pidfd_linux.go
if !pidfdWorks() { return 0, false } return uintptr(*sysAttr.PidFD), true } func pidfdFind(pid int) (uintptr, error) { if !pidfdWorks() { return 0, syscall.ENOSYS } h, err := unix.PidFDOpen(pid, 0) if err != nil { return 0, convertESRCH(err) } return h, nil } // _P_PIDFD is used as idtype argument to waitid syscall. const _P_PIDFD = 3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 4.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java
} else { return null; } } @Nullable private static DaemonContext parseFrom87(String source) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 09:22:54 UTC 2024 - 5.8K bytes - Viewed (0) -
src/syscall/syscall_aix.go
} func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error) { return ptracePoke(pid, addr, data) } func PtracePokeData(pid int, addr uintptr, data []byte) (count int, err error) { return ptracePoke(pid, addr, data) } func PtraceCont(pid int, signal int) (err error) { return ptrace64(PT_CONTINUE, int64(pid), 1, signal, 0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:50:55 UTC 2024 - 17.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunication.java
OutputStream outputStream = new EncodedStream.EncodedOutput(byteArrayOutputStream); FlushableEncoder encoder = new OutputStreamBackedEncoder(outputStream); encoder.writeNullableString(pid == null ? null : pid.toString()); encoder.writeString(uid); MultiChoiceAddress multiChoiceAddress = (MultiChoiceAddress) address; new MultiChoiceAddressSerializer().write(encoder, multiChoiceAddress);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 4.7K bytes - Viewed (0) -
pkg/kubelet/pleg/generic.go
func computeEvents(oldPod, newPod *kubecontainer.Pod, cid *kubecontainer.ContainerID) []*PodLifecycleEvent { var pid types.UID if oldPod != nil { pid = oldPod.ID } else if newPod != nil { pid = newPod.ID } oldState := getContainerState(oldPod, cid) newState := getContainerState(newPod, cid) return generateEvents(pid, cid.ID, oldState, newState) } func (g *GenericPLEG) cacheEnabled() bool { return g.cache != nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.3K bytes - Viewed (0) -
src/os/exec_unix_test.go
} } // Lookup of a process that does not exist at time of lookup. func TestProcessAlreadyDone(t *testing.T) { // Theoretically MaxInt32 is a valid PID, but the chance of it actually // being used is extremely unlikely. pid := math.MaxInt32 if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" { // Solaris/Illumos have a lower limit, above which wait returns
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 2K bytes - Viewed (0) -
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) -
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) -
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)