Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for futimens (0.37 sec)

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

    	MOVD $·Fstatfs(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // 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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. src/syscall/exec_linux_test.go

    	}
    }
    
    func TestCloneTimeNamespace(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		timens, err := os.Readlink("/proc/self/ns/time")
    		if err != nil {
    			fmt.Fprintln(os.Stderr, err)
    			os.Exit(2)
    		}
    		fmt.Print(string(timens))
    		os.Exit(0)
    	}
    
    	exe, err := os.Executable()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. 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)
  6. src/syscall/syscall_linux.go

    	if len(tv) != 2 {
    		return EINVAL
    	}
    	return futimesat(dirfd, path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    func Futimes(fd int, tv []Timeval) (err error) {
    	// Believe it or not, this is the best we can do on Linux
    	// (and is what glibc does).
    	return Utimes("/proc/self/fd/"+itoa.Itoa(fd), tv)
    }
    
    const ImplementsGetwd = true
    
    //sys	Getcwd(buf []byte) (n int, err error)
    
    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/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	err = pipe(&pp)
    	p[0] = int(pp[0])
    	p[1] = int(pp[1])
    	return
    }
    
    //sys	utimes(path string, timeval *[2]Timeval) (err error) = SYS___UTIMES_A
    
    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])))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/syscall/zsyscall_openbsd_ppc64.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