Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 130 for memhash (0.11 sec)

  1. guava-testlib/src/com/google/common/testing/RelationshipTester.java

        int itemHash = equivalence.hash(item);
        int relatedHash = equivalence.hash(related);
        assertWithTemplate(
            "the $HASH ("
                + itemHash
                + ") of $ITEM must be equal to the $HASH ("
                + relatedHash
                + ") of $OTHER",
            itemInfo,
            relatedInfo,
            itemHash == relatedHash);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. platforms/software/resources-gcs/src/test/groovy/org/gradle/internal/resource/transport/gcp/gcs/GcsResourceConnectorTest.groovy

            def lastModified = new DateTime(new Date())
            def md5hash = '3e25960a79dbc69b674cd4ec67a72c62'
            def contentType = 'application/zip'
    
            GcsClient gcsClient = Mock(GcsClient) {
                1 * getResource(uri) >> {
                    def storageObject = new StorageObject()
                    storageObject.setUpdated(lastModified)
                    storageObject.setMd5Hash(md5hash)
                    storageObject.setSize(BigInteger.TEN)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasher.java

        }
    
        @Nullable
        @Override
        public HashCode getClassLoaderHash(ClassLoader classLoader) {
            Visitor visitor = new Visitor();
            visitor.visit(classLoader);
            return visitor.getHash();
        }
    
        private class Visitor extends ClassLoaderVisitor {
            private final Hasher hasher = Hashing.newHasher();
            private boolean foundUnknown;
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/CachingFileHasher.java

            return "{hasher cache: " + cache + "}";
        }
    
        @Override
        public HashCode hash(File file) {
            return snapshot(file).getHash();
        }
    
        @Override
        public HashCode hash(File file, long length, long lastModified) {
            return snapshot(file, length, lastModified).getHash();
        }
    
        private FileInfo snapshot(File file) {
            FileMetadata fileMetadata = fileSystem.stat(file);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy

            succeeds taskName
    
            def archive = file("build/test.${fileExtension}")
            then:
            def firstFileHash = archive.md5Hash
    
            when:
            file('dir1/file11.txt').makeOlder()
            archive.delete()
            succeeds taskName
    
            then:
            archive.md5Hash == firstFileHash
    
            where:
            taskName << ['tar', 'zip']
            taskType = taskName.capitalize()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/CopyingClasspathFileTransformer.java

            if (!cachedFile.isFile()) {
                // Just copy the jar
                GFileUtils.copyFile(source, cachedFile);
            }
            return cachedFile;
        }
    
        @Override
        public ClasspathFileHasher getFileHasher() {
            return FileSystemLocationSnapshot::getHash;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/OutputFileChanges.java

                FileSystemLocationSnapshot currentSnapshot = (FileSystemLocationSnapshot) current;
                if (previousSnapshot.getHash().equals(currentSnapshot.getHash())) {
                    return true;
                } else if (currentSnapshot.getType() != FileType.Directory || previousSnapshot.getType() != FileType.Directory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultCachingStateFactory.java

                logger.warn("Appending input file fingerprints for '{}' to build cache key: {} - {}",
                    propertyName, fingerprint.getHash(), fingerprint);
                cacheKeyHasher.putString(propertyName);
                cacheKeyHasher.putHash(fingerprint.getHash());
            });
    
            beforeExecutionState.getOutputFileLocationSnapshots().keySet().forEach(propertyName -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/crypto/aes/gcm_ppc64x.go

    // algorithm.
    func (g *gcmAsm) paddedGHASH(hash *[16]byte, data []byte) {
    	if siz := len(data) - (len(data) % gcmBlockSize); siz > 0 {
    		gcmHash(hash[:], &g.productTable, data[:], siz)
    		data = data[siz:]
    	}
    	if len(data) > 0 {
    		var s [16]byte
    		copy(s[:], data)
    		gcmHash(hash[:], &g.productTable, s[:], len(s))
    	}
    }
    
    // auth calculates GHASH(ciphertext, additionalData), masks the result with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/metrics.go

    	})
    }
    
    func recordAuthenticationLatency(result, jwtIssuerHash string, duration time.Duration) {
    	jwtAuthenticatorLatencyMetric.WithLabelValues(result, jwtIssuerHash).Observe(duration.Seconds())
    }
    
    func getHash(data string) string {
    	if len(data) > 0 {
    		return fmt.Sprintf("sha256:%x", sha256.Sum256([]byte(data)))
    	}
    	return ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top