Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,181 for hash_code (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h

               device == rhs.device && op == rhs.op;
      }
    
      // Make ResourceHandle hashable.
      friend ::llvm::hash_code hash_value(const ResourceHandle& resource_handle);
    
      StringRef container;
      StringRef name;
      StringRef device;
      Operation* op = nullptr;
    };
    
    // Make ResourceHandle hashable.
    inline ::llvm::hash_code hash_value(const ResourceHandle& resource_handle) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/DefaultHashingClassLoaderFactory.java

            HashCode hashCode = implementationHash != null
                ? implementationHash
                : calculateClassLoaderHash(classPath);
            ClassLoader classLoader = super.doCreateClassLoader(name, parent, classPath);
            hashCodes.put(classLoader, hashCode);
            return classLoader;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/WeakIdentityHashMapTest.groovy

            expect:
            weakKey1 == weakKey2
        }
    
        def "hashCode of weakKey is system identity hashCode"() {
            Thing thing = new Thing("thing")
            WeakIdentityHashMap.WeakKey<Thing> weakKey = new WeakIdentityHashMap.WeakKey<>(thing)
    
            expect:
            weakKey.hashCode() == System.identityHashCode(thing)
        }
    
        class Thing {
            String name
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

        byte[] col3 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0xff};
    
        ImmutableSet<HashCode> hashCodes =
            ImmutableSet.of(
                SIP_WITH_KEY.hashBytes(col1),
                SIP_WITH_KEY.hashBytes(col2),
                SIP_WITH_KEY.hashBytes(col3));
        assertEquals(3, hashCodes.size());
      }
    
      public void testToString() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheService.java

        private static final HashCode NO_HASH = Hashing.signature(CachingResourceHasher.class.getName() + " : no hash");
        private final IndexedCache<HashCode, HashCode> indexedCache;
    
        public DefaultResourceSnapshotterCacheService(IndexedCache<HashCode, HashCode> indexedCache) {
            this.indexedCache = indexedCache;
        }
    
        @Nullable
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultBuildCacheKey.java

    import org.gradle.internal.hash.HashCode;
    
    public class DefaultBuildCacheKey implements BuildCacheKeyInternal {
        private final HashCode hashCode;
    
        public DefaultBuildCacheKey(HashCode hashCode) {
            this.hashCode = hashCode;
        }
    
        @Override
        public String getHashCode() {
            return hashCode.toString();
        }
    
        @Override
        public HashCode getHashCodeInternal() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/SimpleBuildCacheKey.java

    package org.gradle.caching.internal;
    
    import org.gradle.internal.hash.HashCode;
    
    public class SimpleBuildCacheKey implements BuildCacheKeyInternal {
        private final HashCode hashCode;
    
        public SimpleBuildCacheKey(HashCode hashCode) {
            this.hashCode = hashCode;
        }
    
        @Override
        public HashCode getHashCodeInternal() {
            return hashCode;
        }
    
        @Override
        public String getHashCode() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:58 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache/src/testFixtures/groovy/org/gradle/caching/internal/TestBuildCacheKey.groovy

    import org.gradle.internal.hash.HashCode
    import org.gradle.internal.hash.TestHashCodes
    
    class TestBuildCacheKey implements BuildCacheKeyInternal {
        private final HashCode hashCode
    
        TestBuildCacheKey(long hashCode) {
            this(TestHashCodes.hashCodeFrom(hashCode))
        }
    
        TestBuildCacheKey(HashCode hashCode) {
            this.hashCode = hashCode
        }
    
        @Override
        String getHashCode() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/AbiExtractingClasspathResourceHasher.java

                @Nullable
                @Override
                HashCode handle(RegularFileSnapshot fileSnapshot, IoFunction<RegularFileSnapshot, HashCode> function) throws IOException {
                    return function.apply(fileSnapshot);
                }
    
                @Nullable
                @Override
                HashCode handle(ZipEntryContent zipEntry, IoFunction<ZipEntryContent, HashCode> function) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java

            hash = hash * 31 + (plugin.isExtensions() ? 1 : 0);
    
            for (Dependency dependency : plugin.getDependencies()) {
                hash = hash * 31 + Objects.hashCode(dependency.getGroupId());
                hash = hash * 31 + Objects.hashCode(dependency.getArtifactId());
                hash = hash * 31 + Objects.hashCode(dependency.getVersion());
                hash = hash * 31 + Objects.hashCode(dependency.getType());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top