Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 364 for Timeval (0.13 sec)

  1. src/runtime/defs_linux_s390x.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_restorer uintptr
    	sa_mask     uint64
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/runtime/defs_freebsd_386.go

    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = timediv(ns, 1e9, &ts.tv_nsec)
    }
    
    type timeval struct {
    	tv_sec  int32
    	tv_usec int32
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type umtx_time struct {
    	_timeout timespec
    	_flags   uint32
    	_clockid uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/runtime/defs_freebsd_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 umtx_time struct {
    	_timeout timespec
    	_flags   uint32
    	_clockid uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go

    //sys	mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
    
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    
    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 Getrlimit(resource int, rlim *Rlimit) (err error) {
    	err = Prlimit(0, resource, nil, rlim)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  5. src/syscall/syscall_netbsd_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 = 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)
  6. src/syscall/syscall_openbsd_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 = 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)
  7. src/syscall/ztypes_freebsd_arm.go

    	_C_long      int32
    	_C_long_long int64
    )
    
    type Timespec struct {
    	Sec       int64
    	Nsec      int32
    	Pad_cgo_0 [4]byte
    }
    
    type Timeval struct {
    	Sec       int64
    	Usec      int32
    	Pad_cgo_0 [4]byte
    }
    
    type Rusage struct {
    	Utime    Timeval
    	Stime    Timeval
    	Maxrss   int32
    	Ixrss    int32
    	Idrss    int32
    	Isrss    int32
    	Minflt   int32
    	Majflt   int32
    	Nswap    int32
    	Inblock  int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. src/syscall/ztypes_freebsd_arm64.go

    	_C_short     int16
    	_C_int       int32
    	_C_long      int64
    	_C_long_long int64
    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    type Rusage struct {
    	Utime    Timeval
    	Stime    Timeval
    	Maxrss   int64
    	Ixrss    int64
    	Idrss    int64
    	Isrss    int64
    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    	Inblock  int64
    	Oublock  int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go

    // license that can be found in the LICENSE file.
    
    //go:build gccgo && linux && amd64
    
    package unix
    
    import "syscall"
    
    //extern gettimeofday
    func realGettimeofday(*Timeval, *byte) int32
    
    func gettimeofday(tv *Timeval) (err syscall.Errno) {
    	r := realGettimeofday(tv, nil)
    	if r < 0 {
    		return syscall.GetErrno()
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 436 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go

    	_C_long      int64
    	_C_long_long int64
    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int32
    	_    [4]byte
    }
    
    type Timeval32 struct {
    	Sec  int32
    	Usec int32
    }
    
    type Rusage struct {
    	Utime    Timeval
    	Stime    Timeval
    	Maxrss   int64
    	Ixrss    int64
    	Idrss    int64
    	Isrss    int64
    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top