Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for clear (0.32 sec)

  1. cmd/xl-storage-format-v2-legacy.go

    func (j *xlMetaV2Version) unmarshalV(v uint8, bts []byte) (o []byte, err error) {
    	if v > xlMetaVersion {
    		return bts, fmt.Errorf("unknown xlMetaVersion: %d", v)
    	}
    
    	// Clear omitempty fields:
    	if j.ObjectV2 != nil && len(j.ObjectV2.PartIndices) > 0 {
    		j.ObjectV2.PartIndices = j.ObjectV2.PartIndices[:0]
    	}
    	o, err = j.UnmarshalMsg(bts)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/last-minute.go

    func (l *lastMinuteLatency) forwardTo(t int64) {
    	if l.LastSec >= t {
    		return
    	}
    	if t-l.LastSec >= 60 {
    		l.Totals = [60]AccElem{}
    		return
    	}
    	for l.LastSec != t {
    		// Clear next element.
    		idx := (l.LastSec + 1) % 60
    		l.Totals[idx] = AccElem{}
    		l.LastSec++
    	}
    }
    
    // LastMinuteHistogram keeps track of last minute sizes added.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. internal/config/errors-utils.go

    		}
    	}
    
    	// Failed to identify what type of error this, return a simple UI error
    	return Err{msg: err.Error()}
    }
    
    // FmtError converts a fatal error message to a more clear error
    // using some colors
    func FmtError(introMsg string, err error, jsonFlag bool) string {
    	renderedTxt := ""
    	uiErr := ErrorToErr(err)
    	// JSON print
    	if jsonFlag {
    		// Message text in json should be simple
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. cmd/bucket-stats.go

    func (l *ReplicationLastHour) forwardTo(t int64) {
    	tMin := t / 60
    	if l.LastMin >= tMin {
    		return
    	}
    	if t-l.LastMin >= 60 {
    		l.Totals = [60]AccElem{}
    		return
    	}
    	for l.LastMin != t {
    		// Clear next element.
    		idx := (l.LastMin + 1) % 60
    		l.Totals[idx] = AccElem{}
    		l.LastMin++
    	}
    }
    
    // BucketStatsMap captures bucket statistics for all buckets
    type BucketStatsMap struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    				topEntries[i] = entry
    				continue
    			}
    			// We got different entries
    			if entry.name > current.name {
    				continue
    			}
    			// We got a new, better current.
    			// Clear existing entries.
    			for i := range topEntries[:i] {
    				topEntries[i] = metaCacheEntry{}
    			}
    			agree = 1
    			current = entry
    			topEntries[i] = entry
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/feature_request.md

    assignees: ''
    
    ---
    
    **Is your feature request related to a problem? Please describe.**
    A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
    
    **Describe the solution you'd like**
    A clear and concise description of what you want to happen.
    
    **Describe alternatives you've considered**
    A clear and concise description of any alternative solutions or features you've considered.
    
    **Additional context**
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue May 07 20:49:54 GMT 2019
    - 610 bytes
    - Viewed (0)
  7. cmd/bucket-quota.go

    	}
    	if !quotaCfg.IsValid() {
    		if quotaCfg.Type == "fifo" {
    			internalLogIf(GlobalContext, errors.New("Detected older 'fifo' quota config, 'fifo' feature is removed and not supported anymore. Please clear your quota configs using 'mc admin bucket quota alias/bucket --clear' and use 'mc ilm add' for expiration of objects"), logger.WarningKind)
    			return quotaCfg, fmt.Errorf("invalid quota type 'fifo'")
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. helm/minio/templates/_helper_create_user.txt

      if ! checkUserExists ; then
        echo "Creating user '$USER'"
        cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio
      else
        echo "User '$USER' already exists."
      fi
      #clean up credentials files.
      rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
    
      # set policy for user
      if [ ! -z $POLICY -a $POLICY != " " ] ; then
          echo "Adding policy '$POLICY' for '$USER'"
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 12 23:43:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    //
    // Metadata is only updated to new values, existing values
    // stay as is, if you wish to update all values you should
    // update all metadata freshly before calling this function
    // in-case you wish to clear existing metadata.
    func (x *xlMetaV2) UpdateObjectVersion(fi FileInfo) error {
    	if fi.VersionID == "" {
    		// this means versioning is not yet
    		// enabled or suspend i.e all versions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. cmd/erasure.go

    }
    
    func (er erasureObjects) getOnlineDisksWithHealing(inclHealing bool) ([]StorageAPI, bool) {
    	newDisks, _, healing := er.getOnlineDisksWithHealingAndInfo(inclHealing)
    	return newDisks, healing > 0
    }
    
    // Clean-up previously deleted objects. from .minio.sys/tmp/.trash/
    func (er erasureObjects) cleanupDeletedObjects(ctx context.Context) {
    	var wg sync.WaitGroup
    	for _, disk := range er.getLocalDisks() {
    		if disk == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
Back to top