Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 262 for Lutimes (0.19 sec)

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

    	if err != nil {
    		return 0, err
    	}
    	if t != nil {
    		*t = Time_t(tv.Sec)
    	}
    	return Time_t(tv.Sec), nil
    }
    
    func Utime(path string, buf *Utimbuf) error {
    	tv := []Timeval{
    		{Sec: buf.Actime},
    		{Sec: buf.Modtime},
    	}
    	return Utimes(path, tv)
    }
    
    func utimes(path string, tv *[2]Timeval) (err error) {
    	if tv == nil {
    		return utimensat(AT_FDCWD, path, nil, 0)
    	}
    
    	ts := []Timespec{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go

    	if err != nil {
    		return 0, err
    	}
    	if t != nil {
    		*t = Time_t(tv.Sec)
    	}
    	return Time_t(tv.Sec), nil
    }
    
    func Utime(path string, buf *Utimbuf) error {
    	tv := []Timeval{
    		{Sec: buf.Actime},
    		{Sec: buf.Modtime},
    	}
    	return Utimes(path, tv)
    }
    
    func utimes(path string, tv *[2]Timeval) (err error) {
    	if tv == nil {
    		return utimensat(AT_FDCWD, path, nil, 0)
    	}
    
    	ts := []Timespec{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux_arm64.go

    	if err != nil {
    		return 0, err
    	}
    	if t != nil {
    		*t = Time_t(tv.Sec)
    	}
    	return Time_t(tv.Sec), nil
    }
    
    func Utime(path string, buf *Utimbuf) error {
    	tv := []Timeval{
    		{Sec: buf.Actime},
    		{Sec: buf.Modtime},
    	}
    	return Utimes(path, tv)
    }
    
    func utimes(path string, tv *[2]Timeval) (err error) {
    	if tv == nil {
    		return utimensat(_AT_FDCWD, path, nil, 0)
    	}
    
    	ts := []Timespec{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux_riscv64.go

    	if err != nil {
    		return 0, err
    	}
    	if t != nil {
    		*t = Time_t(tv.Sec)
    	}
    	return Time_t(tv.Sec), nil
    }
    
    func Utime(path string, buf *Utimbuf) error {
    	tv := []Timeval{
    		{Sec: buf.Actime},
    		{Sec: buf.Modtime},
    	}
    	return Utimes(path, tv)
    }
    
    func utimes(path string, tv *[2]Timeval) (err error) {
    	if tv == nil {
    		return utimensat(_AT_FDCWD, path, nil, 0)
    	}
    
    	ts := []Timespec{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/fuzz_race.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package roundtrip
    
    // in race-detection mode, lower the number of iterations to keep reasonable runtimes in CI
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 741 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm.go

    		{Sec: buf.Modtime},
    	}
    	return Utimes(path, tv)
    }
    
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    //sys	pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
    //sys	Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
    //sys	Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. src/cmd/gofmt/gofmt_unix_test.go

    	if err := os.WriteFile(filepath.Join(fn), []byte("  package main"), 0o400); err != nil {
    		t.Fatal(err)
    	}
    
    	// Set mtime of the file in the past.
    	past := time.Now().Add(-time.Hour)
    	if err := os.Chtimes(fn, past, past); err != nil {
    		t.Fatal(err)
    	}
    
    	info, err := os.Stat(fn)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	defer func() { *write = false }()
    	*write = true
    
    	initParserMode()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 12:52:14 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. architecture/standards/0004-use-a-platform-architecture.md

    This platform does not provide special support for a particular kind of automation. This is the responsibility of other platforms. 
    
    It is made up of 3 architecture modules:
    
    - **Runtime**: Provides the runtimes or "containers" in which code runs. These runtimes include the Gradle client, the daemon and the worker processes. This is the base module on which all other architecture modules depend.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 25 22:19:29 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/crypto/rand/rand_wasip1.go

    	// The definition does not explicitly guarantee that the entire buffer will
    	// be filled, but this appears to be the case in all runtimes tested.
    	err := syscall.RandomGet(b)
    	if err != nil {
    		return 0, err
    	}
    	return len(b), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:54:07 UTC 2023
    - 787 bytes
    - Viewed (0)
  10. src/internal/testenv/testenv_notwin.go

    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"runtime"
    )
    
    func hasSymlink() (ok bool, reason string) {
    	switch runtime.GOOS {
    	case "plan9":
    		return false, ""
    	case "android", "wasip1":
    		// For wasip1, some runtimes forbid absolute symlinks,
    		// or symlinks that escape the current working directory.
    		// Perform a simple test to see whether the runtime
    		// supports symlinks or not. If we get a permission
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 05:22:00 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top