Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,861 for hashv (0.05 sec)

  1. proguard/hash.pro

    -dontwarn sun.misc.Unsafe
    
    # Striped64 appears to make some assumptions about object layout that
    # really might not be safe. This should be investigated.
    -keepclassmembers class com.google.common.hash.Striped64 {
      *** base;
      *** busy;
    }
    -keepclassmembers class com.google.common.hash.Striped64$Cell {
      <fields>;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 351 bytes
    - Viewed (0)
  2. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/ZipHasherTest.groovy

            def jarfile2 = tmpDir.file("test2.jar")
            createJarWithAttributes(jarfile2, ["Implementation-Version": "1.0.1"])
    
            def hash1 = zipHasher.hash(snapshotContext(jarfile))
            def hash2 = zipHasher.hash(snapshotContext(jarfile2))
    
            expect:
            hash1 != hash2
        }
    
        def "manifest attributes are ignored"() {
            given:
            def jarfile = tmpDir.file("test.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashCodeTest.groovy

        }
    
        def "#a == #b: #equals"() {
            def hashA = HashCode.fromString(a)
            def hashB = HashCode.fromString(b)
    
            expect:
            (hashA == hashB) == equals
            (hashB == hashA) == equals
    
            where:
            a                                  | b                                  | equals
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

          long hash1 = lowerEight(bytes);
          long hash2 = upperEight(bytes);
    
          boolean bitsChanged = false;
          long combinedHash = hash1;
          for (int i = 0; i < numHashFunctions; i++) {
            // Make the combined hash positive and indexable
            bitsChanged |= bits.set((combinedHash & Long.MAX_VALUE) % bitSize);
            combinedHash += hash2;
          }
          return bitsChanged;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/BloomFilterStrategies.java

          long hash1 = lowerEight(bytes);
          long hash2 = upperEight(bytes);
    
          boolean bitsChanged = false;
          long combinedHash = hash1;
          for (int i = 0; i < numHashFunctions; i++) {
            // Make the combined hash positive and indexable
            bitsChanged |= bits.set((combinedHash & Long.MAX_VALUE) % bitSize);
            combinedHash += hash2;
          }
          return bitsChanged;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

          }
        } else {
          assertEquals(expectedHashCode.asLong.longValue(), hash.asLong());
        }
        assertEquals(expectedHashCode.toString, hash.toString());
        assertSideEffectFree(hash);
        assertReadableBytes(hash);
      }
    
      private static void assertSideEffectFree(HashCode hash) {
        byte[] original = hash.asBytes();
        byte[] mutated = hash.asBytes();
        mutated[0]++;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashTestUtils.java

            int key2 = key1 ^ (1 << i);
            // get hashes
            int hash1 = function.hashInt(key1).asInt();
            int hash2 = function.hashInt(key2).asInt();
            // test whether the hash values have same output bits
            same |= ~(hash1 ^ hash2);
            // test whether the hash values have different output bits
            diff |= (hash1 ^ hash2);
    
            count++;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/common/targets.h

        return !(*this == other);
      }
    
      struct inference_device_type_hash {
        size_t operator()(const InferenceDeviceType& p) const {
          auto hash1 = std::hash<std::string>{}(p.hardware);
          auto hash2 = std::hash<InferenceType>{}(p.inference_type);
          return hash1 ^ hash2;
        }
      };
    };
    
    // Get InferenceDeviceType attribute from the operation if available.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/staticpod/utils.go

    	})
    	return usersAndGroups, err
    }
    
    // DeepHashObject writes specified object to hash using the spew library
    // which follows pointers and prints actual values of the nested objects
    // ensuring the hash does not change when a pointer changes.
    // Copied from k8s.io/kubernetes/pkg/util/hash/hash.go#DeepHashObject
    func DeepHashObject(hasher hash.Hash, objectToWrite interface{}) {
    	hasher.Reset()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/runtime/map_fast32.go

    		fatal("concurrent map read and map write")
    	}
    	var b *bmap
    	if h.B == 0 {
    		// One-bucket table. No need to hash.
    		b = (*bmap)(h.buckets)
    	} else {
    		hash := t.Hasher(noescape(unsafe.Pointer(&key)), uintptr(h.hash0))
    		m := bucketMask(h.B)
    		b = (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
    		if c := h.oldbuckets; c != nil {
    			if !h.sameSizeGrow() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top