Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 320 for numero (0.2 sec)

  1. internal/s3select/sql/value.go

    	bytes, _ := v.ToBytes()
    	return string(bytes)
    }
    
    // Calculates minimum or maximum of v and a and assigns the result to
    // v - it works only on numeric arguments, where `v` is already
    // assumed to be numeric. Attempts conversion to numeric type for `a`
    // (first int, then float) only if the underlying values do not have a
    // type.
    func (v *Value) minmax(a *Value, isMax, isFirstRow bool) error {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  2. src/builtin/builtin.go

    // The len built-in function returns the length of v, according to its type:
    //
    //	Array: the number of elements in v.
    //	Pointer to array: the number of elements in *v (even if v is nil).
    //	Slice, or map: the number of elements in v; if v is nil, len(v) is zero.
    //	String: the number of bytes in v.
    //	Channel: the number of elements queued (unread) in the channel buffer;
    //	         if v is nil, len(v) is zero.
    //
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. internal/s3select/sql/aggregation.go

    		// updated.
    		return nil
    	}
    
    	argVal := val
    	if funcName != aggFnCount {
    		// All aggregation functions, except COUNT require a
    		// numeric argument.
    
    		// Here, we diverge from Amazon S3 behavior by
    		// inferring untyped values are numbers.
    		if !argVal.isNumeric() {
    			if i, ok := argVal.bytesToInt(); ok {
    				argVal.setInt(i)
    			} else if f, ok := argVal.bytesToFloat(); ok {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. internal/config/ilm/help.go

    	HelpILM = config.HelpKVS{
    		config.HelpKV{
    			Key:         transitionWorkers,
    			Type:        "number",
    			Description: `set the number of transition workers` + defaultHelpPostfix(transitionWorkers),
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         expirationWorkers,
    			Type:        "number",
    			Description: `set the number of expiration workers` + defaultHelpPostfix(expirationWorkers),
    			Optional:    true,
    		},
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. internal/config/api/help.go

    			Description: `set the maximum number of replication workers` + defaultHelpPostfix(apiReplicationMaxWorkers),
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         apiTransitionWorkers,
    			Description: `set the number of transition workers` + defaultHelpPostfix(apiTransitionWorkers),
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    		Name:      "errors_timeout",
    		Help:      "Total number of drive timeout errors since server start",
    		Type:      counterMetric,
    	}
    }
    
    func getNodeDriveAvailabilityErrorsMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: driveSubsystem,
    		Name:      "errors_availability",
    		Help:      "Total number of drive I/O errors, timeouts since server start",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 21:22:15 GMT 2024
    - 132.1K bytes
    - Viewed (0)
  7. cmd/metrics.go

    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "nodes", "online"),
    			"Total number of MinIO nodes online",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(nodesUp),
    	)
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "nodes", "offline"),
    			"Total number of MinIO nodes offline",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(nodesDown),
    	)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  8. cmd/object-api-getobjectinfo_test.go

    		shouldPass bool
    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    		{".test", "", ObjectInfo{}, BucketNameInvalid{Bucket: ".test"}, false},
    		{"---", "", ObjectInfo{}, BucketNameInvalid{Bucket: "---"}, false},
    		{"ad", "", ObjectInfo{}, BucketNameInvalid{Bucket: "ad"}, false},
    		// Test cases with valid but non-existing bucket names (Test number 5-6).
    		{"abcdefgh", "abc", ObjectInfo{}, BucketNotFound{Bucket: "abcdefgh"}, false},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  9. cmd/erasure-heal_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/rand"
    	"io"
    	"os"
    	"testing"
    )
    
    var erasureHealTests = []struct {
    	dataBlocks, disks int
    
    	// number of offline disks is also number of staleDisks for
    	// erasure reconstruction in this test
    	offDisks int
    
    	// bad disks are online disks which return errors
    	badDisks, badStaleDisks int
    
    	blocksize, size int64
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. cmd/metrics-v2_gen.go

    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *MetricDescription) Msgsize() (s int) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 19.2K bytes
    - Viewed (0)
Back to top