Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for d41d8cd98f00b204e9800998ecf8427f (0.18 sec)

  1. internal/hash/reader_test.go

    			actualSize: 4,
    		},
    		{
    			desc:       "Failure md5 mismatch.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    			actualSize: 4,
    			md5hex:     "d41d8cd98f00b204e9800998ecf8427f",
    			err: BadDigest{
    				"d41d8cd98f00b204e9800998ecf8427f",
    				"e2fc714c4727ee9395f324cd2e7f331f",
    			},
    		},
    		{
    			desc:       "Failure sha256 mismatch.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. cmd/object-api-putobject_test.go

    		6: {
    			bucketName: bucket, objName: object, inputData: []byte(""),
    			inputMeta:     map[string]string{"etag": "d41d8cd98f00b204e9800998ecf8427f"},
    			expectedError: hash.BadDigest{ExpectedMD5: "d41d8cd98f00b204e9800998ecf8427f", CalculatedMD5: "d41d8cd98f00b204e9800998ecf8427e"},
    		},
    
    		// With incorrect sha256.
    		7: {
    			bucketName: bucket, objName: object, inputData: []byte("abcd"),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    		// Test case - 12.
    		// Input to replicate Md5 mismatch.
    		{
    			bucketName: bucket, objName: object, uploadID: uploadID, PartID: 1, inputMd5: "d41d8cd98f00b204e9800998ecf8427f",
    			expectedError: hash.BadDigest{ExpectedMD5: "d41d8cd98f00b204e9800998ecf8427f", CalculatedMD5: "d41d8cd98f00b204e9800998ecf8427e"},
    		},
    		// Test case - 13.
    		// When incorrect sha256 is provided.
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  4. cmd/object-api-common.go

    	// Buckets meta prefix.
    	bucketMetaPrefix = "buckets"
    
    	// Deleted Buckets prefix.
    	deletedBucketsPrefix = ".deleted"
    
    	// ETag (hex encoded md5sum) of empty string.
    	emptyETag = "d41d8cd98f00b204e9800998ecf8427e"
    )
    
    // Global object layer mutex, used for safely updating object layer.
    var globalObjLayerMutex sync.RWMutex
    
    // Global object layer, only accessed by globalObjectAPI.
    var globalObjectAPI ObjectLayer
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. internal/etag/etag_test.go

    	Header     http.Header
    	ETag       ETag
    	ShouldFail bool
    }{
    	{Header: http.Header{}, ETag: nil}, // 0
    	{Header: http.Header{"Content-Md5": []string{"1B2M2Y8AsgTpgAmY7PhCfg=="}}, ETag: must("d41d8cd98f00b204e9800998ecf8427e")},                             // 1
    	{Header: http.Header{"Content-Md5": []string{"sQqNsWTgdUEFt6mb5y4/5Q=="}}, ETag: must("b10a8db164e0754105b7a99be72e3fe5")},                             // 2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashingTest.java

              .put(Hashing.adler32(), "", "01000000")
              .put(Hashing.adler32(), TQBFJOTLD, "da0fdc5b")
              .put(Hashing.adler32(), TQBFJOTLDP, "0810e46b")
              .put(Hashing.md5(), "", "d41d8cd98f00b204e9800998ecf8427e")
              .put(Hashing.md5(), TQBFJOTLD, "9e107d9d372bb6826bd81d3542a419d6")
              .put(Hashing.md5(), TQBFJOTLDP, "e4d909c290d0fb1ca068ffaddf22cbd0")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesTest.java

        assertTrue(temp.delete());
      }
    
      public void testHash() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
    
        String init = "d41d8cd98f00b204e9800998ecf8427e";
        assertEquals(init, Hashing.md5().newHasher().hash().toString());
    
        String asciiHash = "e5df5a39f2b8cb71b24e1d8038f93131";
        assertEquals(asciiHash, Files.hash(asciiFile, Hashing.md5()).toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertTrue(temp.delete());
      }
    
      public void testHash() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
    
        String init = "d41d8cd98f00b204e9800998ecf8427e";
        assertEquals(init, Hashing.md5().newHasher().hash().toString());
    
        String asciiHash = "e5df5a39f2b8cb71b24e1d8038f93131";
        assertEquals(asciiHash, Files.hash(asciiFile, Hashing.md5()).toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top