Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 117 for topo (0.2 sec)

  1. internal/s3select/sql/value.go

    		return nil
    	}
    }
    
    // Value arithmetic functions: we do not expose them outside the
    // module. All arithmetic works only on numeric values with automatic
    // promotion to the "larger" type that can represent the value. TODO:
    // Add support for large number arithmetic.
    
    // Supported arithmetic operators
    const (
    	opPlus     = "+"
    	opMinus    = "-"
    	opDivide   = "/"
    	opMultiply = "*"
    	opModulo   = "%"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  2. docs/metrics/prometheus/grafana/minio-dashboard.json

            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "topk(1, sum(minio_cluster_capacity_usable_total_bytes{job=~\"$scrape_jobs\"}) by (instance)) - topk(1, sum(minio_cluster_capacity_usable_free_bytes{job=~\"$scrape_jobs\"}) by (instance))",
              "format": "time_series",
              "instant": false,
              "interval": "1m",
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 93K bytes
    - Viewed (2)
  3. docs/debugging/xl-meta/main.go

    			if ei.V2Obj.Size != size {
    				return fmt.Errorf("size mismatch. Meta size: %d", ei.V2Obj.Size)
    			}
    		} else {
    			return err
    		}
    		if len(b) < 32 {
    			return fmt.Errorf("file %s too short", file)
    		}
    		// Trim hash. Fine for inline data, since only one block.
    		b = b[32:]
    
    		set := parityData[data]
    		if set == nil {
    			set = make(map[int][]byte)
    		}
    		set[idx] = b
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  4. cmd/xl-storage-disk-id-check.go

    	}
    	xl.SetDiskID(emptyDiskID)
    
    	xl.totalWrites.Store(xl.storage.getWriteAttribute())
    	xl.totalDeletes.Store(xl.storage.getDeleteAttribute())
    	xl.diskCtx, xl.diskCancel = context.WithCancel(context.TODO())
    	for i := range xl.apiLatencies[:] {
    		xl.apiLatencies[i] = &lockedLastMinuteLatency{}
    	}
    	if xl.healthCheck {
    		go xl.monitorDiskWritable(xl.diskCtx)
    	}
    	return &xl
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. cmd/iam.go

    	// such a case, is a security issue. Ideally, we should not allow such
    	// behavior, but for compatibility with the Console, we currently allow it.
    	//
    	// TODO:
    	//
    	// 1. fix console behavior and allow this inheritance for service accounts
    	// created before a certain (TBD) future date.
    	//
    	// 2. do not allow empty statement policies for service accounts.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. cmd/erasure-server-pool.go

    	return z.s3Peer.HealBucket(ctx, bucket, opts)
    }
    
    // Walk a bucket, optionally prefix recursively, until we have returned
    // all the contents of the provided bucket+prefix.
    // TODO: Note that most errors will result in a truncated listing.
    func (z *erasureServerPools) Walk(ctx context.Context, bucket, prefix string, results chan<- ObjectInfo, opts WalkOptions) error {
    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)
  7. cmd/server_test.go

    	// execute the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusBadRequest)
    	verifyError(c, response, "KeyTooLongError", "Your key is too long", http.StatusBadRequest)
    
    	// make object name as unsupported
    	longObjName = fmt.Sprintf("%0256d", 1)
    	buffer = bytes.NewReader([]byte("hello world"))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4.go

    var errLineTooLong = errors.New("header line too long")
    
    // malformed encoding is generated when chunk header is wrongly formed.
    var errMalformedEncoding = errors.New("malformed chunked encoding")
    
    // chunk is considered too big if its bigger than > 16MiB.
    var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. cmd/erasure-sets_test.go

    		{"object", 37},
    		{"The Shining Script <v1>.pdf", 38},
    		{"Cost Benefit Analysis (2009-2010).pptx", 59},
    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35},
    		{"SHØRT", 49},
    		{"There are far too many object names, and far too few bucket names!", 8},
    		{"a/b/c/", 159},
    		{"/a/b/c", 96},
    		{string([]byte{0xff, 0xfe, 0xfd}), 147},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	if !ok {
    		if err := store.loadMappedPolicyWithRetry(context.TODO(), name, regUser, false, c.iamUserPolicyMap, 3); err != nil && !errors.Is(err, errNoSuchPolicy) {
    			return nil, time.Time{}, err
    		}
    
    		mp, ok = c.iamUserPolicyMap.Load(name)
    		if !ok {
    			// Since user "name" could be a parent user of an STS account, we look up
    			// mappings for those too.
    			mp, ok = c.iamSTSPolicyMap.Load(name)
    			if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top