Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for memhash (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/authenticationconfig/metrics/metrics.go

    	apiServerIDHash := getHash(apiServerID)
    	authenticationConfigAutomaticReloadsTotal.WithLabelValues("failure", apiServerIDHash).Inc()
    	authenticationConfigAutomaticReloadLastTimestampSeconds.WithLabelValues("failure", apiServerIDHash).SetToCurrentTime()
    }
    
    func RecordAuthenticationConfigAutomaticReloadSuccess(apiServerID string) {
    	apiServerIDHash := getHash(apiServerID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/crypto/crypto.go

    func (h Hash) Size() int {
    	if h > 0 && h < maxHash {
    		return int(digestSizes[h])
    	}
    	panic("crypto: Size of unknown hash function")
    }
    
    var hashes = make([]func() hash.Hash, maxHash)
    
    // New returns a new hash.Hash calculating the given hash function. New panics
    // if the hash function is not linked into the binary.
    func (h Hash) New() hash.Hash {
    	if h > 0 && h < maxHash {
    		f := hashes[h]
    		if f != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/metrics/metrics.go

    		legacyregistry.MustRegister(encryptionConfigAutomaticReloadLastTimestampSeconds)
    	})
    }
    
    func RecordEncryptionConfigAutomaticReloadFailure(apiServerID string) {
    	apiServerIDHash := getHash(apiServerID)
    	encryptionConfigAutomaticReloadsTotal.WithLabelValues("failure", apiServerIDHash).Inc()
    	deprecatedEncryptionConfigAutomaticReloadFailureTotal.WithLabelValues(apiServerIDHash).Inc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 05:47:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. android/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)
  5. platforms/software/resources-gcs/src/test/groovy/org/gradle/internal/resource/transport/gcp/gcs/ResourceMapperTest.groovy

            def lastModified = new DateTime(new Date())
            def md5hash = '6b53d334d6959ff26af1a376c0fbd8ae'
            def contentType = 'application/octet-stream'
            def storageObject = new StorageObject()
            storageObject.setUpdated(lastModified)
            storageObject.setMd5Hash(md5hash)
            storageObject.setSize(BigInteger.TEN)
            storageObject.setContentType(contentType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RegularFileSnapshot.java

        }
    
        @Override
        public FileType getType() {
            return FileType.RegularFile;
        }
    
        @Override
        public HashCode getHash() {
            return contentHash;
        }
    
        // Used by the Maven caching client. Do not remove
        public FileMetadata getMetadata() {
            return metadata;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top