Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for calculateSha256Sum (0.18 sec)

  1. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy

        @Shared String templateEvalZipHash
    
        void setupSpec() {
            createTestZip(templateZipFile)
            templateZipHash = Install.calculateSha256Sum(templateZipFile)
            createEvilZip(templateEvalZipFile)
            templateEvalZipHash = Install.calculateSha256Sum(templateEvalZipFile)
        }
    
        void setup() {
            initConfiguration()
    
            testDir = temporaryFolder.testDirectory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

            if(localTargetFile.exists()) {
                localTargetFile.delete();
            }
            tempDownloadFile.renameTo(localTargetFile);
        }
    
        static String calculateSha256Sum(File file) throws Exception {
            MessageDigest md = MessageDigest.getInstance("SHA-256");
            InputStream fis = new FileInputStream(file);
            try {
                int n = 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. integration-tests/gradle/gradle/wrapper/gradle-wrapper.jar

    nfiguration, java.io.File); private void unzipLocal(java.io.File, java.io.File) throws java.io.IOException; private void deleteLocalTopLevelD(java.io.File); private void forceFetch(java.io.File, java.net.URI) throws Exception; static String calculateSha256Sum(java.io.File) throws Exception; private Install$InstallCheck verifyDistributionRo(java.io.File, String); private void verifyDownloadChecks(String, java.io.File, String) throws Exception; private java.util.List listDirs(java.io.File); private...
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:07:19 UTC 2023
    - 62.2K bytes
    - Viewed (0)
Back to top