Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for Pid (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. subprojects/core/src/main/java/org/gradle/cache/internal/DefaultProcessMetaDataProvider.java

            this.environment = environment;
        }
    
        @Override
        public String getProcessIdentifier() {
            Long pid = environment.maybeGetPid();
            return pid == null ? "gradle" : String.valueOf(pid);
        }
    
        @Override
        public String getProcessDisplayName() {
            return "gradle";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:52 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/internal/syscall/unix/pidfd_linux.go

    	_, _, errno := syscall.Syscall(pidfdSendSignalTrap, pidfd, uintptr(s), 0)
    	if errno != 0 {
    		return errno
    	}
    	return nil
    }
    
    func PidFDOpen(pid, flags int) (uintptr, error) {
    	pidfd, _, errno := syscall.Syscall(pidfdOpenTrap, uintptr(pid), uintptr(flags), 0)
    	if errno != 0 {
    		return ^uintptr(0), errno
    	}
    	return uintptr(pidfd), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 591 bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DefaultDaemonConnectorTest.groovy

            expect:
            def connection = connector.maybeConnect({it.pid < 12} as ExplainingSpec)
            connection && connection.connection.num < 12
        }
    
        def "maybeConnect() returns null when no daemon matches spec"() {
            given:
            startIdleDaemon()
            startIdleDaemon()
    
            expect:
            connector.maybeConnect({it.pid == 12} as DummyExplainingSpec) == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. docs/zh/docs/deployment/server-workers.md

    [19499] [INFO] Listening at: http://0.0.0.0:80 (19499)
    [19499] [INFO] Using worker: uvicorn.workers.UvicornWorker
    [19511] [INFO] Booting worker with pid: 19511
    [19513] [INFO] Booting worker with pid: 19513
    [19514] [INFO] Booting worker with pid: 19514
    [19515] [INFO] Booting worker with pid: 19515
    [19511] [INFO] Started server process [19511]
    [19511] [INFO] Waiting for application startup.
    [19511] [INFO] Application startup complete.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy

                throw new IllegalStateException("unable to parse DefaultDaemonContext from source: [${daemonLog.file.absolutePath}].")
            }
            if (this.context?.pid == null) {
                println "PID in daemon log ($daemonLog.file.absolutePath) is null."
                println "daemon.log exists: ${daemonLog.file.exists()}"
    
                def logText = daemonLog.text
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top