Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,989 for error_0 (0.16 sec)

  1. cmd/s3-zip-handlers.go

    		if err == nil {
    			return files, gr.ObjInfo, nil
    		}
    		var terr zipindex.ErrNeedMoreData
    		if errors.As(err, &terr) {
    			size = int(terr.FromEnd)
    			if size <= 0 || size > 100<<20 {
    				return nil, ObjectInfo{}, errors.New("zip directory too large")
    			}
    		} else {
    			return nil, ObjectInfo{}, err
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle-handlers_test.go

    		}
    		if errorResponse.Resource != testCase.errorResponse.Resource {
    			t.Errorf("Test %d: %s: Expected the error resource to be `%s`, but instead found `%s`", i+1, instanceType, testCase.errorResponse.Resource, errorResponse.Resource)
    		}
    		if errorResponse.Message != testCase.errorResponse.Message {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    	err = db.Table("objects").Create(&Object1{}).Error
    	if err != nil {
    		t.Errorf("create err:%v", err)
    	}
    
    	// AddColumn
    	err = db.Table("objects").AutoMigrate(&Object2{})
    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    
    	err = db.Table("objects").Take(&Object2{}).Error
    	if err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  4. cmd/api-response.go

    	// Collection of all deleted objects
    	DeletedObjects []DeletedObject `xml:"Deleted,omitempty"`
    
    	// Collection of errors deleting certain objects.
    	Errors []DeleteError `xml:"Error,omitempty"`
    }
    
    // PostResponse container for POST object request when success_action_status is set to 201
    type PostResponse struct {
    	Bucket   string
    	Key      string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  5. internal/mountinfo/mountinfo_linux.go

    			return err
    		}
    	}
    	return nil
    }
    
    // CheckCrossDevice - check if given path has any sub-mounts in the input mounts list.
    func (mts mountInfos) checkCrossMounts(path string) error {
    	if !filepath.IsAbs(path) {
    		return fmt.Errorf("Invalid argument, path (%s) is expected to be absolute", path)
    	}
    	var crossMounts mountInfos
    	for _, mount := range mts {
    		// Add a separator to indicate that this is a proper mount-point.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  6. cmd/erasure-utils.go

    // returns deploymentID from uploadID
    func getDeplIDFromUpload(uploadID string) (string, error) {
    	uploadBytes, err := base64.RawURLEncoding.DecodeString(uploadID)
    	if err != nil {
    		return "", fmt.Errorf("error parsing uploadID %s (%w)", uploadID, err)
    	}
    	slc := strings.SplitN(string(uploadBytes), ".", 2)
    	if len(slc) != 2 {
    		return "", fmt.Errorf("uploadID %s has incorrect format", uploadID)
    	}
    	return slc[0], nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. internal/store/batch.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package store
    
    import (
    	"context"
    	"errors"
    	"sync"
    	"time"
    )
    
    // ErrBatchFull indicates that the batch is full
    var ErrBatchFull = errors.New("batch is full")
    
    const defaultCommitTimeout = 30 * time.Second
    
    // Batch represents an ordered batch
    type Batch[I any] struct {
    	items  []I
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. internal/bucket/versioning/versioning.go

    	// Disabled  State = "Disabled" only used by MFA Delete not supported yet.
    	Suspended State = "Suspended"
    )
    
    var (
    	errExcludedPrefixNotSupported = Errorf("excluded prefixes extension supported only when versioning is enabled")
    	errTooManyExcludedPrefixes    = Errorf("too many excluded prefixes")
    )
    
    // ExcludedPrefix - holds individual prefixes excluded from being versioned.
    type ExcludedPrefix struct {
    	Prefix string
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. internal/crypto/sse-c.go

    	// Extract all required values from object metadata
    	b64IV, ok := metadata[MetaIV]
    	if !ok {
    		return sealedKey, errMissingInternalIV
    	}
    	algorithm, ok := metadata[MetaAlgorithm]
    	if !ok {
    		return sealedKey, errMissingInternalSealAlgorithm
    	}
    	b64SealedKey, ok := metadata[MetaSealedKeySSEC]
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. internal/config/identity/plugin/config.go

    		if !validRoleIDRegex.MatchString(roleID) {
    			return args, config.Errorf("Role ID must match the regexp `^[a-zA-Z0-9_-]+$`")
    		}
    
    		// Use the user provided ID here.
    		resourceID += roleID
    	}
    
    	roleArn, err := arn.NewIAMRoleARN(resourceID, serverRegion)
    	if err != nil {
    		return args, config.Errorf("unable to generate ARN from the plugin config: %v", err)
    	}
    
    	args = Args{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top