Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 217 for asmflags (0.16 sec)

  1. src/cmd/cgo/internal/testcarchive/testdata/main4.c

    static void init() {
    	struct sigaction sa;
    
    	memset(&sa, 0, sizeof sa);
    	sa.sa_sigaction = ioHandler;
    	if (sigemptyset(&sa.sa_mask) < 0) {
    		die("sigemptyset");
    	}
    	sa.sa_flags = SA_SIGINFO | SA_ONSTACK;
    	if (sigaction(SIGIO, &sa, NULL) < 0) {
    		die("sigaction");
    	}
    }
    
    // Test raising SIGIO on a C thread with an alternate signal stack
    // when there is a Go signal handler for SIGIO.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. src/runtime/defs_darwin_arm64.go

    )
    
    type stackt struct {
    	ss_sp     *byte
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type sigactiont struct {
    	__sigaction_u [8]byte
    	sa_tramp      unsafe.Pointer
    	sa_mask       uint32
    	sa_flags      int32
    }
    
    type usigactiont struct {
    	__sigaction_u [8]byte
    	sa_mask       uint32
    	sa_flags      int32
    }
    
    type siginfo struct {
    	si_signo  int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/runtime/defs_linux_s390x.go

    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_handler  uintptr
    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    	// below here is a union; si_addr is the only field we use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/runtime/defs_linux_arm64.go

    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_handler  uintptr
    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    	// below here is a union; si_addr is the only field we use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/runtime/defs_darwin_amd64.go

    )
    
    type stackt struct {
    	ss_sp     *byte
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type sigactiont struct {
    	__sigaction_u [8]byte
    	sa_tramp      unsafe.Pointer
    	sa_mask       uint32
    	sa_flags      int32
    }
    
    type usigactiont struct {
    	__sigaction_u [8]byte
    	sa_mask       uint32
    	sa_flags      int32
    }
    
    type siginfo struct {
    	si_signo  int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/runtime/defs_linux_ppc64.go

    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_handler  uintptr
    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    	// below here is a union; si_addr is the only field we use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/runtime/defs_linux_riscv64.go

    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_handler uintptr
    	sa_flags   uint64
    	sa_mask    uint64
    	// Linux on riscv64 does not have the sa_restorer field, but the setsig
    	// function references it (for x86). Not much harm to include it at the end.
    	sa_restorer uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/runtime/defs_linux_loong64.go

    const (
    	_O_RDONLY   = 0x0
    	_O_WRONLY   = 0x1
    	_O_CREAT    = 0x40
    	_O_TRUNC    = 0x200
    	_O_NONBLOCK = 0x800
    	_O_CLOEXEC  = 0x80000
    )
    
    type sigactiont struct {
    	sa_handler uintptr
    	sa_flags   uint64
    	sa_mask    uint64
    	// Linux on loong64 does not have the sa_restorer field, but the setsig
    	// function references it (for x86). Not much harm to include it at the end.
    	sa_restorer uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. src/runtime/defs_linux_mips64x.go

    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_flags   uint32
    	sa_handler uintptr
    	sa_mask    [2]uint64
    	// linux header does not have sa_restorer field,
    	// but it is used in setsig(). it is no harm to put it here
    	sa_restorer uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/runtime/defs_linux_mipsx.go

    }
    
    type timeval struct {
    	tv_sec  int32
    	tv_usec int32
    }
    
    //go:nosplit
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    type sigactiont struct {
    	sa_flags   uint32
    	sa_handler uintptr
    	sa_mask    [4]uint32
    	// linux header does not have sa_restorer field,
    	// but it is used in setsig(). it is no harm to put it here
    	sa_restorer uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top