Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for crc32c (0.17 sec)

  1. src/archive/zip/reader_test.go

    				Modified: time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
    				Mode:     0666,
    			},
    		},
    	},
    	// Tests that we verify (and accept valid) crc32s on files
    	// with crc32s in their file header (not in data descriptors)
    	{
    		Name: "crc32-not-streamed.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "foo.txt",
    				Content:  []byte("foo\n"),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	CRC32W R11, R11                         // 66f2450f38f1db
    	CRC32L (BX), DX                         // f20f38f113
    	CRC32L (R11), DX                        // f2410f38f113
    	CRC32L DX, DX                           // f20f38f1d2
    	CRC32L R11, DX                          // f2410f38f1d3
    	CRC32L (BX), R11                        // f2440f38f11b
    	CRC32L (R11), R11                       // f2450f38f11b
    	CRC32L DX, R11                          // f2440f38f1da
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 08 21:38:44 GMT 2021
    - 581.9K bytes
    - Viewed (0)
  3. 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
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jul 24 01:11:41 GMT 2023
    - 43.9K bytes
    - Viewed (1)
  4. 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)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  5. 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 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/archive/zip/testdata/crc32-not-streamed.zip

    Russ Cox <******@****.***> 1410149331 -0400
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 314 bytes
    - Viewed (0)
  7. 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
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  8. src/archive/zip/reader.go

    				} else {
    					err = err1
    				}
    			} else if r.hash.Sum32() != r.f.CRC32 {
    				err = ErrChecksum
    			}
    		} else {
    			// If there's not a data descriptor, we still compare
    			// the CRC32 of what we've read against the file header
    			// or TOC's CRC32, if it seems like it was set.
    			if r.f.CRC32 != 0 && r.hash.Sum32() != r.f.CRC32 {
    				err = ErrChecksum
    			}
    		}
    	}
    	r.err = err
    	return
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  9. src/archive/zip/zip_test.go

    				}
    			}
    			f, err := w.CreateHeader(&FileHeader{
    				Name:   filename,
    				Method: Store,
    			})
    			if err != nil {
    				t.Fatal(err)
    			}
    			f.(*fileWriter).crc32 = fakeHash32{}
    			size := wantOff - fileHeaderLen - uint64(len(filename)) - dataDescriptorLen
    			if _, err := io.CopyN(f, zeros{}, int64(size)); err != nil {
    				t.Fatal(err)
    			}
    			if err := w.Close(); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg hash/adler32, func New() hash.Hash32
    pkg hash/crc32, const Castagnoli ideal-int
    pkg hash/crc32, const IEEE ideal-int
    pkg hash/crc32, const Koopman ideal-int
    pkg hash/crc32, const Size ideal-int
    pkg hash/crc32, func Checksum([]uint8, *Table) uint32
    pkg hash/crc32, func ChecksumIEEE([]uint8) uint32
    pkg hash/crc32, func MakeTable(uint32) *Table
    pkg hash/crc32, func New(*Table) hash.Hash32
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
Back to top