Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 230 for io_time (0.16 sec)

  1. cmd/erasure-metadata-utils.go

    	distribution := fi.Erasure.Distribution
    
    	init := fi.ModTime.IsZero()
    	// Shuffle slice xl metadata for expected distribution.
    	for index := range partsMetadata {
    		if disks[index] == nil {
    			continue
    		}
    		if !init && !partsMetadata[index].IsValid() {
    			// Check for parts metadata validity for only
    			// fi.ModTime is not empty - ModTime is always set,
    			// if object was ever written previously.
    			continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. pkg/kubelet/util/boottime_util_darwin.go

    	if err != nil {
    		return time.Time{}, err
    	}
    	var timeval syscall.Timeval
    	if len(output) != int(unsafe.Sizeof(timeval)) {
    		return time.Time{}, fmt.Errorf("unexpected output when calling syscall kern.bootime.  Expected len(output) to be %v, but got %v",
    			int(unsafe.Sizeof(timeval)), len(output))
    	}
    	timeval = *(*syscall.Timeval)(unsafe.Pointer(&output[0]))
    	sec, nsec := timeval.Unix()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  3. src/os/stat_solaris.go

    const (
    	_S_IFNAM  = 0x5000
    	_S_IFDOOR = 0xd000
    	_S_IFPORT = 0xe000
    )
    
    func fillFileStatFromSys(fs *fileStat, name string) {
    	fs.name = filepathlite.Base(name)
    	fs.size = fs.sys.Size
    	fs.modTime = time.Unix(fs.sys.Mtim.Unix())
    	fs.mode = FileMode(fs.sys.Mode & 0777)
    	switch fs.sys.Mode & syscall.S_IFMT {
    	case syscall.S_IFBLK:
    		fs.mode |= ModeDevice
    	case syscall.S_IFCHR:
    		fs.mode |= ModeDevice | ModeCharDevice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. cmd/erasure-common.go

    					continue
    				}
    				if gotFile.File != wantFile || gotFile.Bucket != req.Bucket || gotFile.Prefix != req.Prefix {
    					continue
    				}
    				quorum++
    				if toAdd.Modtime.After(gotFile.Modtime) || len(gotFile.Data) < len(toAdd.Data) {
    					// Pick latest, or largest to avoid possible truncated entries.
    					continue
    				}
    				toAdd = gotFile
    			}
    		}
    		if quorum < readQuorum {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    		return false
    	}
    	if typ1 != typ2 {
    		return false
    	}
    	if fi.IsCompressed() != ofi.IsCompressed() {
    		return false
    	}
    	if !fi.TransitionInfoEquals(ofi) {
    		return false
    	}
    	if !fi.ModTime.Equal(ofi.ModTime) {
    		return false
    	}
    	return fi.Erasure.Equal(ofi.Erasure)
    }
    
    // GetDataDir returns an expected dataDir given FileInfo
    //   - deleteMarker returns "delete-marker"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/os/stat_aix.go

    package os
    
    import (
    	"internal/filepathlite"
    	"syscall"
    	"time"
    )
    
    func fillFileStatFromSys(fs *fileStat, name string) {
    	fs.name = filepathlite.Base(name)
    	fs.size = int64(fs.sys.Size)
    	fs.modTime = stTimespecToTime(fs.sys.Mtim)
    	fs.mode = FileMode(fs.sys.Mode & 0777)
    	switch fs.sys.Mode & syscall.S_IFMT {
    	case syscall.S_IFBLK:
    		fs.mode |= ModeDevice
    	case syscall.S_IFCHR:
    		fs.mode |= ModeDevice | ModeCharDevice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/os/stat_wasip1.go

    import (
    	"internal/filepathlite"
    	"syscall"
    	"time"
    )
    
    func fillFileStatFromSys(fs *fileStat, name string) {
    	fs.name = filepathlite.Base(name)
    	fs.size = int64(fs.sys.Size)
    	fs.mode = FileMode(fs.sys.Mode)
    	fs.modTime = time.Unix(0, int64(fs.sys.Mtime))
    
    	switch fs.sys.Filetype {
    	case syscall.FILETYPE_BLOCK_DEVICE:
    		fs.mode |= ModeDevice
    	case syscall.FILETYPE_CHARACTER_DEVICE:
    		fs.mode |= ModeDevice | ModeCharDevice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 990 bytes
    - Viewed (0)
  8. src/os/os_test.go

    			t.Fatal(err)
    		}
    		stat, err := Stat(path) // This uses GetFileInformationByHandle internally.
    		if err != nil {
    			t.Fatal(err)
    		}
    		if stat.ModTime() == info.ModTime() {
    			return nil
    		}
    		if err := Chtimes(path, stat.ModTime(), stat.ModTime()); err != nil {
    			t.Log(err) // We only log, not die, in case the test directory is not writable.
    		}
    		return nil
    	}); err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  9. cmd/update.go

    	}
    
    	// Version is minio non-standard, we will use minio binary's
    	// ModTime as release time.
    	fi, err := Stat(absPath)
    	if err != nil {
    		return t, fmt.Errorf("Unable to get ModTime of %s. %w", absPath, err)
    	}
    
    	// Return the ModTime
    	return fi.ModTime().UTC(), nil
    }
    
    // GetCurrentReleaseTime - returns this process's release time.  If it
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/transition.go

    	if !t.IsDateNull() {
    		return t.Date.Time, true
    	}
    
    	// Days == 0 indicates immediate tiering, i.e object is eligible for tiering since its creation.
    	if t.Days == 0 {
    		return obj.ModTime, true
    	}
    	return ExpectedExpiryTime(obj.ModTime, int(t.Days)), true
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 10 17:07:49 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top