Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 251 for Pid (0.08 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go

    }
    
    // PtraceGetRegs386 fetches the registers used by 386 binaries.
    func PtraceGetRegs386(pid int, regsout *PtraceRegs386) error {
    	return ptracePtr(PTRACE_GETREGS, pid, 0, unsafe.Pointer(regsout))
    }
    
    // PtraceSetRegs386 sets the registers used by 386 binaries.
    func PtraceSetRegs386(pid int, regs *PtraceRegs386) error {
    	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
    }
    
    // PtraceRegsAmd64 is the registers used by amd64 binaries.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonStatusAndErrorReportingTest.groovy

        def "PID can be null"() {
            given:
            def daemonContext = new DefaultDaemonContext(null, null, null, null, null, null, null, false, NativeServicesMode.ENABLED, null)
    
            when:
            def pid = daemonContext.pid;
    
            then:
            noExceptionThrown()
            pid == null
        }
    
        def "PID unboxing should not happen in Status"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go

    // PtraceGetRegsMips fetches the registers used by mips binaries.
    func PtraceGetRegsMips(pid int, regsout *PtraceRegsMips) error {
    	return ptracePtr(PTRACE_GETREGS, pid, 0, unsafe.Pointer(regsout))
    }
    
    // PtraceSetRegsMips sets the registers used by mips binaries.
    func PtraceSetRegsMips(pid int, regs *PtraceRegsMips) error {
    	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunicationSpec.groovy

            startupInfo.pid == 123
            startupInfo.diagnostics.pid == 123
            startupInfo.diagnostics.daemonLog == dummyFile
        }
    
        def "null pid is supported"() {
            when:
            def message = message(null, "1234", uuid, 123, addresses, dummyFile)
            def startupInfo = comm.readDiagnostics(message)
    
            then:
            startupInfo.diagnostics.pid == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DefaultDaemonContext.java

                encoder.writeSmallInt(context.javaVersion.asInt());
                encoder.writeString(context.daemonRegistryDir.getPath());
                encoder.writeBoolean(context.pid != null);
                if (context.pid != null) {
                    encoder.writeLong(context.pid);
                }
                encoder.writeBoolean(context.idleTimeout != null);
                if (context.idleTimeout != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. src/internal/poll/fd_io_plan9.go

    // The undergoing I/O system call can either complete or be
    // interrupted by a note.
    type asyncIO struct {
    	res chan result
    
    	// mu guards the pid field.
    	mu sync.Mutex
    
    	// pid holds the process id of
    	// the process running the IO operation.
    	pid int
    }
    
    // result is the return value of a Read or Write operation.
    type result struct {
    	n   int
    	err error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 14 17:56:50 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java

        @Nullable
        private final Long pid;
        @Nullable
        private final DaemonExpirationStatus status;
        @Nullable
        private final String reason;
    
        public DaemonStopEvent(Date timestamp, @Nullable Long pid, @Nullable DaemonExpirationStatus status, @Nullable String reason) {
            this.timestamp = timestamp;
            this.status = status;
            this.reason = reason;
            this.pid = pid;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. build/pause/linux/orphan.c

    #include <stdio.h>
    #include <unistd.h>
    
    int main() {
      pid_t pid;
      pid = fork();
      if (pid == 0) {
        while (getppid() > 1)
          ;
        printf("Child exiting: pid=%d ppid=%d\n", getpid(), getppid());
        return 0;
      } else if (pid > 0) {
        printf("Parent exiting: pid=%d ppid=%d\n", getpid(), getppid());
        return 0;
      }
      perror("Could not create child");
      return 1;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 26 13:26:24 UTC 2020
    - 1014 bytes
    - Viewed (0)
  9. pkg/util/oom/oom_linux_test.go

    */
    
    package oom
    
    import (
    	"os"
    
    	"github.com/opencontainers/runc/libcontainer/cgroups"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    )
    
    // Converts a sequence of PID lists into a PID lister.
    // The PID lister returns pidListSequence[i] on the ith call. If i >= length of pidListSequence
    // then return the last element of pidListSequence (the sequence is considered to have) stabilized.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerDaemonIntegrationTest.groovy

            when:
            runner().build()
    
            then:
            def pid = testKitDaemons().daemon.with {
                assertIdle()
                context.pid
            }
    
            when:
            runner().build()
    
            then:
            testKitDaemons().daemon.context.pid == pid
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top