Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 104 for ETag (0.16 sec)

  1. internal/crypto/metadata_test.go

    }
    
    var isETagSealedTests = []struct {
    	ETag     string
    	IsSealed bool
    }{
    	{ETag: "", IsSealed: false},                                  // 0
    	{ETag: "90682b8e8cc7609c4671e1d64c73fc30", IsSealed: false},  // 1
    	{ETag: "f201040c9dc593e39ea004dc1323699bcd", IsSealed: true}, // 2 not valid ciphertext but looks like sealed ETag
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    					}
    					//  Asserting the ETag in the PartInfo.
    					if actualMetaData.ETag != expectedResult.Parts[j].ETag {
    						t.Errorf("Test %d: %s: Part %d: Expected Etag to be \"%s\", but instead found \"%s\"", i+1, instanceType, j+1, expectedResult.Parts[j].ETag, actualMetaData.ETag)
    					}
    				}
    			}
    		}
    	}
    }
    
    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)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        /**
         * Extension header set by OkHttp specifying the timestamp when the cached HTTP response was
         * first received.
         */
        private var receivedResponseMillis = 0L
    
        /** Etag of the cached response. */
        private var etag: String? = null
    
        /** Age of the cached response. */
        private var ageSeconds = -1
    
        /**
         * Returns true if computeFreshnessLifetime used a heuristic. If we used a heuristic to serve a
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. cmd/erasure-metadata.go

    		if !meta.IsValid() {
    			continue
    		}
    		etagOnly := modTime.Equal(timeSentinel) && (etag != "" && etag == meta.Metadata["etag"])
    		mtimeValid := meta.ModTime.Equal(modTime)
    		if mtimeValid || etagOnly {
    			fmt.Fprintf(h, "%v", meta.XLV1)
    			if !etagOnly {
    				// Verify dataDir is same only when mtime is valid and etag is not considered.
    				fmt.Fprintf(h, "%v", meta.GetDataDir())
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  5. cmd/object-api-utils.go

    			continue
    		}
    		newMeta[k] = v
    	}
    	return newMeta
    }
    
    // Extracts etag value from the metadata.
    func extractETag(metadata map[string]string) string {
    	etag, ok := metadata["etag"]
    	if !ok {
    		// md5Sum tag is kept for backward compatibility.
    		etag = metadata["md5Sum"]
    	}
    	// Success.
    	return etag
    }
    
    // HasPrefix - Prefix matcher string matches prefix in a platform specific way.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  6. cmd/erasure-object.go

    		// 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)
    			if modTime.IsZero() || modTime.Equal(timeSentinel) {
    				ok = etag != "" && etag == fi.Metadata["etag"]
    			}
    			if ok {
    				continue
    			}
    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)
  7. cmd/object-handlers-common_test.go

    func TestCanonicalizeETag(t *testing.T) {
    	testCases := []struct {
    		etag              string
    		canonicalizedETag string
    	}{
    		{
    			etag:              "\"\"\"",
    			canonicalizedETag: "",
    		},
    		{
    			etag:              "\"\"\"abc\"",
    			canonicalizedETag: "abc",
    		},
    		{
    			etag:              "abcd",
    			canonicalizedETag: "abcd",
    		},
    		{
    			etag:              "abcd\"\"",
    			canonicalizedETag: "abcd",
    		},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  8. cmd/object-api-datatypes_gen.go

    			z.PartNumber, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "PartNumber")
    				return
    			}
    		case "ETag":
    			z.ETag, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ETag")
    				return
    			}
    		case "ChecksumCRC32":
    			z.ChecksumCRC32, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  9. buildscripts/cicd-corpus/disk4/bucket/testobj/xl.meta

    �CSumAlgo�PartNums��PartETags��PartSizes��	ը�PartASizes��	ը�Size�	ը�MTime�������MetaSys��x-minio-internal-replica-status�REPLICA�"x-minio-internal-replica-timestamp�2022-03-20T15:17:01.730949636Z�MetaUsr��X-Amz-Replication-Status�REPLICA�etag� 9587ddd31fead633830366f45d221d56�content-type�application/octet-stream�x-amz-storage-class�STANDARD�$��PPb�I(��e��(�������������Ղ�Type�V2Obj��ID�PPb�I(��e��(�ǤDDir�+O~A߂J^�����3/�EcAlgo�EcM�EcN�EcBSize��EcIndex�EcDist�...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 20 19:49:05 GMT 2022
    - 1K bytes
    - Viewed (0)
  10. docs/bucket/replication/setup_3site_replication.sh

    dd if=/dev/urandom bs=1 count=2847391 of=/tmp/2847391.txt
    
    sudo apt install jq -y
    
    etag_1=$(multipart-debug --endpoint 127.0.0.1:9002 --accesskey minio --secretkey minio123 multipart upload --bucket bucket --object new-test-encrypted-object --uploadid ${upload_id} --file /tmp/7048531.txt --number 1 | jq -r .ETag)
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top