Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 347 for futimes (0.13 sec)

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

    	}
    	if n != unsafe.Sizeof(tv) {
    		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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
  2. src/syscall/syscall_bsd.go

    		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
    	}
    	return futimes(fd, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    //sys	fcntl(fd int, cmd int, arg int) (val int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            } catch (IOException e) {
                if (file.isFile() && file.length() == 0) {
                    // On Linux, users cannot touch files they don't own but have write access to
                    // because the JDK uses futimes() instead of futimens() [note the 'n'!]
                    // see https://github.com/gradle/gradle/issues/7873
                    touchFileByWritingEmptyByteArray(file);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_FutimesAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Futimes(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_FutimesatAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Futimesat(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

                if (file.isFile() && file.length() == 0) {
                    // On Linux, users cannot touch files they don't own but have write access to
                    // because the JDK uses futimes() instead of futimens() [note the 'n'!]
                    // see https://github.com/gradle/gradle/issues/7873
                    touchFileByWritingEmptyByteArray(file);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); }
    	SYS_UNDELETE                 = 205 // { int undelete(char *path); }
    	SYS_FUTIMES                  = 206 // { int futimes(int fd, struct timeval *tptr); }
    	SYS_GETPGID                  = 207 // { int getpgid(pid_t pid); }
    	SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    	}
    	return string(buf[:n]), nil
    }
    
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    func Utimes(path string, tv []Timeval) (err error) {
    	if tv == nil {
    		return utimes(path, nil)
    	}
    	if len(tv) != 2 {
    		return EINVAL
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    //sys	utimensat(fd int, path string, times *[2]Timespec, flag int) (err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  8. src/syscall/zsysnum_freebsd_386.go

    	SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); }
    	SYS_UNDELETE                 = 205 // { int undelete(char *path); }
    	SYS_FUTIMES                  = 206 // { int futimes(int fd, struct timeval *tptr); }
    	SYS_GETPGID                  = 207 // { int getpgid(pid_t pid); }
    	SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_freebsd_arm.go

    	SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); }
    	SYS_UNDELETE                 = 205 // { int undelete(char *path); }
    	SYS_FUTIMES                  = 206 // { int futimes(int fd, struct timeval *tptr); }
    	SYS_GETPGID                  = 207 // { int getpgid(pid_t pid); }
    	SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_dragonfly_amd64.go

    	SYS_MUNLOCK                = 204 // { int munlock(const void *addr, size_t len); }
    	SYS_UNDELETE               = 205 // { int undelete(char *path); }
    	SYS_FUTIMES                = 206 // { int futimes(int fd, struct timeval *tptr); }
    	SYS_GETPGID                = 207 // { int getpgid(pid_t pid); }
    	SYS_POLL                   = 209 // { int poll(struct pollfd *fds, u_int nfds, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 22.9K bytes
    - Viewed (0)
Back to top