- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,452 for hash_code (0.63 sec)
-
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) -
tensorflow/compiler/jit/xla_launch_util_gpu_test.cc
handle.set_device(device_->name()); handle.set_container(rm->default_container()); handle.set_name(name); TypeIndex type_index = TypeIndex::Make<Var>(); handle.set_hash_code(type_index.hash_code()); handle.set_maybe_type_name(type_index.name()); Tensor* input = new Tensor(host_allocator_, DT_RESOURCE, TensorShape({})); input->scalar<ResourceHandle>()() = handle; tensors_.push_back(input);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 10K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util_test.cc
handle.set_device(device_->name()); handle.set_container(rm->default_container()); handle.set_name(name); TypeIndex type_index = TypeIndex::Make<Var>(); handle.set_hash_code(type_index.hash_code()); handle.set_maybe_type_name(type_index.name()); Tensor* input = new Tensor(host_allocator_, DT_RESOURCE, TensorShape({})); input->scalar<ResourceHandle>()() = handle; tensors_.push_back(input);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 28.8K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashCode.java
* This implementation also requires GC to track two separate objects (the {@code HashCode} object and its {@code byte[]}). * <p> * Because Gradle uses a lot of MD5 hashes, for 128-bit hashes we have a more efficient implementation. * {@link HashCode128} uses two longs to store the bits of the hash, and does not need to cache the {@link #hashCode()} either.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 14 19:25:07 UTC 2023 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
bytesB[4] = (byte) 0xef; HashCode hashCodeA = HashCode.fromBytes(bytesA); HashCode hashCodeB = HashCode.fromBytes(bytesB); // They aren't equal... assertFalse(hashCodeA.equals(hashCodeB)); // But they still have the same Object#hashCode() value. // Technically not a violation of the equals/hashCode contract, but...? assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
HashCode hashcode1 = hashFunction.hashInt(value); HashCode hashcode2 = hashFunction.hashInt(value); Assert.assertEquals(hashcode1, hashcode2); // idempotent Assert.assertEquals(hashFunction.bits(), hashcode1.bits()); Assert.assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8); hashcodes.add(hashcode1); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 25.3K bytes - Viewed (0) -
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) -
guava/src/com/google/common/hash/Hashing.java
for (HashCode hashCode : hashCodes) { byte[] nextBytes = hashCode.asBytes(); checkArgument( nextBytes.length == resultBytes.length, "All hashcodes must have the same bit length."); for (int i = 0; i < nextBytes.length; i++) { resultBytes[i] = (byte) (resultBytes[i] * 37 ^ nextBytes[i]); } } return HashCode.fromBytesNoCopy(resultBytes); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 09 00:37:15 UTC 2024 - 32.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
for (HashCode hashCode : hashCodes) { byte[] nextBytes = hashCode.asBytes(); checkArgument( nextBytes.length == resultBytes.length, "All hashcodes must have the same bit length."); for (int i = 0; i < nextBytes.length; i++) { resultBytes[i] = (byte) (resultBytes[i] * 37 ^ nextBytes[i]); } } return HashCode.fromBytesNoCopy(resultBytes); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 09 00:37:15 UTC 2024 - 29.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/WeakIdentityHashMapTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4.5K bytes - Viewed (0)