Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 143 for Ustat (0.08 sec)

  1. docs/bucket/lifecycle/setup_ilm_transition.sh

    ./mc ilm rule list sitea/bucket
    
    ./mc cp README.md sitea/bucket/README.md
    
    until $(./mc stat sitea/bucket/README.md --json | jq -r '.metadata."X-Amz-Storage-Class"' | grep -q WARM-TIER); do
    	echo "waiting until the object is tiered to run heal"
    	sleep 1s
    done
    ./mc stat sitea/bucket/README.md
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. internal/disk/stat_windows.go

    //
    // https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx
    func GetInfo(path string, _ bool) (info Info, err error) {
    	// Stat to know if the path exists.
    	if _, err = os.Stat(path); err != nil {
    		return Info{}, err
    	}
    
    	lpFreeBytesAvailable := int64(0)
    	lpTotalNumberOfBytes := int64(0)
    	lpTotalNumberOfFreeBytes := int64(0)
    
    	// Extract values safely
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.go

    	statPath := filepath.Join(os.TempDir(), "go_android_exec-adb-sync-status")
    	stat, err := os.OpenFile(statPath, os.O_CREATE|os.O_RDWR, 0666)
    	if err != nil {
    		return err
    	}
    	defer stat.Close()
    	// Serialize check and copying.
    	if err := syscall.Flock(int(stat.Fd()), syscall.LOCK_EX); err != nil {
    		return err
    	}
    	s, err := io.ReadAll(stat)
    	if err != nil {
    		return err
    	}
    	if string(s) == goVersion {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. cmd/metacache_gen.go

    				err = msgp.WrapError(err, "root")
    				return
    			}
    		case "fnf":
    			z.fileNotFound, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "fileNotFound")
    				return
    			}
    		case "stat":
    			{
    				var zb0002 uint8
    				zb0002, err = dc.ReadUint8()
    				if err != nil {
    					err = msgp.WrapError(err, "status")
    					return
    				}
    				z.status = scanStatus(zb0002)
    			}
    		case "rec":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v1_gen.go

    			}
    		case "Format":
    			z.Format, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Format")
    				return
    			}
    		case "Stat":
    			err = z.Stat.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Stat")
    				return
    			}
    		case "Erasure":
    			err = z.Erasure.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Erasure")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:25:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. cmd/kms-handlers.go

    	if GlobalKMS == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL)
    		return
    	}
    
    	stat, err := GlobalKMS.Status(ctx)
    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	resp, err := json.Marshal(stat)
    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. cmd/metrics.go

    			prometheus.GaugeValue,
    			float64(stat.ReplicationStats.ReplicatedSize),
    			bucket,
    		)
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName("bucket", "replication", "received_size"),
    				"Total capacity replicated to this instance",
    				[]string{"bucket"}, nil),
    			prometheus.GaugeValue,
    			float64(stat.ReplicationStats.ReplicaSize),
    			bucket,
    		)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    }
    
    type openDir struct {
    	e      *fileListEntry
    	files  []fileListEntry
    	offset int
    }
    
    func (d *openDir) Close() error               { return nil }
    func (d *openDir) Stat() (fs.FileInfo, error) { return d.e.stat() }
    
    func (d *openDir) Read([]byte) (int, error) {
    	return 0, &fs.PathError{Op: "read", Path: d.e.name, Err: errors.New("is a directory")}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. cmd/naughty-disk_test.go

    		return nil, err
    	}
    	return d.disk.VerifyFile(ctx, volume, path, fi)
    }
    
    func (d *naughtyDisk) StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error) {
    	if err := d.calcError(); err != nil {
    		return stat, err
    	}
    	return d.disk.StatInfoFile(ctx, volume, path, glob)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top