Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for checksums (2.51 sec)

  1. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  4. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Dec 15 22:50:12 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1.go

    	Index int `json:"index"`
    	// Distribution is the distribution of the data and parity blocks
    	Distribution []int `json:"distribution"`
    	// Checksums holds all bitrot checksums of all erasure encoded blocks
    	Checksums []ChecksumInfo `json:"checksum,omitempty"`
    }
    
    // Equal equates current erasure info with newer erasure info.
    // returns false if one of the following check fails
    // - erasure algorithm is different
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacConstants.java

        int LOGON_INFO = 1;
        /**
         * Buffer type for credential information.
         */
        int CREDENTIAL_TYPE = 2;
        /**
         * Buffer type for server checksum signature.
         */
        int SERVER_CHECKSUM = 6;
        /**
         * Buffer type for privilege server (KDC) checksum signature.
         */
        int PRIVSVR_CHECKSUM = 7;
    
        /**
         * Buffer type for client name information.
         */
        int CLIENT_NAME_TYPE = 0xA;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    }
                }
    
                // Pre-store the checksums as any future puts will overwrite them
                for (String extension : checksums.keySet()) {
                    ChecksumObserver observer = checksums.get(extension);
                    sums.put(extension, observer.getActualChecksum());
                }
    
                // We do this in here so we can checksum the artifact metadata too, otherwise it could be metadata itself
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  10. cmd/storage-datatypes_test.go

    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.Log("Size:", buf.Len(), "bytes")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top