Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Clarke (0.14 sec)

  1. internal/hash/errors.go

    }
    
    func (e SizeTooSmall) Error() string {
    	return fmt.Sprintf("Size small: got %d, want %d", e.Got, e.Want)
    }
    
    // SizeTooLarge reader size too large
    type SizeTooLarge struct {
    	Want int64
    	Got  int64
    }
    
    func (e SizeTooLarge) Error() string {
    	return fmt.Sprintf("Size large: got %d, want %d", e.Got, e.Want)
    }
    
    // SizeMismatch error size mismatch
    type SizeMismatch struct {
    	Want int64
    	Got  int64
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon May 15 21:08:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. internal/s3select/parquet/reader.go

    		// ensure it's UTF8 encoded.
    		value = string(val)
    	case [12]byte:
    		// TODO: This is returned for the parquet INT96 type. We just
    		// treat it same as []byte (but AWS S3 treats it as a large int)
    		// - fix this later.
    		value = string(val[:])
    	case int32:
    		value = int64(val)
    		if logicalType := se.GetLogicalType(); logicalType != nil {
    			if logicalType.IsSetDATE() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. cmd/encryption-v1_test.go

    				t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps)
    			}
    		}
    
    		// Skip 1Mib and read 1Mib (in the decrypted object)
    		//
    		// The check below ensures the object is large enough
    		// for the read.
    		if lsum(test.decSizes) >= 2*humanize.MiByte {
    			skipLen, readLen := int64(1)*humanize.MiByte, int64(1)*humanize.MiByte
    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)
  4. internal/s3select/sql/value.go

    // 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)
  5. cmd/server_test.go

    	getMD5 := getMD5Hash(getContent)
    
    	// Compare putContent and getContent.
    	c.Assert(putMD5, getMD5)
    }
    
    // TestGetPartialObjectMisAligned - tests get object partially miss-aligned.
    // create a large buffer of miss-aligned data and upload it.
    // then make partial range requests to while fetching it back and assert the response content.
    func (s *TestSuiteCommon) TestGetPartialObjectMisAligned(c *check) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		HTTPStatusCode: http.StatusPreconditionFailed,
    	},
    	ErrRequestTimeTooSkewed: {
    		Code:           "RequestTimeTooSkewed",
    		Description:    "The difference between the request time and the server's time is too large.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrSignatureDoesNotMatch: {
    		Code:           "SignatureDoesNotMatch",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  7. cmd/iam-etcd-store.go

    	ctx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    	//  Retrieve all keys and values to avoid too many calls to etcd in case of
    	//  a large number of policies
    	r, err := ies.client.Get(ctx, iamConfigPoliciesPrefix, etcd.WithPrefix())
    	if err != nil {
    		return err
    	}
    
    	// Parse all values to construct the policies data model.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  8. cmd/warm-backend-minio.go

    	if objectSize == -1 {
    		objectSize = maxMultipartPutObjectSize
    	}
    
    	// 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)
  9. cmd/bucket-replication.go

    		return nil
    	}
    	return p.workers[h%uint64(len(p.workers))]
    }
    
    func (p *ReplicationPool) queueReplicaTask(ri ReplicateObjectInfo) {
    	if p == nil {
    		return
    	}
    	// if object is large, queue it to a static set of large workers
    	if ri.Size >= int64(minLargeObjSize) {
    		h := xxh3.HashString(ri.Bucket + ri.Name)
    		select {
    		case <-p.ctx.Done():
    		case p.lrgworkers[h%LargeWorkerCount] <- ri:
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. cmd/api-router.go

    // gzip the response and throttle the handler via `maxClients`. Each of these
    // can be disabled via the corresponding `s3HFlag`.
    //
    // CAUTION: for requests involving large req/resp bodies ensure to pass the
    // `traceHdrsS3HFlag`, otherwise both headers and body will be traced, causing
    // high memory usage!
    func s3APIMiddleware(f http.HandlerFunc, flags ...s3HFlag) http.HandlerFunc {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top