Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 230 for io_time (1.61 sec)

  1. cmd/xl-storage.go

    		case isSysErrIO(err):
    			return VolInfo{}, errFaultyDisk
    		default:
    			return VolInfo{}, err
    		}
    	}
    	// As os.Lstat() doesn't carry other than ModTime(), use ModTime()
    	// as CreatedTime.
    	createdTime := st.ModTime()
    	return VolInfo{
    		Name:    volume,
    		Created: createdTime,
    	}, nil
    }
    
    // DeleteVol - delete a volume.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  2. pkg/volume/fc/fc_util_test.go

    func (fi *fakeFileInfo) Name() string {
    	return fi.name
    }
    
    func (fi *fakeFileInfo) Size() int64 {
    	return 0
    }
    
    func (fi *fakeFileInfo) Mode() os.FileMode {
    	return 777
    }
    
    func (fi *fakeFileInfo) ModTime() time.Time {
    	return time.Now()
    }
    func (fi *fakeFileInfo) IsDir() bool {
    	return false
    }
    
    func (fi *fakeFileInfo) Sys() interface{} {
    	return nil
    }
    
    type fakeIOHandler struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 23 08:36:01 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux_arm64.go

    		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

    		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. cmd/api-headers.go

    	// set common headers
    	setCommonHeaders(w)
    
    	// Set last modified time.
    	lastModified := objInfo.ModTime.UTC().Format(http.TimeFormat)
    	w.Header().Set(xhttp.LastModified, lastModified)
    
    	// Set Etag if available.
    	if objInfo.ETag != "" {
    		w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    }
    
    type Timeval32 struct {
    	Sec  int32
    	Usec int32
    }
    
    type Tms struct {
    	Utime  int64
    	Stime  int64
    	Cutime int64
    	Cstime int64
    }
    
    type Utimbuf struct {
    	Actime  int64
    	Modtime int64
    }
    
    type Rusage struct {
    	Utime    Timeval
    	Stime    Timeval
    	Maxrss   int64
    	Ixrss    int64
    	Idrss    int64
    	Isrss    int64
    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    	Inblock  int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go

    		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)
  8. src/time/zoneinfo_read.go

    	}
    
    	for i := 0; i < n; i++ {
    		// zip entry layout:
    		//	0	magic[4]
    		//	4	madevers[1]
    		//	5	madeos[1]
    		//	6	extvers[1]
    		//	7	extos[1]
    		//	8	flags[2]
    		//	10	meth[2]
    		//	12	modtime[2]
    		//	14	moddate[2]
    		//	16	crc[4]
    		//	20	csize[4]
    		//	24	uncsize[4]
    		//	28	namelen[2]
    		//	30	xlen[2]
    		//	32	fclen[2]
    		//	34	disknum[2]
    		//	36	iattr[2]
    		//	38	eattr[4]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    		}
    
    		if len(data) == 0 {
    			return
    		}
    
    		globalCacheConfig.Set(&cache.ObjectInfo{
    			Key:          objInfo.Name,
    			Bucket:       objInfo.Bucket,
    			ETag:         objInfo.ETag,
    			ModTime:      objInfo.ModTime,
    			Expires:      objInfo.ExpiresStr(),
    			CacheControl: objInfo.CacheControl,
    			Metadata:     cleanReservedKeys(objInfo.UserDefined),
    			Range:        rangeHeader,
    			PartNumber:   opts.PartNumber,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go

    		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.7K bytes
    - Viewed (0)
Back to top