Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Wright (0.29 sec)

  1. internal/s3select/sql/value.go

    	switch op {
    	case opLt:
    		return left < right
    	case opLte:
    		return left <= right
    	case opGt:
    		return left > right
    	case opGte:
    		return left >= right
    	case opEq:
    		return left == right
    	case opIneq:
    		return left != right
    	}
    	// This case does not happen
    	return false
    }
    
    func boolCompare(op string, left, right bool) (bool, error) {
    	switch op {
    	case opEq:
    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. cmd/object-api-common.go

    package cmd
    
    import (
    	"sync"
    
    	"github.com/dustin/go-humanize"
    )
    
    const (
    	// Block size used for all internal operations version 1.
    
    	// TLDR..
    	// Not used anymore xl.meta captures the right blockSize
    	// so blockSizeV2 should be used for all future purposes.
    	// this value is kept here to calculate the max API
    	// requests based on RAM size for existing content.
    	blockSizeV1 = 10 * humanize.MiByte
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. cmd/signature-v2_test.go

    		// Test case with wrong accessID.
    		{
    			authString:    fmt.Sprintf("%s %s:%s", signV2Algorithm, "InvalidAccessID", "signature"),
    			expectedError: ErrInvalidAccessKeyID,
    		},
    		// Test case - 6.
    		// Case with right accessID and format.
    		{
    			authString:    fmt.Sprintf("%s %s:%s", signV2Algorithm, accessID, "signature"),
    			expectedError: ErrNone,
    		},
    	}
    
    	for i, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  4. internal/event/target/nats.go

    	NATSStreaming                   = "streaming"
    	NATSStreamingClusterID          = "streaming_cluster_id"
    	NATSStreamingAsync              = "streaming_async"
    	NATSStreamingMaxPubAcksInFlight = "streaming_max_pub_acks_in_flight"
    
    	// JetStream constants
    	NATSJetStream = "jetstream"
    
    	EnvNATSEnable        = "MINIO_NOTIFY_NATS_ENABLE"
    	EnvNATSAddress       = "MINIO_NOTIFY_NATS_ADDRESS"
    	EnvNATSSubject       = "MINIO_NOTIFY_NATS_SUBJECT"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  5. cmd/encryption-v1_test.go

    		}
    		if err == nil {
    			if etag != test.ETag {
    				t.Fatalf("Test %d: ETag mismatch: got %s - want %s", i, etag, test.ETag)
    			}
    		}
    	}
    }
    
    // Tests for issue reproduced when getting the right encrypted
    // offset of the object.
    func TestGetDecryptedRange_Issue50(t *testing.T) {
    	rs, err := parseRequestRangeSpec("bytes=594870256-594870263")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    			// should be returned upwards.
    			return res.oi, res.zIdx, err
    		}
    		// When its a delete marker and versionID is empty
    		// we should simply return the error right away.
    		if res.oi.DeleteMarker && opts.VersionID == "" {
    			return res.oi, res.zIdx, err
    		}
    	}
    
    	object = decodeDirObject(object)
    	if opts.VersionID != "" {
    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/auth-handler.go

    		// validate token for temporary credentials only.
    		return nil, ErrInvalidToken
    	}
    
    	// Expired credentials must return error right away.
    	if cred.IsTemp() && cred.IsExpired() {
    		return nil, toAPIErrorCode(r.Context(), errInvalidAccessKeyID)
    	}
    	secret := globalActiveCred.SecretKey
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    	return MetricDescription{
    		Namespace: s3MetricNamespace,
    		Subsystem: requestsSubsystem,
    		Name:      inflightTotal,
    		Help:      "Total number of S3 requests currently in flight",
    		Type:      gaugeMetric,
    	}
    }
    
    func getS3RequestsInQueueMD() MetricDescription {
    	return MetricDescription{
    		Namespace: s3MetricNamespace,
    		Subsystem: requestsSubsystem,
    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)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedRightParenBuiltinFunctionCall: {
    		Code:           "ParseExpectedRightParenBuiltinFunctionCall",
    		Description:    "Did not find the expected right parenthesis character in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedTypeName: {
    		Code:           "ParseExpectedTypeName",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  10. cmd/erasure-object.go

    		}
    
    		wg.Wait()
    		xioutil.SafeClose(done)
    
    		fi, ok := <-mrfCheck
    		if !ok {
    			return
    		}
    
    		if fi.Deleted {
    			return
    		}
    
    		// if one of the disk is offline, return right here no need
    		// to attempt a heal on the object.
    		if countErrs(errs, errDiskNotFound) > 0 {
    			return
    		}
    
    		var missingBlocks int
    		for i := range errs {
    			if IsErr(errs[i],
    				errFileNotFound,
    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)
Back to top