Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 119 for memhash (0.18 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/DefaultToolingModelParameterCarrierFactory.kt

            override fun getView(viewType: Class<*>): Any {
                val viewBuilder = ProtocolToModelAdapter().builder(viewType)
                return viewBuilder.build(parameter)!!
            }
    
            override fun getHash(): HashCode {
                val unpacked = ToolingParameterProxy.unpackProperties(parameter)
                return Hashing.hashHashable(valueSnapshotter.snapshot(unpacked))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableBiMap.java

          Entry<K, V> entry = requireNonNull(entryArray[i]);
          K key = entry.getKey();
          V value = entry.getValue();
          checkEntryNotNull(key, value);
          int keyHash = key.hashCode();
          int valueHash = value.hashCode();
          int keyBucket = Hashing.smear(keyHash) & mask;
          int valueBucket = Hashing.smear(valueHash) & mask;
    
          ImmutableMapEntry<K, V> nextInKeyBucket = keyTable[keyBucket];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/HashedClasspath.java

            this(classpath, hasher.hash(classpath));
        }
    
        public ClassPath getClasspath() {
            return classpath;
        }
    
        public HashCode getHash() {
            return hash;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/CurrentFileCollectionFingerprint.java

     */
    public interface CurrentFileCollectionFingerprint extends FileCollectionFingerprint {
        /**
         * Returns the combined hash of the contents of this {@link CurrentFileCollectionFingerprint}.
         */
        HashCode getHash();
    
        /**
         * An identifier for the strategy.
         *
         * Used to select a compare strategy.
         */
        String getStrategyIdentifier();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/classpath/CachingClassSetAnalyzer.java

        @Override
        public ClassSetAnalysisData analyzeClasspathEntry(final File classpathEntry) {
            FileSystemLocationSnapshot snapshot = fileSystemAccess.read(classpathEntry.getAbsolutePath());
            return cache.get(snapshot.getHash(), hash -> delegate.analyzeClasspathEntry(classpathEntry));
        }
    
        @Override
        public ClassSetAnalysisData analyzeOutputFolder(File outputFolder) {
            return delegate.analyzeOutputFolder(outputFolder);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/RuntimeClasspathResourceHasher.java

    public class RuntimeClasspathResourceHasher implements ResourceHasher {
    
        @Nullable
        @Override
        public HashCode hash(RegularFileSnapshotContext fileSnapshotContext) {
            return fileSnapshotContext.getSnapshot().getHash();
        }
    
        @Override
        public HashCode hash(ZipEntryContext zipEntryContext) throws IOException {
            return zipEntryContext.getEntry().withInputStream(Hashing::hashStream);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/hashing/FileSystemLocationSnapshotHasher.java

        FileSystemLocationSnapshotHasher DEFAULT = new FileSystemLocationSnapshotHasher() {
            @Nullable
            @Override
            public HashCode hash(FileSystemLocationSnapshot snapshot) {
                return snapshot.getHash();
            }
    
            @Override
            public void appendConfigurationToHasher(Hasher hasher) {
                hasher.putString(getClass().getName());
            }
        };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go

    }
    
    func addLabelToCache(c *lru.Cache, transformationType, providerName, keyID, apiServerID string) (string, string) {
    	keyIDHash := getHash(keyID)
    	apiServerIDHash := getHash(apiServerID)
    	c.Add(metricLabels{
    		transformationType: transformationType,
    		providerName:       providerName,
    		keyIDHash:          keyIDHash,
    		apiServerIDHash:    apiServerIDHash,
    	}, nil) // value is irrelevant, this is a set and not a map
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 09 22:31:32 UTC 2023
    - 12K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

        int hash = original.getHash();
        return segmentFor(hash).copyEntry(original, newNext);
      }
    
      int hash(Object key) {
        int h = keyEquivalence.hash(key);
        return rehash(h);
      }
    
      void reclaimValue(WeakValueReference<K, V, E> valueReference) {
        E entry = valueReference.getEntry();
        int hash = entry.getHash();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/EmptyCurrentFileCollectionFingerprint.java

        private final String identifier;
    
        public EmptyCurrentFileCollectionFingerprint(String identifier) {
            this.identifier = identifier;
        }
    
        @Override
        public HashCode getHash() {
            return SIGNATURE;
        }
    
        @Override
        public boolean isEmpty() {
            return true;
        }
    
        @Override
        public Map<String, FileSystemLocationFingerprint> getFingerprints() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top