Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for strsignal (0.43 sec)

  1. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    	printf("var signals = [...]string {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], intcmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i];
    		if(i > 0 && signals[i-1] == e)
    			continue;
    		strcpy(buf, strsignal(e));
    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    		if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
    			buf[0] += a - A;
    		// cut trailing : number.
    		p = strrchr(buf, ":"[0]);
    		if(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (1)
  2. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderIntegrationTest.groovy

        }
    
        def "can be used in parallel"() {
            def threads = 5
            def startSignal = new CountDownLatch(1)
            def doneSignal = new CountDownLatch(threads)
    
            when:
            threads.times {
                new Thread({
                    startSignal.await()
                    def spawnedProject = ProjectBuilder.builder().build()
                    try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/os/exec_posix.go

    			res = "exit status " + itoa.Itoa(code) // unix
    		}
    	case status.Signaled():
    		res = "signal: " + status.Signal().String()
    	case status.Stopped():
    		res = "stop signal: " + status.StopSignal().String()
    		if status.StopSignal() == syscall.SIGTRAP && status.TrapCause() != 0 {
    			res += " (trap " + itoa.Itoa(status.TrapCause()) + ")"
    		}
    	case status.Continued():
    		res = "continued"
    	}
    	if status.CoreDump() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. src/syscall/syscall_js.go

    func (w WaitStatus) CoreDump() bool     { return false }
    func (w WaitStatus) Stopped() bool      { return false }
    func (w WaitStatus) Continued() bool    { return false }
    func (w WaitStatus) StopSignal() Signal { return 0 }
    func (w WaitStatus) TrapCause() int     { return 0 }
    
    // XXX made up
    type Rusage struct {
    	Utime Timeval
    	Stime Timeval
    }
    
    // XXX made up
    type ProcAttr struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/syscall/syscall_wasip1.go

    func (w WaitStatus) CoreDump() bool     { return false }
    func (w WaitStatus) Stopped() bool      { return false }
    func (w WaitStatus) Continued() bool    { return false }
    func (w WaitStatus) StopSignal() Signal { return 0 }
    func (w WaitStatus) TrapCause() int     { return 0 }
    
    // Rusage is a placeholder to allow compilation of the [os/exec] package
    // because we need Go programs to be portable across platforms. WASI does
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top