Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 53 for checksums (0.05 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        /**
         * Calculates checksums for specified data.
         *
         * @param data        The content for which to calculate checksums, must not be {@code null}.
         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
         * @return The calculated checksums, indexed by algorithms, never {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java

            assertEquals(2, checksums.size());
            assertEquals("a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", checksums.get(service.select("SHA-1")));
            assertEquals("098f6bcd4621d373cade4e832627b4f6", checksums.get(service.select("MD5")));
        }
    
        @Test
        void calculateStream() throws IOException {
            Map<ChecksumAlgorithmService.ChecksumAlgorithm, String> checksums = service.calculate(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 11:31:00 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. 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) {
            return switch (artifactRepositoryPolicy) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. lib/fips140/fips140.sum

    # SHA256 checksums of snapshot zip files in this directory.
    # These checksums are included in the FIPS security policy
    # (validation instructions sent to the lab) and MUST NOT CHANGE.
    # That is, the zip files themselves must not change.
    #
    # It is okay to add new zip files to the list, and it is okay to
    # remove zip files from the list when they are removed from
    # this directory. To update this file:
    #
    #	go test cmd/go/internal/fips140 -update
    #
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 614 bytes
    - Click Count (0)
  5. internal/hash/checksum_test.go

    			}
    
    			if gotChksm == nil {
    				t.Fatalf("Got nil checksum for %s", tt.name)
    			}
    			// Compare the full checksum structs
    			if !chksm.Equal(gotChksm) {
    				t.Errorf("Checksum mismatch for %s: expected %+v, got %+v", tt.name, chksm, gotChksm)
    			}
    			// Verify the checksum type
    			expectedType := chksm.Type
    			if gotChksm.Type != expectedType {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. cmd/bitrot.go

    	}
    	for algorithm := range bitrotAlgorithms {
    		if !algorithm.Available() {
    			continue
    		}
    
    		checksum, err := hex.DecodeString(checksums[algorithm])
    		if err != nil {
    			logger.Fatal(errSelfTestFailure, fmt.Sprintf("bitrot: failed to decode %v checksum %s for selftest: %v", algorithm, checksums[algorithm], err))
    		}
    		var (
    			hash = algorithm.New()
    			msg  = make([]byte, 0, hash.Size()*hash.BlockSize())
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  7. cmd/xl-storage-format-v1.go

    	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
    // - erasure algorithm is different
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Oct 22 15:30:50 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/pac/PacConstants.java

        int LOGON_INFO = 1;
        /**
         * Buffer type for credential information.
         */
        int CREDENTIAL_TYPE = 2;
        /**
         * Buffer type for server checksum signature.
         */
        int SERVER_CHECKSUM = 6;
        /**
         * Buffer type for privilege server (KDC) checksum signature.
         */
        int PRIVSVR_CHECKSUM = 7;
    
        /**
         * Buffer type for client name information.
         */
        int CLIENT_NAME_TYPE = 0xA;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. cmd/storage-datatypes_test.go

    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.Log("Size:", buf.Len(), "bytes")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. lib/fips140/README.md

    The file x.txt (for example, inprocess.txt, certified.txt)
    defines the meaning of the FIPS version alias x, listing
    the exact version to use.
    
    The zip files are created by cmd/go/internal/fips140/mkzip.go.
    The fips140.sum file lists checksums for the zip files.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 20 20:28:34 GMT 2024
    - 416 bytes
    - Click Count (0)
Back to Top