Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for float (0.23 sec)

  1. cmd/format-erasure.go

    	} `json:"xl"`
    }
    
    // formatErasureV3 struct is same as formatErasureV2 struct except that formatErasureV3.Erasure.Version is "3" indicating
    // the simplified multipart backend which is a flat hierarchy now.
    // In .minio.sys/multipart we have:
    // sha256(bucket/object)/uploadID/[xl.meta, part.1, part.2 ....]
    type formatErasureV3 struct {
    	formatMetaV1
    	Erasure struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/metacache-server-pool.go

    	// With max keys of zero we have reached eof, return right here.
    	if o.Limit == 0 {
    		return entries, io.EOF
    	}
    
    	// For delimiter and prefix as '/' we do not list anything at all
    	// along // with the prefix. On a flat namespace with 'prefix'
    	// as '/' we don't have any entries, since all the keys are
    	// of form 'keyName/...'
    	if strings.HasPrefix(o.Prefix, SlashSeparator) {
    		return entries, io.EOF
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  3. cmd/warm-backend-minio.go

    	}
    
    	// object size is larger than supported maximum.
    	if objectSize > maxMultipartPutObjectSize {
    		err = errors.New("entity too large")
    		return
    	}
    
    	configuredPartSize := minPartSize
    	// Use floats for part size for all calculations to avoid
    	// overflows during float64 to int64 conversions.
    	partSizeFlt := float64(objectSize / maxPartsCount)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. internal/s3select/sql/evaluate.go

    	switch {
    	case e.Int != nil:
    		if *e.Int < math.MaxInt64 && *e.Int > math.MinInt64 {
    			return FromInt(int64(*e.Int)), nil
    		}
    		return FromFloat(*e.Int), nil
    	case e.Float != nil:
    		return FromFloat(*e.Float), nil
    	case e.String != nil:
    		return FromString(string(*e.String)), nil
    	case e.Boolean != nil:
    		return FromBool(bool(*e.Boolean)), nil
    	case e.Missing:
    		return FromMissing(), nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  5. internal/s3select/json/record.go

    func NewRecord(f sql.SelectObjectFormat) *Record {
    	return &Record{
    		KVS:          jstream.KVS{},
    		SelectFormat: f,
    	}
    }
    
    // jsonFloat converts a float to string similar to Go stdlib formats json floats.
    func jsonFloat(f float64) string {
    	var tmp [32]byte
    	dst := tmp[:0]
    
    	// Convert as if by ES6 number to string conversion.
    	// This matches most other JSON generators.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  6. internal/s3select/sql/aggregation.go

    	}
    
    	switch funcName {
    	case aggFnCount:
    		// For all non-null values, the count is incremented.
    		e.aggregate.runningCount++
    
    	case aggFnAvg, aggFnSum:
    		e.aggregate.runningCount++
    		// Convert to float.
    		f, ok := argVal.ToFloat()
    		if !ok {
    			return fmt.Errorf("Could not convert value %v (%s) to a number", argVal.value, argVal.GetTypeString())
    		}
    		argVal.setFloat(f)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  7. cmd/data-usage-cache.go

    		if e == nil {
    			continue
    		}
    		flat := d.flatten(*e)
    		bui := BucketUsageInfo{
    			Size:                    uint64(flat.Size),
    			VersionsCount:           flat.Versions,
    			ObjectsCount:            flat.Objects,
    			DeleteMarkersCount:      flat.DeleteMarkers,
    			ObjectSizesHistogram:    flat.ObjSizes.toMap(),
    			ObjectVersionsHistogram: flat.ObjVersions.toMap(),
    		}
    		if flat.ReplicationStats != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  8. docs/metrics/prometheus/grafana/minio-bucket.json

          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "10.0.2",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
    Json
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Tue Feb 20 09:45:00 GMT 2024
    - 71.4K bytes
    - Viewed (1)
  9. docs/metrics/prometheus/grafana/replication/minio-replication.json

          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "10.0.2",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
    Json
    - Registered: Sun Mar 24 19:28:08 GMT 2024
    - Last Modified: Thu Feb 29 18:35:20 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    			f.newCache.deleteRecursive(thisHash)
    			f.newCache.replaceHashed(thisHash, folder.parent, *flat)
    			total := map[string]string{
    				"objects": strconv.FormatUint(flat.Objects, 10),
    				"size":    strconv.FormatInt(flat.Size, 10),
    			}
    			if flat.Versions > 0 {
    				total["versions"] = strconv.FormatUint(flat.Versions, 10)
    			}
    			stop(total)
    		}
    
    	}
    	// Compact if too many children...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top