Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 219 for checksums (0.04 sec)

  1. internal/hash/checksum.go

    	ChecksumInvalid
    	// ChecksumMultipart indicates the checksum is from a multipart upload.
    	ChecksumMultipart
    	// ChecksumIncludesMultipart indicates the checksum also contains part checksums.
    	ChecksumIncludesMultipart
    	// ChecksumCRC64NVME indicates CRC64 with 0xad93d23594c93659 polynomial.
    	ChecksumCRC64NVME
    	// ChecksumFullObject indicates the checksum is of the full object,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        /**
         * Calculates checksums for specified data.
         *
         * @param data        The content for which to calculate checksums, must not be {@code null}.
         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
         * @return The calculated checksums, indexed by algorithms, never {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java

            assertEquals(2, checksums.size());
            assertEquals("a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", checksums.get(service.select("SHA-1")));
            assertEquals("098f6bcd4621d373cade4e832627b4f6", checksums.get(service.select("MD5")));
        }
    
        @Test
        void calculateStream() throws IOException {
            Map<ChecksumAlgorithmService.ChecksumAlgorithm, String> checksums = service.calculate(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 11:31:00 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

                    updates = policy.getUpdatePolicy();
                }
                if (policy.getChecksumPolicy() != null) {
                    checksums = policy.getChecksumPolicy();
                }
            }
    
            return new RepositoryPolicy(enabled, updates, checksums);
        }
    
        public static String toRepositoryChecksumPolicy(final String artifactRepositoryPolicy) {
            return switch (artifactRepositoryPolicy) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. cmd/xl-storage-format_test.go

    	}
    
    	if len(unMarshalXLMeta.Erasure.Checksums) != len(jsoniterXLMeta.Erasure.Checksums) {
    		t.Errorf("Expected the size of Erasure Checksums to be %d, but got %d.", len(unMarshalXLMeta.Erasure.Checksums), len(jsoniterXLMeta.Erasure.Checksums))
    	} else {
    		for i := 0; i < len(unMarshalXLMeta.Erasure.Checksums); i++ {
    			if unMarshalXLMeta.Erasure.Checksums[i].PartNumber != jsoniterXLMeta.Erasure.Checksums[i].PartNumber {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v1_gen.go

    					return
    				}
    			}
    		case "Checksums":
    			var zb0003 uint32
    			zb0003, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Checksums")
    				return
    			}
    			if cap(z.Checksums) >= int(zb0003) {
    				z.Checksums = (z.Checksums)[:zb0003]
    			} else {
    				z.Checksums = make([]ChecksumInfo, zb0003)
    			}
    			for za0002 := range z.Checksums {
    				err = z.Checksums[za0002].DecodeMsg(dc)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    		checksumType |= hash.ChecksumMultipart | hash.ChecksumIncludesMultipart
    		checksum.Type = checksumType
    		if !checksumType.FullObjectRequested() {
    			checksum = *hash.NewChecksumFromData(checksumType, checksumCombined)
    		}
    		fi.Checksum = checksum.AppendTo(nil, checksumCombined)
    		if opts.EncryptFn != nil {
    			fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
    		}
    	}
    	// Remove superfluous internal headers.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 47.1K bytes
    - Viewed (0)
  8. docs/site-replication/run-replication-with-checksum-header.sh

    # Check the replication of checksums and etags
    if [[ ${SRC_OBJ_1_CHKSUM} != "${DEST_OBJ_1_CHKSUM}" && ${DEST_OBJ_1_CHKSUM} != "" ]]; then
    	echo "BUG: Checksums dont match for 'obj'. Source: ${SRC_OBJ_1_CHKSUM}, Destination: ${DEST_OBJ_1_CHKSUM}"
    	exit_1
    fi
    if [[ ${SRC_OBJ_2_CHKSUM} != "${DEST_OBJ_2_CHKSUM}" && ${DEST_OBJ_2_CHKSUM} != "" ]]; then
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. internal/hash/checksum_test.go

    			}
    
    			if gotChksm == nil {
    				t.Fatalf("Got nil checksum for %s", tt.name)
    			}
    			// Compare the full checksum structs
    			if !chksm.Equal(gotChksm) {
    				t.Errorf("Checksum mismatch for %s: expected %+v, got %+v", tt.name, chksm, gotChksm)
    			}
    			// Verify the checksum type
    			expectedType := chksm.Type
    			if gotChksm.Type != expectedType {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. cmd/bitrot.go

    	}
    	for algorithm := range bitrotAlgorithms {
    		if !algorithm.Available() {
    			continue
    		}
    
    		checksum, err := hex.DecodeString(checksums[algorithm])
    		if err != nil {
    			logger.Fatal(errSelfTestFailure, fmt.Sprintf("bitrot: failed to decode %v checksum %s for selftest: %v", algorithm, checksums[algorithm], err))
    		}
    		var (
    			hash = algorithm.New()
    			msg  = make([]byte, 0, hash.Size()*hash.BlockSize())
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top