Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 364 for Timeval (0.41 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go

    //go:build riscv64 && openbsd
    
    package unix
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: usec}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint64(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 994 bytes
    - Viewed (0)
  2. src/runtime/defs_linux_riscv64.go

    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	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_handler uintptr
    	sa_flags   uint64
    	sa_mask    uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/syscall/syscall_wasip1.go

    }
    
    func (ts *Timespec) setTimestamp(t timestamp) {
    	ts.Sec = int64(t / 1e9)
    	ts.Nsec = int64(t % 1e9)
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    func (tv *Timeval) timestamp() timestamp {
    	return timestamp(tv.Sec*1e9) + timestamp(tv.Usec*1e3)
    }
    
    func (tv *Timeval) setTimestamp(t timestamp) {
    	tv.Sec = int64(t / 1e9)
    	tv.Usec = int64((t % 1e9) / 1e3)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/runtime/defs_openbsd_386.go

    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = int64(timediv(ns, 1e9, &ts.tv_nsec))
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int32
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type keventt struct {
    	ident  uint32
    	filter int16
    	flags  uint16
    	fflags uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/runtime/defs_openbsd_riscv64.go

    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	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 itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type keventt struct {
    	ident  uint64
    	filter int16
    	flags  uint16
    	fflags uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. src/syscall/syscall_netbsd_386.go

    // license that can be found in the LICENSE file.
    
    package syscall
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: int32(nsec)}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint32(fd)
    	k.Filter = uint32(mode)
    	k.Flags = uint32(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 13:10:54 UTC 2016
    - 716 bytes
    - Viewed (0)
  7. src/syscall/syscall_netbsd_amd64.go

    // license that can be found in the LICENSE file.
    
    package syscall
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint64(fd)
    	k.Filter = uint32(mode)
    	k.Flags = uint32(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 13:10:54 UTC 2016
    - 709 bytes
    - Viewed (0)
  8. src/syscall/syscall_openbsd_amd64.go

    // license that can be found in the LICENSE file.
    
    package syscall
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: usec}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint64(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 13:10:54 UTC 2016
    - 701 bytes
    - Viewed (0)
  9. src/syscall/syscall_openbsd_arm.go

    // license that can be found in the LICENSE file.
    
    package syscall
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: int32(nsec)}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint32(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 13:10:54 UTC 2016
    - 715 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go

    //go:build amd64 && darwin
    
    package unix
    
    import "syscall"
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint64(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top