Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for cout (0.13 sec)

  1. cmd/site-replication-metrics_gen.go

    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Count":
    			z.Count, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Count")
    				return
    			}
    		case "Bytes":
    			z.Bytes, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Bytes")
    				return
    			}
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
  2. cmd/bucket-targets.go

    			updateInProgress: true,
    			count:            v.count + 1,
    			bucket:           bucket,
    		}
    	}
    }
    
    func (sys *BucketTargetSys) markRefreshDone(bucket, arn string) {
    	sys.aMutex.Lock()
    	defer sys.aMutex.Unlock()
    	if v, ok := sys.arnErrsMap[arn]; ok {
    		sys.arnErrsMap[arn] = arnErrs{
    			updateInProgress: false,
    			count:            v.count,
    			bucket:           bucket,
    		}
    	}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    			}
    
    			if qs.QStats.Avg.Count > 0 || qs.QStats.Curr.Count > 0 {
    				qt := qs.QStats
    				currInQueueBytes.Value = qt.Curr.Bytes
    				currInQueueCount.Value = qt.Curr.Count
    				avgQueueBytes.Value = qt.Avg.Bytes
    				avgQueueCount.Value = qt.Avg.Count
    				maxQueueBytes.Value = qt.Max.Bytes
    				maxQueueCount.Value = qt.Max.Count
    			}
    			activeWorkersCount.Value = float64(qs.ActiveWorkers.Curr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. internal/s3select/sql/parser_test.go

    	p := participle.MustBuild(
    		&FuncExpr{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    		participle.CaseInsensitive("Timeword"),
    	)
    
    	validCases := []string{
    		"count(*)",
    		"sum(2 + s.id)",
    		"sum(t)",
    		"avg(s.id[1])",
    		"coalesce(s.id[1], 2, 2 + 3)",
    
    		"cast(s as string)",
    		"cast(s AS INT)",
    		"cast(s as DECIMAL)",
    		"extract(YEAR from '2018-01-09')",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  5. cmd/naughty-disk_test.go

    	}
    	return d.disk.WalkDir(ctx, opts, wr)
    }
    
    func (d *naughtyDisk) ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) (entries []string, err error) {
    	if err := d.calcError(); err != nil {
    		return []string{}, err
    	}
    	return d.disk.ListDir(ctx, origvolume, volume, dirPath, count)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    }
    
    func (p *xlStorageDiskIDCheck) ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) (s []string, err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricListDir, volume, dirPath)
    	if err != nil {
    		return nil, err
    	}
    	defer done(&err)
    
    	return p.storage.ListDir(ctx, origvolume, volume, dirPath, count)
    }
    
    // Legacy API - does not have any deadlines
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    			if kmsCtx, ok := mi.UserDefined[crypto.MetaContext]; ok {
    				w.Header().Set(xhttp.AmzServerSideEncryptionKmsContext, kmsCtx)
    			}
    			if len(etag) >= 32 && strings.Count(etag, "-") != 1 {
    				etag = etag[len(etag)-32:]
    			}
    		case crypto.S3:
    			w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    			etag, _ = DecryptETag(objectEncryptionKey, ObjectInfo{ETag: etag})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  8. cmd/metrics.go

    			prometheus.GaugeValue,
    			float64(usageInfo.Size),
    			bucket,
    		)
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName(bucketNamespace, "objects", "count"),
    				"Total number of objects in a bucket",
    				[]string{"bucket"}, nil),
    			prometheus.GaugeValue,
    			float64(usageInfo.ObjectsCount),
    			bucket,
    		)
    		ch <- prometheus.MustNewConstMetric(
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    			tags["parity"] = m.Erasure.ParityBlocks
    		} else {
    			tags["invalid-meta"] = true
    			tags["data"] = er.setDriveCount - er.defaultParityCount
    			tags["parity"] = er.defaultParityCount
    		}
    
    		// count the number of offline disks
    		offline := 0
    		for i := 0; i < max(len(errs), len(dataErrs)); i++ {
    			if i < len(errs) && errors.Is(errs[i], errDiskNotFound) || i < len(dataErrs) && errors.Is(dataErrs[i], errDiskNotFound) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  10. cmd/erasure-server-pool.go

    		return z.serverPools[poolIdx].sets[setIdx].getDisks(), nil
    	}
    	return nil, fmt.Errorf("Matching pool %s, set %s not found", humanize.Ordinal(poolIdx+1), humanize.Ordinal(setIdx+1))
    }
    
    // Return the count of disks in each pool
    func (z *erasureServerPools) SetDriveCounts() []int {
    	setDriveCounts := make([]int, len(z.serverPools))
    	for i := range z.serverPools {
    		setDriveCounts[i] = z.serverPools[i].SetDriveCount()
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
Back to top