- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 81 for getppid (0.13 sec)
-
src/runtime/debug_test.go
} *x = 1 } func debugCallTKill(tid int) error { return syscall.Tgkill(syscall.Getpid(), tid, syscall.SIGTRAP) } // skipUnderDebugger skips the current test when running under a // debugger (specifically if this process has a tracer). This is // Linux-specific. func skipUnderDebugger(t *testing.T) { pid := syscall.Getpid() status, err := os.ReadFile(fmt.Sprintf("/proc/%d/status", pid)) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 15:08:04 UTC 2023 - 8K bytes - Viewed (0) -
src/os/pidfd_linux.go
// seccomp or a similar technology. func checkPidfd() error { // Get a pidfd of the current process (opening of "/proc/self" won't // work for waitid). fd, err := unix.PidFDOpen(syscall.Getpid(), 0) if err != nil { return NewSyscallError("pidfd_open", err) } defer syscall.Close(int(fd)) // Check waitid(P_PIDFD) works. for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/LogToClient.java
} dispatcher = new AsynchronousLogDispatcher(execution.getConnection(), build.getParameters().getLogLevel()); LOGGER.info("{}{}). The daemon log file: {}", DaemonMessages.STARTED_RELAYING_LOGS, diagnostics.getPid(), diagnostics.getDaemonLog()); dispatcher.start(); try { execution.proceed(); } finally { dispatcher.waitForCompletion(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 6.1K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/route.go
// specifies target information like the following: // // route.RouteMessage{ // Version: RTM_VERSION, // Type: RTM_GET, // Flags: RTF_UP | RTF_HOST, // ID: uintptr(os.Getpid()), // Seq: 1, // Addrs: []route.Addrs{ // RTAX_DST: &route.Inet4Addr{ ... }, // RTAX_IFP: &route.LinkAddr{ ... }, // RTAX_BRD: &route.Inet4Addr{ ... }, // }, // } //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 4.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go
if progVers == "(devel)" { // avoid special characters in created file names progVers = "devel" } logBase := strings.ReplaceAll( fmt.Sprintf("%s-%s-%s-%4d%02d%02d-%d.log", prog, progVers, goVers, year, month, day, os.Getpid()), " ", "") fname := filepath.Join(debugDir, logBase) if _, err := os.Stat(fname); err == nil { // This process previously called upload.Run return nil, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:12:15 UTC 2024 - 5.5K bytes - Viewed (0) -
src/runtime/syscall_aix.go
//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) -
src/runtime/pprof/vminfo_darwin_test.go
} if !retryable { return 0, 0, err } t.Logf("retrying vmmap after error: %v", err) } } func useVMMap(t *testing.T) (hi, lo uint64, retryable bool, err error) { pid := strconv.Itoa(os.Getpid()) testenv.MustHaveExecPath(t, "vmmap") cmd := testenv.Command(t, "vmmap", pid) out, cmdErr := cmd.Output() if cmdErr != nil { t.Logf("vmmap output: %s", out)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 19:59:50 UTC 2024 - 5.5K bytes - Viewed (0) -
src/os/path_windows_test.go
} dir.Close() } } func testMkdirAllAtRoot(t *testing.T, root string) { // Create a unique-enough directory name in root. base := fmt.Sprintf("%s-%d", t.Name(), os.Getpid()) path := filepath.Join(root, base) if err := os.MkdirAll(path, 0777); err != nil { t.Fatalf("MkdirAll(%q) failed: %v", path, err) } // Clean up if err := os.RemoveAll(path); err != nil { t.Fatal(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:37:32 UTC 2024 - 8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
addr := ep.GetEndpoint().GetAddress() if addr := addr.GetSocketAddress(); addr != nil { return addr.Address + ":" + strconv.Itoa(int(addr.GetPortValue())) } if addr := addr.GetPipe(); addr != nil { return addr.GetPath() } if internal := addr.GetEnvoyInternalAddress(); internal != nil { switch an := internal.GetAddressNameSpecifier().(type) { case *core.EnvoyInternalAddress_ServerListenerName:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/DefaultVisualStudioProject.java
public DefaultConfigFile getFiltersFile() { return filtersFile; } public void addSourceFile(File sourceFile) { additionalFiles.add(sourceFile); } public static String getUUID(File projectFile) { return "{" + UUID.nameUUIDFromBytes(projectFile.getAbsolutePath().getBytes()).toString().toUpperCase() + "}"; } @Internal public ConfigurableFileCollection getSourceFiles() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 8.3K bytes - Viewed (0)