Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for computed (0.17 sec)

  1. internal/etag/reader.go

    	return ETag(sum)
    }
    
    // VerifyError is an error signaling that a
    // computed ETag does not match an expected
    // ETag.
    type VerifyError struct {
    	Expected ETag
    	Computed ETag
    }
    
    func (v VerifyError) Error() string {
    	return fmt.Sprintf("etag: expected ETag %q does not match computed ETag %q", v.Expected, v.Computed)
    }
    
    // UUIDHash - use uuid to make md5sum
    type UUIDHash struct {
    	uuid []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. internal/crypto/error.go

    	// ErrCustomerKeyMD5Mismatch indicates that the SSE-C key MD5 does not match the
    	// computed MD5 sum. This means that the client provided either the wrong key for
    	// a certain MD5 checksum or the wrong MD5 for a certain key.
    	ErrCustomerKeyMD5Mismatch = Errorf("The provided SSE-C key MD5 does not match the computed MD5 of the SSE-C key")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils_test.go

    		expectedCompletedSize:             249,
    		expectedReplicationStatusInternal: "arn1=COMPLETED;",
    		expectedReplicationStatus:         replication.Completed,
    		expectedOpType:                    replication.ObjectReplicationType,
    		expectedAction:                    replicateAll,
    	},
    	{ // 3. replication completed to single target; failed to another
    		name: "replication completed to single target",
    		tgtInfos: []replicatedTargetInfo{
    			{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 08 20:27:40 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  4. misc/cgo/gmp/fib.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // Compute Fibonacci numbers with two goroutines
    // that pass integers back and forth.  No actual
    // concurrency, just threads and synchronization
    // and foreign code on multiple pthreads.
    
    package main
    
    import (
    	big "."
    	"runtime"
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 919 bytes
    - Viewed (0)
  5. internal/s3select/sql/timestampfuncs.go

    	case timePartSecond:
    		duration = time.Duration(qty) * time.Second
    	default:
    		return nil, errNotImplemented
    	}
    	return FromTimestamp(t.Add(duration)), nil
    }
    
    // dateDiff computes the difference between two times in terms of the
    // `timePart` which can be years, months, days, hours, minutes or
    // seconds. For difference in years, months or days, the time part,
    // including timezone is ignored.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  6. cmd/crossdomain-xml-handler.go

    		}
    		// Look for 'crossdomain.xml' in the incoming request.
    		if r.URL.Path == crossDomainXMLEntity {
    			// Write the standard cross domain policy xml.
    			w.Write([]byte(cxml))
    			// Request completed, no need to serve to other handlers.
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 06:42:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. internal/crypto/doc.go

    // with an unique key-encryption-key. Given the correct key-encryption-key the
    // sealed 'ObjectKey' can be unsealed and the object can be decrypted.
    //
    // ## SSE-C
    //
    // SSE-C computes the key-encryption-key from the client-provided key, an
    // initialization vector (IV) and the bucket/object path.
    //
    //  1. Encrypt:
    //     Input: ClientKey, bucket, object, metadata, object_data
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 26 19:52:29 GMT 2022
    - 5K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom_test.go

    			name:           "Invalid-Orderchange",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           nmeta1,
    			pools:          pools,
    			name:           "Invalid-Completed-Pool-Not-Removed",
    			expectedErr:    true,
    			expectedUpdate: false,
    		},
    		{
    			meta:           nmeta2,
    			pools:          pools,
    			name:           "Correct-Decom-Pending",
    			expectedErr:    false,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 16:47:40 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. cmd/leak-detect_test.go

    		// wait a test again will deadline.
    		if UTCNow().Before(deadline) {
    			time.Sleep(leakDetectPauseTimeMs * time.Millisecond)
    			continue
    		}
    		// after the deadline time report all the difference in the latest snapshot compared with the initial one.
    		for _, g := range leaked {
    			t.Errorf("Leaked goroutine: %v", g)
    		}
    		return
    	}
    }
    
    // DetectTestLeak -  snapshots the currently running goroutines and returns a
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle_test.go

    	}{
    		{
    			// restore in progress
    			restoreStatus: ongoingRestoreObj(),
    			ondisk:        false,
    		},
    		{
    			// restore completed but expired
    			restoreStatus: completedRestoreObj(time.Now().Add(-time.Hour)),
    			ondisk:        false,
    		},
    		{
    			// restore completed
    			restoreStatus: completedRestoreObj(time.Now().Add(time.Hour)),
    			ondisk:        true,
    		},
    	}
    
    	for i, tc := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
Back to top