Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for scanf (0.05 sec)

  1. cmd/metrics-v3-scanner.go

    )
    
    var (
    	scannerBucketScansFinishedMD = NewCounterMD(scannerBucketScansFinished,
    		"Total number of bucket scans finished since server start")
    	scannerBucketScansStartedMD = NewCounterMD(scannerBucketScansStarted,
    		"Total number of bucket scans started since server start")
    	scannerDirectoriesScannedMD = NewCounterMD(scannerDirectoriesScanned,
    		"Total number of directories scanned since server start")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 19:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/global-heal.go

    func healObject(bucket, object, versionID string, scan madmin.HealScanMode) error {
    	// Get background heal sequence to send elements to heal
    	bgSeq, ok := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
    	if ok {
    		return bgSeq.healObject(bucket, object, versionID, scan)
    	}
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. cmd/common-main.go

    	f, err := Open(envConfigFile)
    	if err != nil {
    		return nil, err
    	}
    	defer f.Close()
    	var ekvs []envKV
    	scanner := bufio.NewScanner(f)
    	for scanner.Scan() {
    		ekv, err := parsEnvEntry(scanner.Text())
    		if err != nil {
    			return nil, err
    		}
    		if ekv.Skip {
    			// Skips empty lines
    			continue
    		}
    		ekvs = append(ekvs, ekv)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  4. cmd/mrf.go

    			scan := madmin.HealNormalScan
    			if u.scanMode != 0 {
    				scan = u.scanMode
    			}
    			if u.object == "" {
    				healBucket(u.bucket, scan)
    			} else {
    				if len(u.versions) > 0 {
    					vers := len(u.versions) / 16
    					if vers > 0 {
    						for i := 0; i < vers; i++ {
    							healObject(u.bucket, u.object, uuid.UUID(u.versions[16*i:]).String(), scan)
    						}
    					}
    				} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. cmd/metacache-walk.go

    // WalkDirOptions provides options for WalkDir operations.
    type WalkDirOptions struct {
    	// Bucket to scanner
    	Bucket string
    
    	// Directory inside the bucket.
    	BaseDir string
    
    	// Do a full recursive scan.
    	Recursive bool
    
    	// ReportNotFound will return errFileNotFound if all disks reports the BaseDir cannot be found.
    	ReportNotFound bool
    
    	// FilterPrefix will only return results with given prefix within folder.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. cmd/data-scanner.go

    	if i.debug {
    		if versionID != "" {
    			console.Debugf(applyActionsLogPrefix+" lifecycle: %q (version-id=%s), Initial scan: %v\n", i.objectPath(), versionID, lcEvt.Action)
    		} else {
    			console.Debugf(applyActionsLogPrefix+" lifecycle: %q Initial scan: %v\n", i.objectPath(), lcEvt.Action)
    		}
    	}
    
    	switch lcEvt.Action {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    			// - attempt a heal to successfully heal them for future calls.
    			if written == partLength {
    				var scan madmin.HealScanMode
    				switch {
    				case errors.Is(err, errFileNotFound):
    					scan = madmin.HealNormalScan
    				case errors.Is(err, errFileCorrupt):
    					scan = madmin.HealDeepScan
    				}
    				switch scan {
    				case madmin.HealNormalScan, madmin.HealDeepScan:
    					healOnce.Do(func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  8. internal/s3select/select.go

    	Start *uint64 `xml:"Start"`
    	// End is the offset of the last byte that should be returned when Start
    	// is set, otherwise it is the offset from EOF to start reading.
    	End *uint64 `xml:"End"`
    }
    
    // Validate if the scan range is valid.
    func (s *ScanRange) Validate() error {
    	if s == nil {
    		return nil
    	}
    	if s.Start == nil && s.End == nil {
    		// This parameter is optional, but when specified, it must not be empty.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. cmd/metacache-entries.go

    	// name is the full name of the object including prefixes
    	name string
    	// Metadata. If none is present it is not an object but only a prefix.
    	// Entries without metadata will only be present in non-recursive scans.
    	metadata []byte
    
    	// cached contains the metadata if decoded.
    	cached *xlMetaV2
    
    	// Indicates the entry can be reused and only one reference to metadata is expected.
    	reusable bool
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    	if errors.Is(err, errFileCorrupt) && opts.ScanMode != madmin.HealDeepScan {
    		// Instead of returning an error when a bitrot error is detected
    		// during a normal heal scan, heal again with bitrot flag enabled.
    		opts.ScanMode = madmin.HealDeepScan
    		hr, err = er.healObject(healCtx, bucket, object, versionID, opts)
    	}
    	return hr, toObjectErr(err, bucket, object, versionID)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
Back to top