Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Lutimes (0.25 sec)

  1. src/os/file_plan9.go

    	}
    	return nil
    }
    
    // Chtimes changes the access and modification times of the named
    // file, similar to the Unix utime() or utimes() functions.
    // A zero time.Time value will leave the corresponding file time unchanged.
    //
    // The underlying filesystem may truncate or round the values to a
    // less precise time unit.
    // If there is an error, it will be of type *PathError.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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/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)
  6. 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)
  7. src/time/zoneinfo_read.go

    				return nil, errBadData
    			}
    			n[i] = int(nn)
    		}
    	}
    
    	size := 4
    	if is64 {
    		size = 8
    	}
    
    	// Transition times.
    	txtimes := dataIO{d.read(n[NTime] * size), false}
    
    	// Time zone indices for transition times.
    	txzones := d.read(n[NTime])
    
    	// Zone info structures
    	zonedata := dataIO{d.read(n[NZone] * 6), false}
    
    	// Time zone abbreviations.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/helpers.go

    	if c == nil || c.Id == "" || c.Image == nil {
    		return nil, fmt.Errorf("unable to convert a nil pointer to a runtime container")
    	}
    
    	// Keep backwards compatibility to older runtimes, c.ImageId has been added in v1.30
    	imageID := c.ImageRef
    	if c.ImageId != "" {
    		imageID = c.ImageId
    	}
    
    	annotatedInfo := getContainerInfoFromAnnotations(c.Annotations)
    	return &kubecontainer.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_amd64.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.4K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_arm64.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.4K bytes
    - Viewed (0)
Back to top