Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for chksums (0.05 sec)

  1. src/archive/tar/reader_test.go

    				t.Fatalf("got %d headers, want %d headers", len(hdrs), len(v.headers))
    			}
    
    			for i, sum := range chksums {
    				if i >= len(v.chksums) {
    					t.Fatalf("entry %d: unexpected sum: got %s", i, sum)
    				}
    				if sum != v.chksums[i] {
    					t.Fatalf("entry %d: incorrect checksum: got %s, want %s", i, sum, v.chksums[i])
    				}
    			}
    
    			if err != v.err {
    				t.Fatalf("unexpected error: got %v, want %v", err, v.err)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		chkSums := objInfo.decryptChecksums(0, r.Header)
    		// 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],
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  3. internal/hash/checksum.go

    func AddChecksumHeader(w http.ResponseWriter, c map[string]string) {
    	for k, v := range c {
    		cksum := NewChecksumString(k, v)
    		if cksum == nil {
    			continue
    		}
    		if cksum.Valid() {
    			w.Header().Set(cksum.Type.Key(), v)
    		}
    	}
    }
    
    // GetContentChecksum returns content checksum.
    // Returns ErrInvalidChecksum if so.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. 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)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

                    updates = policy.getUpdatePolicy();
                }
                if (policy.getChecksumPolicy() != null) {
                    checksums = policy.getChecksumPolicy();
                }
            }
    
            return new RepositoryPolicy(enabled, updates, checksums);
        }
    
        public static String toRepositoryChecksumPolicy(final String artifactRepositoryPolicy) {
            switch (artifactRepositoryPolicy) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v1_gen.go

    					return
    				}
    			}
    		case "Checksums":
    			var zb0003 uint32
    			zb0003, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Checksums")
    				return
    			}
    			if cap(z.Checksums) >= int(zb0003) {
    				z.Checksums = (z.Checksums)[:zb0003]
    			} else {
    				z.Checksums = make([]ChecksumInfo, zb0003)
    			}
    			for za0002 := range z.Checksums {
    				err = z.Checksums[za0002].DecodeMsg(dc)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    	partInfo := ObjectPartInfo{
    		Number:     partNumber,
    		ETag:       partETag,
    		Size:       partSize,
    		ActualSize: actualSize,
    		ModTime:    modTime,
    		Index:      idx,
    		Checksums:  checksums,
    	}
    
    	// Update part info if it already exists.
    	for i, part := range fi.Parts {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v1.go

    	// Index is the index of the current disk
    	Index int `json:"index"`
    	// Distribution is the distribution of the data and parity blocks
    	Distribution []int `json:"distribution"`
    	// Checksums holds all bitrot checksums of all erasure encoded blocks
    	Checksums []ChecksumInfo `json:"checksum,omitempty"`
    }
    
    // Equal equates current erasure info with newer erasure info.
    // returns false if one of the following check fails
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            }
            if (mavenOptions.strictChecksums().orElse(false)) {
                cmdAndArguments.add("--strict-checksums");
            }
            if (mavenOptions.relaxedChecksums().orElse(false)) {
                cmdAndArguments.add("--lax-checksums");
            }
            if (mavenOptions.failFast().orElse(false)) {
                cmdAndArguments.add("--fail-fast");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        wagon.removeTransferListener(downloadMonitor);
                    }
                }
    
                // Pre-store the checksums as any future puts will overwrite them
                for (String extension : checksums.keySet()) {
                    ChecksumObserver observer = checksums.get(extension);
                    sums.put(extension, observer.getActualChecksum());
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top