Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,025 for procMs (0.12 sec)

  1. subprojects/core-api/src/main/java/org/gradle/process/JavaDebugOptions.java

         * Setting host to {@code *} will make the process listen on all network interfaces. This is not supported on Java 8 and below.
         * Setting host to anything else will make the process listen on that address.
         * </p>
         * <p>
         * When run in {@link #getServer() client} mode, the process attempts to connect to the given host and {@link #getPort()}.
         * </p>
         *
         * @since 7.6
         */
        @Incubating
        @Optional
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 16 14:16:38 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-syscall-steal-proc-simple.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 535 bytes
    - Viewed (0)
  3. src/runtime/os_freebsd.go

    		return 0
    	}
    	miblen /= unsafe.Sizeof(uint32(0))
    	if miblen <= 0 {
    		return 0
    	}
    	return uint32(miblen)
    }
    
    const (
    	_CPU_CURRENT_PID = -1 // Current process ID.
    )
    
    //go:noescape
    func cpuset_getaffinity(level int, which int, id int64, size int, mask *byte) int32
    
    //go:systemstack
    func getncpu() int32 {
    	// Use a large buffer for the CPU mask. We're on the system
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. src/internal/trace/testtrace/validation.go

    				}
    			}
    		case trace.ResourceProc:
    			// Basic state transition validation.
    			id := tr.Resource.Proc()
    			old, new := tr.Proc()
    			if new == trace.ProcUndetermined {
    				e.Errorf("transition to undetermined state for proc %d", id)
    			}
    			if v.seenSync && old == trace.ProcUndetermined {
    				e.Errorf("undetermined proc %d after first global sync", id)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/process-services/src/main/java/org/gradle/process/BaseExecSpec.java

        /**
         * Sets the standard input stream for the process executing the command. The stream is closed after the process
         * completes.
         *
         * @param inputStream The standard input stream for the process. Must not be null.
         * @return this
         */
        BaseExecSpec setStandardInput(InputStream inputStream);
    
        /**
         * Returns the standard input stream for the process executing the command. The stream is closed after the process
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. src/testing/benchmark_test.go

    	}
    	testing.Benchmark(func(b *testing.B) {
    		procs := uint32(0)
    		iters := uint64(0)
    		b.SetParallelism(3)
    		b.RunParallel(func(pb *testing.PB) {
    			atomic.AddUint32(&procs, 1)
    			for pb.Next() {
    				atomic.AddUint64(&iters, 1)
    			}
    		})
    		if want := uint32(3 * runtime.GOMAXPROCS(0)); procs != want {
    			t.Errorf("got %v procs, want %v", procs, want)
    		}
    		if iters != uint64(b.N) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/os/exec_plan9.go

    // on all systems are Interrupt (send the process an interrupt) and
    // Kill (force the process to exit). Interrupt is not implemented on
    // Windows; using it with [os.Process.Signal] will return an error.
    var (
    	Interrupt Signal = syscall.Note("interrupt")
    	Kill      Signal = syscall.Note("kill")
    )
    
    func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) {
    	sysattr := &syscall.ProcAttr{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/os/exec_unix.go

    )
    
    const (
    	// Special values for Process.Pid.
    	pidUnset    = 0
    	pidReleased = -1
    )
    
    func (p *Process) wait() (ps *ProcessState, err error) {
    	// Which type of Process do we have?
    	switch p.mode {
    	case modeHandle:
    		// pidfd
    		return p.pidfdWait()
    	case modePID:
    		// Regular PID
    		return p.pidWait()
    	default:
    		panic("unreachable")
    	}
    }
    
    func (p *Process) pidWait() (*ProcessState, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/process/internal/streams/ForwardStdinStreamsHandler.java

            this.input = input;
        }
    
        @Override
        public void connectStreams(Process process, String processName, Executor executor) {
            this.executor = executor;
    
            /*
                There's a potential problem here in that DisconnectableInputStream reads from input in the background.
                This won't automatically stop when the process is over. Therefore, if input is not closed then this thread
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 16:06:58 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

    import org.gradle.internal.os.OperatingSystem
    import org.gradle.process.internal.streams.SafeStreams
    import org.gradle.test.fixtures.ConcurrentTestUtil
    
    
    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) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top