Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 736 for hash_code (0.46 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileCollectionFingerprintSerializer.java

            }
            ImmutableMultimap<String, HashCode> rootHashes = readRootHashes(decoder);
            HashCode strategyConfigurationHash = hashCodeSerializer.read(decoder);
            return new SerializableFileCollectionFingerprint(fingerprints, rootHashes, strategyConfigurationHash);
        }
    
        private ImmutableMultimap<String, HashCode> readRootHashes(Decoder decoder) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-base/src/main/java/org/gradle/caching/internal/origin/OriginMetadata.java

                return false;
            }
            return executionTime.equals(that.executionTime);
        }
    
        @Override
        public int hashCode() {
            int result = buildInvocationId.hashCode();
            result = 31 * result + buildCacheKey.hashCode();
            result = 31 * result + executionTime.hashCode();
            return result;
        }
    
        @Override
        public String toString() {
            return "OriginMetadata{"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtEffects.kt

        public val occurrencesRange: EventOccurrencesRange get() = withValidityAssertion { backingOccurrencesRange }
    
        override fun hashCode(): Int = Objects.hashCode(backingValueParameterReference, backingOccurrencesRange)
        override fun equals(other: Any?): Boolean {
            return this === other ||
                    other is KaContractCallsInPlaceContractEffectDeclaration &&
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. pilot/pkg/model/typed_xds_cache_test.go

    		ConfigKey{Kind: kind.DestinationRule, Name: "name", Namespace: "namespace"}.HashCode(): sets.New(firstEntry.Key()),
    		ConfigKey{Kind: kind.Gateway, Name: "name", Namespace: "namespace"}.HashCode():         sets.New(firstEntry.Key()),
    		ConfigKey{Kind: kind.EnvoyFilter, Name: "name", Namespace: "namespace"}.HashCode():     sets.New(secondEntry.Key()),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 29 20:35:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top