Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Creator (7.8 sec)

  1. cmd/metacache-stream.go

    func (w *metacacheWriter) write(objs ...metaCacheEntry) error {
    	if w == nil {
    		return errors.New("metacacheWriter: nil writer")
    	}
    	if len(objs) == 0 {
    		return nil
    	}
    	if w.creator != nil {
    		err := w.creator()
    		w.creator = nil
    		if err != nil {
    			return fmt.Errorf("metacacheWriter: unable to create writer: %w", err)
    		}
    		if w.mw == nil {
    			return errors.New("metacacheWriter: writer not initialized")
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    }
    
    // ObjectTooLarge error returned when the size of the object > max object size allowed (5G) per request.
    type ObjectTooLarge GenericError
    
    func (e ObjectTooLarge) Error() string {
    	return "size of the object greater than what is allowed(5G)"
    }
    
    // ObjectTooSmall error returned when the size of the object < what is expected.
    type ObjectTooSmall GenericError
    
    func (e ObjectTooSmall) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. internal/s3select/select.go

    				bufPool.Put(buf)
    				return false
    			}
    			if buf.Len()-before > maxRecordSize {
    				writer.FinishWithError("OverMaxRecordSize", "The length of a record in the input or result is greater than maxCharsPerRecord of 1 MB.")
    				bufPool.Put(buf)
    				return false
    			}
    		}
    
    		if err = writer.SendRecord(buf); err != nil {
    			// FIXME: log this error.
    			err = nil
    			bufPool.Put(buf)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  4. internal/config/storageclass/storage-class.go

    	// SS parity drives should be greater than or equal to minParityDrives.
    	// Parity below minParityDrives is not supported.
    	if ssParity > 0 && ssParity < minParityDrives {
    		return fmt.Errorf("Standard storage class parity %d should be greater than or equal to %d",
    			ssParity, minParityDrives)
    	}
    
    	// RRS parity drives should be greater than or equal to minParityDrives.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    	{"BETWEEN_64_MB_AND_128_MB", humanize.MiByte * 64, humanize.MiByte*128 - 1},
    	{"BETWEEN_128_MB_AND_512_MB", humanize.MiByte * 128, humanize.MiByte*512 - 1},
    	{"GREATER_THAN_512_MB", humanize.MiByte * 512, math.MaxInt64},
    }
    
    // ObjectsHistogramIntervals is the list of all intervals
    // of object sizes to be included in objects histogram.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    //       size:
    //         lessThan: "10MiB" # match objects with size less than this value (e.g. 10MiB)
    //         greaterThan: 1MiB # match objects with size greater than this value (e.g. 1MiB)
    //       purge:
    //           # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest.
    //           # retainVersions: 5 # keep the latest 5 versions of the object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  7. cmd/generic-handlers.go

    	return err
    }
    
    // Check if the incoming path has bad path components,
    // such as ".." and "."
    func hasBadPathComponent(path string) bool {
    	if len(path) > 4096 {
    		// path cannot be greater than Linux PATH_MAX
    		// this is to avoid a busy loop, that can happen
    		// if the caller sends path of following style
    		// a/a/a/a/a/a/a/a...
    		return true
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. internal/s3select/unused-errors.go

    	return &s3Error{
    		code:       "ColumnTooLong",
    		message:    "The length of a column in the result is greater than maxCharsPerColumn of 1 MB.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errOverMaxColumn(err error) *s3Error {
    	return &s3Error{
    		code:       "OverMaxColumn",
    		message:    "The number of columns in the result is greater than the maximum allowable number of columns.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils.go

    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    // value is greater than or equal to simple majority, since none of the equally
    // maximal values would occur quorum or more number of times.
    func reduceErrs(errs []error, ignoredErrs []error) (maxCount int, maxErr error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    		{"una ñina", false},
    		{"dash-.may-not-appear-next-to-dot", false},
    		{"dash.-may-not-appear-next-to-dot", false},
    		{"dash-.-may-not-appear-next-to-dot", false},
    		{"lalalallalallalalalallalallalala-thestring-size-is-greater-than-63", false},
    	}
    
    	for i, testCase := range testCases {
    		isValidBucketName := IsValidBucketName(testCase.bucketName)
    		if testCase.shouldPass && !isValidBucketName {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top