Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 262 for Lutimes (0.21 sec)

  1. src/syscall/syscall_linux_ppc64x.go

    //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)
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. src/syscall/fs_js.go

    		if err := Stat(path, &st); err != nil {
    			return err
    		}
    		if atime == UTIME_OMIT {
    			atime = st.Atime
    		}
    		if mtime == UTIME_OMIT {
    			mtime = st.Mtime
    		}
    	}
    	_, err := fsCall("utimes", path, atime, mtime)
    	return err
    }
    
    func Rename(from, to string) error {
    	if err := checkPath(from); err != nil {
    		return err
    	}
    	if err := checkPath(to); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 11 18:19:17 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux_amd64.go

    	var tv Timeval
    	errno := gettimeofday(&tv)
    	if errno != 0 {
    		return 0, errno
    	}
    	if t != nil {
    		*t = Time_t(tv.Sec)
    	}
    	return Time_t(tv.Sec), nil
    }
    
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    	_, _, errno := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_openbsd_arm.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_utimes_trampoline()
    
    //go:cgo_import_dynamic libc_utimes utimes "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func futimes(fd int, timeval *[2]Timeval) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_futimes_trampoline), uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
    	if e1 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_issue6480.txt

    # "go test -c" should also appear to write a new binary every time,
    # even if it's really just updating the mtime on an existing up-to-date binary.
    
    [compiler:gccgo] skip
    [short] skip
    
    # Install some commands to compare mtimes
    env GOBIN=$WORK/tmp/bin
    go install m/now m/mtime m/before
    
    # Initial builds
    go test -c -test.bench=XXX errors
    go test -c -o errors2.test errors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux.go

    func Unlinkat(dirfd int, path string) error {
    	return unlinkat(dirfd, path, 0)
    }
    
    func Utimes(path string, tv []Timeval) (err error) {
    	if len(tv) != 2 {
    		return EINVAL
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error)
    
    func UtimesNano(path string, ts []Timespec) (err error) {
    	if len(ts) != 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cache/cache_test.go

    	checkTime(fmt.Sprintf("%x-a", id), mtime)
    	checkTime(fmt.Sprintf("%x-d", entry.OutputID), mtime)
    
    	// Get should not change recent mtimes.
    	now = start + 10
    	c.Get(id)
    	checkTime(fmt.Sprintf("%x-a", id), mtime)
    	checkTime(fmt.Sprintf("%x-d", entry.OutputID), mtime)
    
    	// Get should change distant mtimes.
    	now = start + 5000
    	mtime2 := now
    	if _, err := c.Get(id); err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. src/syscall/syscall_aix.go

    	s := uint64(len(buf))
    	return readlink(path, buf, s)
    }
    
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    func Utimes(path string, tv []Timeval) error {
    	if len(tv) != 2 {
    		return EINVAL
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error)
    
    func UtimesNano(path string, ts []Timespec) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/net/file_wasip1_test.go

    // opened on a socket, but the WASI preview 1 specification is too limited to
    // support this approach for UDP sockets. Instead, we test the internals that
    // make it possible for WASI host runtimes and guest programs to integrate
    // socket extensions with the net package using net.FileConn/net.FileListener.
    //
    // Note that the creation of net.Conn and net.Listener values for TCP sockets
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:06:56 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/Zip.java

         * Notably, the {@link java.util.zip.ZipInputStream} JDK class does not support Zip64 for versions earlier than Java 7.
         * This means you should not enable this property if you are building JARs to be used with Java 6 and earlier runtimes.
         */
        @Input
        public boolean isZip64() {
            return allowZip64;
        }
    
        /**
         * The character set used to encode ZIP metadata like file names.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 08:29:19 UTC 2022
    - 5.6K bytes
    - Viewed (0)
Back to top