Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 33 for crc32c (0.05 seconds)

  1. cmd/object-handlers.go

    		// AWS does not appear to append part number on this API call.
    		if len(chkSums) > 0 {
    			OA.Checksum = &objectAttributesChecksum{
    				ChecksumCRC32:     strings.Split(chkSums["CRC32"], "-")[0],
    				ChecksumCRC32C:    strings.Split(chkSums["CRC32C"], "-")[0],
    				ChecksumSHA1:      strings.Split(chkSums["SHA1"], "-")[0],
    				ChecksumSHA256:    strings.Split(chkSums["SHA256"], "-")[0],
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	CNEG  LO, R7, R15                          // ef2487da
    	CRC32B R17, R8, R16                        // 1041d11a
    	CRC32H R3, R21, R27                        // bb46c31a
    	CRC32W R22, R30, R9                        // c94bd61a
    	CRC32X R20, R4, R15                        // 8f4cd49a
    	CRC32CB R19, R27, R22                      // 7653d31a
    	CRC32CH R21, R0, R20                       // 1454d51a
    	CRC32CW R9, R3, R21                        // 7558c91a
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Jul 24 01:11:41 GMT 2023
    - 43.9K bytes
    - Click Count (0)
  3. internal/hash/crc.go

    		return fmt.Errorf("invalid part checksum")
    	}
    
    	switch c.Type.Base() {
    	case ChecksumCRC32:
    		v := crc32Combine(crc32.IEEE, binary.BigEndian.Uint32(c.Raw), binary.BigEndian.Uint32(other.Raw), size)
    		binary.BigEndian.PutUint32(c.Raw, v)
    	case ChecksumCRC32C:
    		v := crc32Combine(crc32.Castagnoli, binary.BigEndian.Uint32(c.Raw), binary.BigEndian.Uint32(other.Raw), size)
    		binary.BigEndian.PutUint32(c.Raw, v)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

        assertHash32(0x1C8600E3, CRC_32, "hell");
        assertHash32(0x3610A686, CRC_32, "hello");
        assertHash32(0xED81F9F6, CRC_32, "hello ");
        assertHash32(0x4850DDC2, CRC_32, "hello w");
        assertHash32(0x7A2D6005, CRC_32, "hello wo");
        assertHash32(0x1C192672, CRC_32, "hello wor");
        assertHash32(0x414FA339, CRC_32, "The quick brown fox jumps over the lazy dog");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. src/archive/zip/writer_test.go

    		}
    		if got.Flags != want.flags {
    			t.Errorf("%s: got Flags %#x; want %#x", want.name, got.Flags, want.flags)
    		}
    		if got.CRC32 != want.crc32 {
    			t.Errorf("%s: got CRC32 %#x; want %#x", want.name, got.CRC32, want.crc32)
    		}
    		if got.CompressedSize64 != want.compressedSize {
    			t.Errorf("%s: got CompressedSize64 %d; want %d", want.name, got.CompressedSize64, want.compressedSize)
    		}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  6. src/archive/zip/testdata/crc32-not-streamed.zip

    Russ Cox <******@****.***> 1410149331 -0400
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 314 bytes
    - Click Count (0)
  7. lib/time/mkzip.go

    		w, err := zw.CreateRaw(&zip.FileHeader{
    			Name:               name,
    			Method:             zip.Store,
    			CompressedSize64:   uint64(len(data)),
    			UncompressedSize64: uint64(len(data)),
    			CRC32:              crc32.ChecksumIEEE(data),
    		})
    		if err != nil {
    			log.Fatal(err)
    		}
    		if _, err := w.Write(data); err != nil {
    			log.Fatal(err)
    		}
    		seen[name] = true
    		return nil
    	})
    	if err != nil {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. src/archive/zip/writer.go

    		fh.UncompressedSize64 = 0
    
    		ow = dirWriter{}
    	} else {
    		fh.Flags |= 0x8 // we will write a data descriptor
    
    		fw = &fileWriter{
    			zipw:      w.cw,
    			compCount: &countWriter{w: w.cw},
    			crc32:     crc32.NewIEEE(),
    		}
    		comp := w.compressor(fh.Method)
    		if comp == nil {
    			return nil, ErrAlgorithm
    		}
    		var err error
    		fw.comp, err = comp(fw.compCount)
    		if err != nil {
    			return nil, err
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  9. docs/debugging/hash-set/main.go

    func hashOrder(key string, cardinality int) []int {
    	if cardinality <= 0 {
    		// Returns an empty int slice for cardinality < 0.
    		return nil
    	}
    
    	nums := make([]int, cardinality)
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    
    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    		nums[i-1] = 1 + ((start + i) % cardinality)
    	}
    	return nums
    }
    
    var (
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Click Count (0)
  10. src/archive/zip/struct.go

    	// Deprecated: Use Modified instead.
    	ModifiedTime uint16
    
    	// ModifiedDate is an MS-DOS-encoded date.
    	//
    	// Deprecated: Use Modified instead.
    	ModifiedDate uint16
    
    	// CRC32 is the CRC32 checksum of the file content.
    	CRC32 uint32
    
    	// CompressedSize is the compressed size of the file in bytes.
    	// If either the uncompressed or compressed size of the file
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue May 28 21:41:09 GMT 2024
    - 12.1K bytes
    - Click Count (0)
Back to Top