Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for CRC32C (0.03 sec)

  1. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

       */
      private static void assertCrc(int expectedCrc, byte[] data) {
        int actualCrc = Hashing.crc32c().hashBytes(data).asInt();
        assertEquals(
            String.format("expected: %08x, actual: %08x", expectedCrc, actualCrc),
            expectedCrc,
            actualCrc);
        int actualCrcHasher = Hashing.crc32c().newHasher().putBytes(data).hash().asInt();
        assertEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. internal/hash/checksum_test.go

    		name     string
    		checksum ChecksumType
    		fullobj  bool
    		wantErr  bool
    	}{
    		{"CRC32-composite", ChecksumCRC32, false, false},
    		{"CRC32-full-object", ChecksumCRC32, true, false},
    		{"CRC32C-composite", ChecksumCRC32C, false, false},
    		{"CRC32C-full-object", ChecksumCRC32C, true, false},
    		{"CRC64NVME-full-object", ChecksumCRC64NVME, false, false}, // CRC64NVME is always full object
    		{"ChecksumSHA1-composite", ChecksumSHA1, false, false},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. cmd/postpolicyform_test.go

    			fv:      defaultFormVals.Clone().Set(http.CanonicalHeaderKey(xhttp.AmzChecksumCRC32C), "crc32c-val"),
    			wantErr: `Each form field that you specify in a form must appear in the list of policy conditions. "X-Amz-Checksum-Crc32c" not specified in the policy.`,
    		},
    		{
    			name:    "unknown key XAmzChecksumSHA1 is error as it does not appear in policy",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. internal/http/lambda-headers.go

    	AmzFwdHeaderContentType        = "x-amz-fwd-header-Content-Type"
    	AmzFwdHeaderChecksumCrc32      = "x-amz-fwd-header-x-amz-checksum-crc32"
    	AmzFwdHeaderChecksumCrc32c     = "x-amz-fwd-header-x-amz-checksum-crc32c"
    	AmzFwdHeaderChecksumSha1       = "x-amz-fwd-header-x-amz-checksum-sha1"
    	AmzFwdHeaderChecksumSha256     = "x-amz-fwd-header-x-amz-checksum-sha256"
    	AmzFwdHeaderDeleteMarker       = "x-amz-fwd-header-x-amz-delete-marker"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. internal/hash/checksum.go

    }
    
    // ChecksumStringToType is like NewChecksumType but without the `mode`
    func ChecksumStringToType(alg string) ChecksumType {
    	switch strings.ToUpper(alg) {
    	case "CRC32":
    		return ChecksumCRC32
    	case "CRC32C":
    		return ChecksumCRC32C
    	case "SHA1":
    		return ChecksumSHA1
    	case "SHA256":
    		return ChecksumSHA256
    	case "CRC64NVME":
    		// AWS seems to ignore full value, and just assume it.
    		return ChecksumCRC64NVME
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Crc32cHashFunction.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import com.google.errorprone.annotations.Immutable;
    import java.nio.ByteBuffer;
    
    /**
     * This class generates a CRC32C checksum, defined by RFC 3720, Section 12.1. The generator
     * polynomial for this checksum is {@code 0x11EDC6F41}.
     *
     * @author Kurt Alfred Kluever
     */
    @Immutable
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. internal/http/headers.go

    	MinIOServerStatus = "x-minio-server-status"
    
    	// Content Checksums
    	AmzChecksumAlgo           = "x-amz-checksum-algorithm"
    	AmzChecksumCRC32          = "x-amz-checksum-crc32"
    	AmzChecksumCRC32C         = "x-amz-checksum-crc32c"
    	AmzChecksumSHA1           = "x-amz-checksum-sha1"
    	AmzChecksumSHA256         = "x-amz-checksum-sha256"
    	AmzChecksumCRC64NVME      = "x-amz-checksum-crc64nvme"
    	AmzChecksumMode           = "x-amz-checksum-mode"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hashing.java

            + methodName
            + "(Key[algorithm="
            + key.getAlgorithm()
            + ", format="
            + key.getFormat()
            + "])";
      }
    
      /**
       * Returns a hash function implementing the CRC32C checksum algorithm (32 hash bits) as described
       * by RFC 3720, Section 12.1.
       *
       * <p>This function is best understood as a <a
       * href="https://en.wikipedia.org/wiki/Checksum">checksum</a> rather than a true <a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    		LastModified:      partInfo.ModTime,
    		Size:              partInfo.Size,
    		ActualSize:        partInfo.ActualSize,
    		ChecksumCRC32:     partInfo.Checksums["CRC32"],
    		ChecksumCRC32C:    partInfo.Checksums["CRC32C"],
    		ChecksumSHA1:      partInfo.Checksums["SHA1"],
    		ChecksumSHA256:    partInfo.Checksums["SHA256"],
    		ChecksumCRC64NVME: partInfo.Checksums["CRC64NVME"],
    	}, nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 47.1K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    			expectedRespStatus: http.StatusOK,
    			wantHeaders:        map[string]string{"x-amz-checksum-crc32c": checksumData(bytesData, crc32.New(crc32.MakeTable(crc32.Castagnoli)))},
    		},
    		// CRC32 as CRC32C
    		11: {
    			bucketName:         bucketName,
    			objectName:         objectName,
    			headers:            map[string]string{"x-amz-checksum-crc32c": checksumData(bytesData, crc32.New(crc32.IEEETable))},
    			data:               bytesData,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 163.1K bytes
    - Viewed (0)
Back to top