Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for strsignal (0.34 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 (0)
  2. src/syscall/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: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/syscall/syscall_bsd.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: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    func (w WaitStatus) Killed() bool { return w&mask == killed && syscall.Signal(w>>shift) != SIGKILL }
    
    func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
    
    func (w WaitStatus) StopSignal() syscall.Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return syscall.Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    		*wstatus = WaitStatus(status)
    	}
    	return
    }
    
    /*
     * 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 Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
Back to top