Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for CRC32C (0.05 sec)

  1. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

          checksum.update(testBytes, 0, testBytes.length);
          result = (byte) (result ^ checksum.getValue());
        }
        return result;
      }
    
      // CRC32C
    
      @Benchmark
      byte crc32cHashFunction(int reps) {
        return runHashFunction(reps, Hashing.crc32c());
      }
    
      // Adler32
    
      @Benchmark
      byte adler32HashFunction(int reps) {
        return runHashFunction(reps, Hashing.adler32());
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 16:53:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

          checksum.update(testBytes, 0, testBytes.length);
          result = (byte) (result ^ checksum.getValue());
        }
        return result;
      }
    
      // CRC32C
    
      @Benchmark
      byte crc32cHashFunction(int reps) {
        return runHashFunction(reps, Hashing.crc32c());
      }
    
      // Adler32
    
      @Benchmark
      byte adler32HashFunction(int reps) {
        return runHashFunction(reps, Hashing.adler32());
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 16:53:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashingTest.java

              .put(Hashing.sipHash24(), TQBFJOTLD, "e46f1fdc05612752")
              .put(Hashing.sipHash24(), TQBFJOTLDP, "9b602581fce4d4f8")
              .put(Hashing.crc32c(), "", "00000000")
              .put(Hashing.crc32c(), TQBFJOTLD, "04046222")
              .put(Hashing.crc32c(), TQBFJOTLDP, "b3970019")
              .put(Hashing.farmHashFingerprint64(), "", "4f40902f3b6ae19a")
              .put(Hashing.farmHashFingerprint64(), TQBFJOTLD, "34511b3bf383beab")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. internal/http/headers.go

    	// Server-Status
    	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"
    	AmzChecksumMode   = "x-amz-checksum-mode"
    
    	// Delete special flag to force delete a bucket or a prefix
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. internal/hash/checksum.go

    }
    
    // NewChecksumType returns a checksum type based on the algorithm string.
    func NewChecksumType(alg string) ChecksumType {
    	switch strings.ToUpper(alg) {
    	case "CRC32":
    		return ChecksumCRC32
    	case "CRC32C":
    		return ChecksumCRC32C
    	case "SHA1":
    		return ChecksumSHA1
    	case "SHA256":
    		return ChecksumSHA256
    	case "":
    		return ChecksumNone
    	}
    	return ChecksumInvalid
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  10. 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"],
    	}, nil
    }
    
    // GetMultipartInfo returns multipart metadata uploaded during newMultipartUpload, used
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
Back to top