Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 133 for rthash (0.3 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. operator/pkg/helmreconciler/apply.go

    	cname := string(manifest.Name)
    	crHash, err := h.getCRHash(cname)
    	if err != nil {
    		return result, err
    	}
    
    	scope.Infof("Processing resources from manifest: %s for CR %s", cname, crHash)
    	allObjects, err := object.ParseK8sObjectsFromYAMLManifest(manifest.Content)
    	if err != nil {
    		return result, err
    	}
    
    	objectCache := cache.GetCache(crHash)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/metrics/metrics.go

    	encryptionConfigAutomaticReloadLastTimestampSeconds.WithLabelValues(result, apiServerIDHash).SetToCurrentTime()
    }
    
    func getHash(data string) string {
    	if len(data) == 0 {
    		return ""
    	}
    	h := hashPool.Get().(hash.Hash)
    	h.Reset()
    	h.Write([]byte(data))
    	dataHash := fmt.Sprintf("sha256:%x", h.Sum(nil))
    	hashPool.Put(h)
    	return dataHash
    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. guava/src/com/google/common/hash/Striped64.java

       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RegularFileSnapshot.java

    import com.google.common.collect.Interner;
    import org.gradle.internal.file.FileMetadata;
    import org.gradle.internal.file.FileType;
    import org.gradle.internal.hash.HashCode;
    
    import java.util.Optional;
    
    /**
     * A snapshot of a regular file.
     *
     * The snapshot includes the content hash of the file and its metadata.
     */
    public class RegularFileSnapshot extends AbstractFileSystemLocationSnapshot implements FileSystemLeafSnapshot {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/Striped64.java

       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Striped64.java

       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasher.java

                if (cl instanceof CachingClassLoader || cl instanceof MultiParentClassLoader) {
                    return true;
                }
                HashCode hash = classLoaderFactory.getClassLoaderClasspathHash(cl);
                if (hash != null) {
                    hasher.putHash(hash);
                    return true;
                }
                foundUnknown = true;
                return false;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

      }
    
      /**
       * Applies a supplemental hash function to a given hash code, which defends against poor quality
       * hash functions. This is critical when the concurrent hash map uses power-of-two length hash
       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/CachingFileHasher.java

            private final HashCode hash;
            private final long timestamp;
            private final long length;
    
            public FileInfo(HashCode hash, long length, long timestamp) {
                this.hash = hash;
                this.length = length;
                this.timestamp = timestamp;
            }
    
            public HashCode getHash() {
                return hash;
            }
        }
    
    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