Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for hash (0.14 sec)

  1. cmd/api-errors.go

    		apiErr = ErrEntityTooSmall
    	case SignatureDoesNotMatch:
    		apiErr = ErrSignatureDoesNotMatch
    	case hash.SHA256Mismatch:
    		apiErr = ErrContentSHA256Mismatch
    	case hash.ChecksumMismatch:
    		apiErr = ErrContentChecksumMismatch
    	case hash.SizeTooSmall:
    		apiErr = ErrEntityTooSmall
    	case hash.SizeTooLarge:
    		apiErr = ErrEntityTooLarge
    	case NotImplemented:
    		apiErr = ErrNotImplemented
    	case PartTooBig:
    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)
  2. cmd/test-utils_test.go

    	"github.com/minio/minio-go/v7/pkg/signer"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // TestMain to set up global env.
    func TestMain(m *testing.M) {
    	flag.Parse()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    			expectedError: hash.BadDigest{ExpectedMD5: "d41d8cd98f00b204e9800998ecf8427f", CalculatedMD5: "d41d8cd98f00b204e9800998ecf8427e"},
    		},
    		// Test case - 13.
    		// When incorrect sha256 is provided.
    		{
    			bucketName: bucket, objName: object, uploadID: uploadID, PartID: 1, inputSHA256: "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b854",
    			expectedError: hash.SHA256Mismatch{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	}
    
    	filterOnlineDisksInplace(fi, onlineMeta, onlineDisks)
    	for i := range onlineMeta {
    		// verify metadata is valid, it has similar erasure info
    		// as well as common modtime, if modtime is not possible
    		// verify if it has common "etag" at least.
    		if onlineMeta[i].IsValid() && onlineMeta[i].Erasure.Equal(fi.Erasure) {
    			ok := onlineMeta[i].ModTime.Equal(modTime)
    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)
  5. cmd/xl-storage.go

    	defer xioutil.SafeClose(updates)
    	var lc *lifecycle.Lifecycle
    
    	// Check if the current bucket has a configured lifecycle policy
    	if globalLifecycleSys != nil {
    		lc, err = globalLifecycleSys.Get(cache.Info.Name)
    		if err == nil && lc.HasActiveRules("") {
    			cache.Info.lifeCycle = lc
    		}
    	}
    
    	// Check if the current bucket has replication configuration
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    	// If source has versioning enabled, target must have versioning enabled
    	if minioType && ((info.Versioning && !vcfg.Enabled() && !isRemoteToLocal) || (!info.Versioning && vcfg.Enabled() && isRemoteToLocal)) {
    		return batchReplicationJobError{
    			Code: "InvalidBucketState",
    			Description: fmt.Sprintf("The source '%s' has versioning enabled, target '%s' must have versioning enabled",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    	if d.CreateDate.IsZero() {
    		d.CreateDate = now
    	}
    	d.Policy = p
    }
    
    // parseJSON parses both the old and the new format for storing policy
    // definitions.
    //
    // The on-disk format of policy definitions has changed (around early 12/2021)
    // from policy.Policy to PolicyDoc. To avoid a migration, loading supports
    // both the old and the new formats.
    func (d *PolicyDoc) parseJSON(data []byte) error {
    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)
  8. cmd/object-api-listobjects_test.go

    	t, _ := t1.(*testing.T)
    	testBuckets := []string{
    		// This bucket is used for testing ListObject operations.
    		"test-bucket-folders",
    		// This bucket has file delete marker.
    		"test-bucket-files",
    	}
    	for _, bucket := range testBuckets {
    		err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{
    			VersioningEnabled: true,
    		})
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    // -------------------------
    // This operation lists in-progress multipart uploads. An in-progress
    // multipart upload is a multipart upload that has been initiated,
    // using the Initiate Multipart Upload request, but has not yet been
    // completed or aborted. This operation returns at most 1,000 multipart
    // uploads in the response.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    		{"contains-$-dollar", true},
    		{"contains-^-carrot", true},
    		{"contains-$-dollar", true},
    		{"contains-$-dollar", true},
    		{".starts-with-a-dot", true},
    		{"ends-with-a-dot.", true},
    		{"ends-with-a-dash-", true},
    		{"-starts-with-a-dash", true},
    		{"THIS-BEINGS-WITH-UPPERCASe", true},
    		{"tHIS-ENDS-WITH-UPPERCASE", true},
    		{"ThisBeginsAndEndsWithUpperCase", true},
    		{"una ñina", true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top