Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getChecksum (0.28 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationWritingIntegTest.groovy

                    declaresChecksums(
                        sha1: getChecksum(foo, "sha1"),
                        sha512: getChecksum(foo, "sha512")
                    )
                }
                artifact("foo-1.0.pom") {
                    declaresChecksums(
                        sha1: getChecksum(foo, "sha1", "pom"),
                        sha512: getChecksum(foo, "sha512", "pom")
                    )
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy

      - On artifact foo-1.0.jar (org:foo:1.0) in repository 'maven': expected a 'sha1' checksum of 'invalid' but was '${getChecksum(foo, "sha1")}'
      - On artifact foo-1.0.pom (org:foo:1.0) in repository 'maven': expected a 'sha1' checksum of 'invalid' but was '${getChecksum(foo, "sha1", "pom")}'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/Pac.java

                        this.serverSignature.getType(),
                        Hexdump.toHexString(this.serverSignature.getChecksum())));
            }
    
            byte checksum[] = PacMac.calculateMac(this.serverSignature.getType(), keys, checksumData);
            if ( !MessageDigest.isEqual(this.serverSignature.getChecksum(), checksum) ) {
                if ( log.isDebugEnabled() ) {
                    log.debug(
                        String.format(
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/resource/local/GroupedAndNamedUniqueFileStore.java

            this.baseDir = baseDir;
            this.checksumService = checksumService;
        }
    
        @Override
        public LocallyAvailableResource move(K key, File source) {
            return markAccessed(delegate.move(toPath(key, getChecksum(source)), source));
        }
    
        @Override
        public Set<? extends LocallyAvailableResource> search(K key) {
            return delegate.search(toPath(key, "*"));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 02 16:14:10 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/KeyHasher.java

            this.serializer = serializer;
        }
    
        long getHashCode(K key) throws Exception {
            serializer.write(encoder, key);
            encoder.flush();
            return digestStream.getChecksum();
        }
    
        private static class MessageDigestStream extends OutputStream {
            MessageDigest messageDigest;
    
            private MessageDigestStream() {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. pkg/kubelet/checkpointmanager/checksum/checksum.go

    		return errors.ErrCorruptCheckpoint
    	}
    	return nil
    }
    
    // New returns the Checksum of checkpoint data
    func New(data interface{}) Checksum {
    	return Checksum(getChecksum(data))
    }
    
    // Get returns calculated checksum of checkpoint data
    func getChecksum(data interface{}) uint64 {
    	hash := fnv.New32a()
    	hashutil.DeepHashObject(hash, data)
    	return uint64(hash.Sum32())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 01:56:43 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureWriteIntegTest.groovy

          <component group="org" name="foo" version="1.0">
             <artifact name="foo-1.0.jar">
                <sha256 value="${getChecksum(foo, "sha256")}" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
             </artifact>
             <artifact name="foo-1.0.pom">
                <sha256 value="${getChecksum(foo, "sha256", "pom")}" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
             </artifact>
          </component>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/ChecksumEntry.java

            return result;
        }
    
        ChecksumKind getChecksumKind() {
            return checksumKind;
        }
    
        public String getChecksum() {
            return checksum;
        }
    
        public void setChecksum(String checksum) {
            this.checksum = checksum;
        }
    
        @Override
        int getOrder() {
            return checksumKind.ordinal();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacSignature.java

                throw new PACDecodingException("Malformed PAC signature", e);
            }
        }
    
    
        public int getType () {
            return this.type;
        }
    
    
        public byte[] getChecksum () {
            return this.checksum;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/verification/DependencyVerificationFixture.groovy

                }
                assert md == null: "Didn't expect module $id to be present but it was"
            }
        }
    
        static String getChecksum(HttpModule module, String algo, String artifactType = 'jar', String classifier = null) {
            def file = module.getArtifact([type: artifactType, classifier: classifier]).file
            def function = Hashing.defaultFunction()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top