Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,025 for procMs (0.35 sec)

  1. src/os/exec.go

    // On most operating systems, the Process must be a child
    // of the current process or an error will be returned.
    func (p *Process) Wait() (*ProcessState, error) {
    	return p.wait()
    }
    
    // Signal sends a signal to the [Process].
    // Sending [Interrupt] on Windows is not implemented.
    func (p *Process) Signal(sig Signal) error {
    	return p.signal(sig)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitHttpRepository.java

                    byte[] bytes = requestContent.toByteArray();
                    process.getOutputStream().write(bytes);
                    process.getOutputStream().flush();
    
                    IOUtils.copy(process.getInputStream(), httpExchange.getResponseBody());
                    int result = process.waitFor();
                    if (result != 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractStreamingHasher.java

      /** Number of bytes to be filled before process() invocation(s). */
      private final int bufferSize;
    
      /** Number of bytes processed per process() invocation. */
      private final int chunkSize;
    
      /**
       * Constructor for use by subclasses. This hasher instance will process chunks of the specified
       * size.
       *
       * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
       *     must be at least 4
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  4. src/syscall/exec_unix_test.go

    	if cpid2 == ppid {
    		t.Fatalf("Parent and child 2 have the same process ID")
    	}
    
    	if cpgrp2 == ppgrp {
    		t.Fatalf("Parent and child 2 are in the same process group")
    	}
    
    	if cpid2 == cpgrp2 {
    		t.Fatalf("Child 2's process group is its process ID")
    	}
    
    	if cpid1 == cpid2 {
    		t.Fatalf("Child 1 and 2 have the same process ID")
    	}
    
    	if cpgrp1 != cpgrp2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/JobProcess.java

    public class JobProcess {
        protected Process process;
    
        protected InputStreamThread inputStreamThread;
    
        public JobProcess(final Process process) {
            this(process, InputStreamThread.MAX_BUFFER_SIZE, null);
        }
    
        public JobProcess(final Process process, final int bufferSize, final Consumer<String> outputCallback) {
            this.process = process;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/streams/OutputStreamsForwarder.java

        @Override
        public void connectStreams(Process process, String processName, Executor executor) {
            this.executor = executor;
            standardOutputReader = new ExecOutputHandleRunner("read standard output of " + processName, process.getInputStream(), standardOutput, completed);
            if (readErrorStream) {
                standardErrorReader = new ExecOutputHandleRunner("read error output of " + processName, process.getErrorStream(), errorOutput, completed);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 16:06:58 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. src/runtime/chan_test.go

    				<-myc
    			}
    		}
    	})
    }
    
    func benchmarkChanSync(b *testing.B, work int) {
    	const CallsPerSched = 1000
    	procs := 2
    	N := int32(b.N / CallsPerSched / procs * procs)
    	c := make(chan bool, procs)
    	myc := make(chan int)
    	for p := 0; p < procs; p++ {
    		go func() {
    			for {
    				i := atomic.AddInt32(&N, -1)
    				if i < 0 {
    					break
    				}
    				for g := 0; g < CallsPerSched; g++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/processenvironment/NativePlatformBackedProcessEnvironment.java

    package org.gradle.internal.nativeintegration.processenvironment;
    
    import net.rubygrapefruit.platform.Process;
    
    import java.io.File;
    
    public class NativePlatformBackedProcessEnvironment extends AbstractProcessEnvironment {
        private final Process process;
    
        public NativePlatformBackedProcessEnvironment(Process process) {
            this.process = process;
        }
    
        @Override
        protected void removeNativeEnvironmentVariable(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/syscall/exec_windows_test.go

    }
    
    func TestChangingProcessParent(t *testing.T) {
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "parent" {
    		// in parent process
    
    		// Parent does nothing. It is just used as a parent of a child process.
    		time.Sleep(time.Minute)
    		os.Exit(0)
    	}
    
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "child" {
    		// in child process
    		dumpPath := os.Getenv("GO_WANT_HELPER_PROCESS_FILE")
    		if dumpPath == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. pilot/pkg/features/tuning.go

    				"If set to 0 or unset, the max will be automatically determined based on the machine size",
    		).Get()
    		if v > 0 {
    			return v
    		}
    		procs := runtime.GOMAXPROCS(0)
    		// Heuristic to scale with cores. We end up with...
    		// 1: 20
    		// 2: 25
    		// 4: 35
    		// 32: 100
    		return min(15+5*procs, 100)
    	}()
    
    	RequestLimit = func() float64 {
    		v := env.Register(
    			"PILOT_MAX_REQUESTS_PER_SECOND",
    			0.0,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 04:22:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top