Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 21 for crc (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/erasure-sets_test.go

    	}
    
    	if sipHashElement := hashKey("UNKNOWN", "This will fail", 0, testUUID); sipHashElement != -1 {
    		t.Errorf("Test: Expected \"-1\" but got \"%v\"", sipHashElement)
    	}
    }
    
    // TestCrcHashMod - test crc hash.
    func TestCrcHashMod(t *testing.T) {
    	testCases := []struct {
    		objectName string
    		crcHash    int
    	}{
    		// cases which should pass the test.
    		// passing in valid object name.
    		{"object", 28},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. cmd/xl-storage-format-v1_gen.go

    				return
    			}
    		case "i":
    			z.Index, err = dc.ReadBytes(z.Index)
    			if err != nil {
    				err = msgp.WrapError(err, "Index")
    				return
    			}
    			zb0001Mask |= 0x1
    		case "crc":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Checksums")
    				return
    			}
    			if z.Checksums == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  3. src/archive/zip/writer_test.go

    		t.Errorf("unexpected method and flags: %v", b[6:10])
    	}
    
    	if !bytes.Equal(b[14:26], make([]byte, 12)) { // FileHeader.{CRC32,CompressSize,UncompressedSize} all zero.
    		t.Errorf("unexpected crc, compress and uncompressed size to be 0 was: %v", b[14:26])
    	}
    
    	binary.LittleEndian.PutUint32(sig[:], uint32(dataDescriptorSignature))
    	if bytes.Contains(b, sig[:]) {
    		t.Error("there should be no data descriptor")
    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)
  4. cmd/xl-storage-meta-inline.go

    		// First version to carry data.
    		return buf
    	}
    	// Skip header
    	_, metaBuf, err = msgp.ReadBytesZC(metaBuf)
    	if err != nil {
    		storageLogIf(GlobalContext, err)
    		return buf
    	}
    	// Skip CRC
    	if maj > 1 || minor >= 2 {
    		_, metaBuf, err = msgp.ReadUint32Bytes(metaBuf)
    		storageLogIf(GlobalContext, err)
    	}
    	//   =  input - current pos
    	ends := len(buf) - len(metaBuf)
    	if ends > len(buf) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. docs/debugging/xl-meta/main.go

    					return nil, err
    				}
    			case 1, 2:
    				v, b, err := msgp.ReadBytesZC(b)
    				if err != nil {
    					return nil, err
    				}
    				if _, nbuf, err := msgp.ReadUint32Bytes(b); err == nil {
    					// Read metadata CRC (added in v2, ignore if not found)
    					b = nbuf
    				}
    
    				_, err = msgp.CopyToJSON(buf, bytes.NewReader(v))
    				if err != nil {
    					return nil, err
    				}
    				data = b
    			case 3:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @since 18.0
       */
      public static HashFunction crc32c() {
        return Crc32cHashFunction.CRC_32_C;
      }
    
      /**
       * Returns a hash function implementing the CRC-32 checksum algorithm (32 hash bits).
       *
       * <p>To get the {@code long} value equivalent to {@link Checksum#getValue()} for a {@code
       * HashCode} produced by this function, use {@link HashCode#padToLong()}.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  7. src/archive/zip/reader_test.go

    	// Archive contains a file whose name is exclusively made up of '/', '\'
    	// characters, or "../", "..\" paths, which would previously cause a panic.
    	//
    	//  Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
    	// --------  ------  ------- ---- ---------- ----- --------  ----
    	//        0  Stored        0   0% 08-05-2021 18:32 00000000  /
    	//        0  Stored        0   0% 09-14-2021 12:59 00000000  //
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 17 20:10:27 GMT 2025
    - 56.5K bytes
    - Click Count (0)
  8. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

          <!-- LL = Layer description; 01 = L3, 10 = L2, 11 = L1     -->
          <!-- C = Protection bit; 0 = CRC, 1 = no CRC               -->
          <match value="0xfff2" type="string" offset="0"/> <!-- V2, L3, CRC -->
          <match value="0xfff3" type="string" offset="0"/> <!-- V2, L3      -->
          <match value="0xfff4" type="string" offset="0"/> <!-- V2, L2, CRC -->
          <match value="0xfff5" type="string" offset="0"/> <!-- V2, L2      -->
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Oct 16 07:46:32 GMT 2025
    - 320.2K bytes
    - Click Count (5)
  9. cmd/bucket-replication.go

    	ObjectLockLegalHoldTimestamp = "objectlock-legalhold-timestamp"
    
    	// ReplicationSsecChecksumHeader - the encrypted checksum of the SSE-C encrypted object.
    	ReplicationSsecChecksumHeader = "X-Minio-Replication-Ssec-Crc"
    )
    
    // gets replication config associated to a given bucket name.
    func getReplicationConfig(ctx context.Context, bucketName string) (rc *replication.Config, err error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  10. cmd/object-handlers.go

    					dstOpts.WantChecksum = nil
    				}
    			} else {
    				// S3: All copied objects without checksums and specified destination checksum algorithms
    				// automatically gain a CRC-64NVME checksum algorithm.
    				dstOpts.WantServerSideChecksumType = hash.ChecksumCRC64NVME
    				srcInfo.Reader.AddServerSideChecksumHasher(dstOpts.WantServerSideChecksumType)
    				dstOpts.WantChecksum = nil
    			}
    		}
    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)
Back to Top