Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for Timeval (0.1 sec)

  1. 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)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    		return nil, EIO
    	}
    	return &tv, nil
    }
    
    //sys	utimes(path string, timeval *[2]Timeval) (err error)
    
    func Utimes(path string, tv []Timeval) error {
    	if tv == nil {
    		return utimes(path, nil)
    	}
    	if len(tv) != 2 {
    		return EINVAL
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    func UtimesNano(path string, ts []Timespec) error {
    	if ts == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
  3. src/syscall/syscall_bsd.go

    	// Not as efficient as it could be because Timespec and
    	// Timeval have different types in the different OSes
    	tv := [2]Timeval{
    		NsecToTimeval(TimespecToNsec(ts[0])),
    		NsecToTimeval(TimespecToNsec(ts[1])),
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    //sys	futimes(fd int, timeval *[2]Timeval) (err error)
    
    func Futimes(fd int, tv []Timeval) (err error) {
    	if len(tv) != 2 {
    		return EINVAL
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.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)
  5. src/syscall/syscall_linux_386.go

    		return 0, errno
    	}
    	return newoffset, nil
    }
    
    //sys	futimesat(dirfd int, path string, times *[2]Timeval) (err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Time(t *Time_t) (tt Time_t, err error)
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    // On x86 Linux, all the socket calls go through an extra indirection,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. src/syscall/ztypes_linux_ppc64le.go

    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    type Timex struct {
    	Modes     uint32
    	Pad_cgo_0 [4]byte
    	Offset    int64
    	Freq      int64
    	Maxerror  int64
    	Esterror  int64
    	Status    int32
    	Pad_cgo_1 [4]byte
    	Constant  int64
    	Precision int64
    	Tolerance int64
    	Time      Timeval
    	Tick      int64
    	Ppsfreq   int64
    	Jitter    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go

    	SYS_VFORK          = 66  // { int sys_vfork(void); }
    	SYS_GETTIMEOFDAY   = 67  // { int sys_gettimeofday(struct timeval *tp, struct timezone *tzp); }
    	SYS_SETTIMEOFDAY   = 68  // { int sys_settimeofday(const struct timeval *tv, const struct timezone *tzp); }
    	SYS_SETITIMER      = 69  // { int sys_setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go

    	SYS_VFORK          = 66  // { int sys_vfork(void); }
    	SYS_GETTIMEOFDAY   = 67  // { int sys_gettimeofday(struct timeval *tp, struct timezone *tzp); }
    	SYS_SETTIMEOFDAY   = 68  // { int sys_settimeofday(const struct timeval *tv, const struct timezone *tzp); }
    	SYS_SETITIMER      = 69  // { int sys_setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go

    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    type Timex struct {
    	Modes     uint32
    	Offset    int64
    	Freq      int64
    	Maxerror  int64
    	Esterror  int64
    	Status    int32
    	Constant  int64
    	Precision int64
    	Tolerance int64
    	Time      Timeval
    	Tick      int64
    	Ppsfreq   int64
    	Jitter    int64
    	Shift     int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go

    )
    
    type Timespec struct {
    	Sec  int32
    	Nsec int32
    }
    
    type Timeval struct {
    	Sec  int32
    	Usec int32
    }
    
    type Timex struct {
    	Modes     uint32
    	Offset    int32
    	Freq      int32
    	Maxerror  int32
    	Esterror  int32
    	Status    int32
    	Constant  int32
    	Precision int32
    	Tolerance int32
    	Time      Timeval
    	Tick      int32
    	Ppsfreq   int32
    	Jitter    int32
    	Shift     int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top