Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Stat (0.16 sec)

  1. src/archive/tar/stat_actime1.go

    //go:build aix || linux || dragonfly || openbsd || solaris
    
    package tar
    
    import (
    	"syscall"
    	"time"
    )
    
    func statAtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Atim.Unix())
    }
    
    func statCtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Ctim.Unix())
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 28 18:17:57 GMT 2021
    - 431 bytes
    - Viewed (0)
  2. src/archive/tar/stat_actime2.go

    //go:build darwin || freebsd || netbsd
    
    package tar
    
    import (
    	"syscall"
    	"time"
    )
    
    func statAtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Atimespec.Unix())
    }
    
    func statCtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Ctimespec.Unix())
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 28 18:17:57 GMT 2021
    - 421 bytes
    - Viewed (0)
  3. src/archive/tar/stat_unix.go

    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    	h.Uid = int(sys.Uid)
    	h.Gid = int(sys.Gid)
    	if doNameLookups {
    		// Best effort at populating Uname and Gname.
    		// The os/user functions may fail for any number of reasons
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/swig/swig_test.go

    	output, err := exec.Command(swig, "-go", "-swiglib").Output()
    	if err != nil {
    		t.Skip("swig is missing Go support")
    	}
    	swigDir := strings.TrimSpace(string(output))
    
    	_, err = os.Stat(filepath.Join(swigDir, "go"))
    	if err != nil {
    		t.Skip("swig is missing Go support")
    	}
    
    	// Check that swig has a new enough version.
    	// See https://golang.org/issue/22858.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. api/go1.12.txt

    pkg syscall (freebsd-386), type Stat_t struct, Atim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Blksize int32
    pkg syscall (freebsd-386), type Stat_t struct, Btim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Ctim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Dev uint64
    pkg syscall (freebsd-386), type Stat_t struct, Gen uint64
    pkg syscall (freebsd-386), type Stat_t struct, Ino uint64
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
  6. api/go1.3.txt

    pkg syscall (netbsd-arm), type Kevent_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_1 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_2 [4]uint8
    pkg syscall (netbsd-arm), type Termios struct
    pkg syscall (netbsd-arm), type Termios struct, Cc [20]uint8
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/cgotest/overlaydir.go

    			suffix = suffix[1:]
    		}
    		dstPath := filepath.Join(dstRoot, suffix)
    
    		perm := info.Mode() & os.ModePerm
    		if info.Mode()&os.ModeSymlink != 0 {
    			info, err = os.Stat(srcPath)
    			if err != nil {
    				return err
    			}
    			perm = info.Mode() & os.ModePerm
    		}
    
    		// Always copy directories (don't symlink them).
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 20:56:09 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Flags uint32
    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Gen uint32
    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Gid uint32
    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Ino uint64
    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Mode uint32
    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Mtimespec Timespec
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  9. lib/time/update.bash

    Commit generated by update.bash.
    
    For #22487.
    "
    
    if [ "$1" = "-commit" ]; then
    	echo "Creating commit. Run 'git reset HEAD^' to undo commit."
    	echo
    	git commit -m "$commitmsg" $files
    	echo
    	git log -n1 --stat
    	echo
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg syscall (linux-amd64), type Stat_t struct, Mode uint32
    pkg syscall (linux-amd64), type Stat_t struct, Mtim Timespec
    pkg syscall (linux-amd64), type Stat_t struct, Nlink uint64
    pkg syscall (linux-amd64), type Stat_t struct, Rdev uint64
    pkg syscall (linux-amd64), type Stat_t struct, Size int64
    pkg syscall (linux-amd64), type Stat_t struct, Uid uint32
    pkg syscall (linux-amd64), type Stat_t struct, X__pad0 int32
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top