Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for strsignal (0.24 sec)

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

    	printf("} {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], tuplecmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i].num;
    		if(i > 0 && signals[i-1].num == e)
    			continue;
    		strncpy(buf, strsignal(e), sizeof(buf) - 1);
    		buf[sizeof(buf) - 1] = '\0';
    		// 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;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  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)
  6. src/syscall/syscall_solaris.go

    func (w WaitStatus) Stopped() bool { return w&mask == stopped && Signal(w>>shift) != SIGSTOP }
    
    func (w WaitStatus) Continued() bool { return w&mask == stopped && Signal(w>>shift) == SIGSTOP }
    
    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. src/syscall/syscall_aix.go

    	Slen   uint8
    	Data   [120]uint8
    	raw    RawSockaddrDatalink
    }
    
    /*
     * Wait
     */
    
    type WaitStatus uint32
    
    func (w WaitStatus) Stopped() bool { return w&0x40 != 0 }
    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>8) & 0xFF
    }
    
    func (w WaitStatus) Exited() bool { return w&0xFF == 0 }
    func (w WaitStatus) ExitStatus() int {
    	if !w.Exited() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux.go

    func (w WaitStatus) Signal() Signal {
    	if !w.Signaled() {
    		return -1
    	}
    	return Signal(w & mask)
    }
    
    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int {
    	if w.StopSignal() != SIGTRAP {
    		return -1
    	}
    	return int(w>>shift) >> 8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	if !w.Signaled() {
    		return -1
    	}
    	return syscall.Signal(w & mask)
    }
    
    func (w WaitStatus) StopSignal() syscall.Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return syscall.Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int {
    	if w.StopSignal() != SIGTRAP {
    		return -1
    	}
    	return int(w>>shift) >> 8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  10. src/syscall/syscall_windows.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 -1 }
    
    func (w WaitStatus) Signaled() bool { return false }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    // Timespec is an invented structure on Windows, but here for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
Back to top