const golang.org/x/sys/unix.shift
6 uses
golang.org/x/sys/unix (current package)
syscall_bsd.go#L92: shift = 8
syscall_bsd.go#L105: return int(w >> shift)
syscall_bsd.go#L120: func (w WaitStatus) Stopped() bool { return w&mask == stopped && syscall.Signal(w>>shift) != SIGSTOP }
syscall_bsd.go#L122: func (w WaitStatus) Killed() bool { return w&mask == killed && syscall.Signal(w>>shift) != SIGKILL }
syscall_bsd.go#L124: func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
syscall_bsd.go#L130: return syscall.Signal(w>>shift) & 0xFF
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |