Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 124 for getppid (0.13 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc

          index_select.getOnFalse() != body.getArgument(3))
        return failure();
    
      mhlo::OrOp index_or = llvm::dyn_cast_or_null<mhlo::OrOp>(
          index_select.getPred().getDefiningOp());
    
      if (!index_or || index_or.getLhs() != value_select.getPred())
        return failure();
    
      mhlo::AndOp index_and =
          llvm::dyn_cast_or_null<mhlo::AndOp>(index_or.getRhs().getDefiningOp());
      if (!index_and) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/internal/poll/splice_linux.go

    	p := newPipe()
    	if p == nil {
    		return nil
    	}
    	runtime.SetFinalizer(p, destroyPipe)
    	return p
    }
    
    // getPipe tries to acquire a pipe buffer from the pool or create a new one with newPipe() if it gets nil from the cache.
    func getPipe() (*splicePipe, error) {
    	v := splicePipePool.Get()
    	if v == nil {
    		return nil, syscall.EINVAL
    	}
    	return v.(*splicePipe), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DefaultDaemonContext.java

        }
    
        @Override
        public File getDaemonRegistryDir() {
            return daemonRegistryDir;
        }
    
        @Override
        public Long getPid() {
            return pid;
        }
    
        @Override
        public Integer getIdleTimeout() {
            return idleTimeout;
        }
    
        @Override
        public Collection<String> getDaemonOpts() {
            return daemonOpts;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprog/numcpu_freebsd.go

    		err = checkNCPU(list[:len(list)-1])
    		if err != nil {
    			fmt.Printf("%s\n", err)
    			return
    		}
    	}
    	fmt.Println("OK")
    	return
    }
    
    func getList() ([]string, error) {
    	pid := syscall.Getpid()
    
    	// Launch cpuset to print a list of available CPUs: pid <PID> mask: 0, 1, 2, 3.
    	cmd := exec.Command("cpuset", "-g", "-p", strconv.Itoa(pid))
    	cmdline := strings.Join(cmd.Args, " ")
    	output, err := cmd.CombinedOutput()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 20:09:46 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/os/user/cgo_lookup_syscall.go

    	return pwd, result != nil, errno
    }
    
    func _C_getpwuid_r(uid _C_uid_t, buf *_C_char, size _C_size_t) (pwd _C_struct_passwd, found bool, errno syscall.Errno) {
    	var result *_C_struct_passwd
    	errno = unix.Getpwuid(uid, &pwd, buf, size, &result)
    	return pwd, result != nil, errno
    }
    
    func _C_getgrnam_r(name *_C_char, buf *_C_char, size _C_size_t) (grp _C_struct_group, found bool, errno syscall.Errno) {
    	var result *_C_struct_group
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. src/runtime/testdata/testprogcgo/eintr.go

    			r2 = r2[100:]
    		}
    	}
    	return r1, r2
    }
    
    // winch sends a few SIGWINCH signals to the process.
    func winch() {
    	ticker := time.NewTicker(100 * time.Microsecond)
    	defer ticker.Stop()
    	pid := syscall.Getpid()
    	for n := 10; n > 0; n-- {
    		syscall.Kill(pid, syscall.SIGWINCH)
    		<-ticker.C
    	}
    }
    
    // sendSomeSignals triggers a few SIGURG and SIGWINCH signals.
    func sendSomeSignals() {
    	done := make(chan struct{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top