Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for rthash (0.12 sec)

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

    	authorizationConfigAutomaticReloadLastTimestampSeconds.WithLabelValues("success", 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: Fri Feb 16 13:20:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  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. 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)
  7. 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)
  8. 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)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/OutputFileChanges.java

                if (previousSnapshot.getHash().equals(currentSnapshot.getHash())) {
                    return true;
                } else if (currentSnapshot.getType() != FileType.Directory || previousSnapshot.getType() != FileType.Directory) {
                    // The hash is different and one of the two snapshots is not a directory falls into cases:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. 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)
Back to top