Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,145 for hasNet (0.15 sec)

  1. android/guava/src/com/google/common/hash/HashFunction.java

     *       cryptographic hashes.)
     *   <li><b>fast:</b> perhaps self-explanatory, but often the most important consideration.
     * </ul>
     *
     * <h3>Providing input to a hash function</h3>
     *
     * <p>The primary way to provide the data that your hash function should act on is via a {@link
     * Hasher}. Obtain a new hasher from the hash function using {@link #newHasher}, "push" the relevant
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/HashFunction.java

     *       cryptographic hashes.)
     *   <li><b>fast:</b> perhaps self-explanatory, but often the most important consideration.
     * </ul>
     *
     * <h3>Providing input to a hash function</h3>
     *
     * <p>The primary way to provide the data that your hash function should act on is via a {@link
     * Hasher}. Obtain a new hasher from the hash function using {@link #newHasher}, "push" the relevant
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HasherExtensions.java

        public static void putLongs(Hasher hasher, long[] array) {
            hasher.putInt(array.length);
            for (long l : array) {
                hasher.putLong(l);
            }
        }
    
        public static void putInts(Hasher hasher, int[] array) {
            hasher.putInt(array.length);
            for (int i : array) {
                hasher.putInt(i);
            }
        }
    
        public static void putShorts(Hasher hasher, short[] array) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/revived_types/asset.cc

    #include "tensorflow/core/platform/path.h"
    
    namespace tensorflow {
    
    Asset::Asset(ImmediateTensorHandlePtr handle)
        : TensorHandleConvertible(std::move(handle)) {}
    
    Status Asset::Create(ImmediateExecutionContext* ctx,
                         const std::string& saved_model_dir,
                         const std::string& asset_filename,
                         std::unique_ptr<Asset>* output) {
      std::string abs_path =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/revived_types/asset.h

    namespace tensorflow {
    
    class Asset : public TensorHandleConvertible {
     public:
      static Status Create(ImmediateExecutionContext* ctx,
                           const std::string& saved_model_dir,
                           const std::string& asset_filename,
                           std::unique_ptr<Asset>* output);
    
      // Asset is movable, but not copyable.
      Asset(Asset&& other) = default;
      Asset& operator=(Asset&& other) = default;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 18 21:29:39 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  6. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashingOutputStream.java

    /**
     * Output stream decorator that hashes data written to the stream.
     * Inspired by the Google Guava project.
     */
    public final class HashingOutputStream extends FilterOutputStream {
        private final PrimitiveHasher hasher;
    
        public HashingOutputStream(HashFunction hashFunction, OutputStream out) {
            super(checkNotNull(out));
            this.hasher = checkNotNull(hashFunction.newPrimitiveHasher());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/hash/maphash/smhasher_test.go

    	r.Read(b) // can't fail
    }
    
    // A hashSet measures the frequency of hash collisions.
    type hashSet struct {
    	list []uint64 // list of hashes added
    }
    
    func newHashSet() *hashSet {
    	return &hashSet{list: make([]uint64, 0, 1024)}
    }
    func (s *hashSet) add(h uint64) {
    	s.list = append(s.list, h)
    }
    func (s *hashSet) addS(x string) {
    	s.add(stringHash(x))
    }
    func (s *hashSet) addB(x []byte) {
    	s.add(bytesHash(x))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/FallbackHandlingResourceHasher.java

        public FallbackHandlingResourceHasher(ResourceHasher delegate) {
            this.delegate = delegate;
        }
    
        @Override
        public void appendConfigurationToHasher(Hasher hasher) {
            delegate.appendConfigurationToHasher(hasher);
            hasher.putString(this.getClass().getName());
        }
    
        @Nullable
        @Override
        public HashCode hash(RegularFileSnapshotContext snapshotContext) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/fingerprint/classpath/impl/ClasspathFingerprintingStrategy.java

            this.cacheService = cacheService;
            this.stringInterner = stringInterner;
            this.zipHasher = zipHasher;
    
            Hasher hasher = Hashing.newHasher();
            zipHasher.appendConfigurationToHasher(hasher);
            this.zipHasherConfigurationHash = hasher.hash();
        }
    
        public static ClasspathFingerprintingStrategy runtimeClasspath(
            ResourceFilter classpathResourceFilter,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/HashingInputStream.java

     *
     * @author Qian Huang
     * @since 16.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public final class HashingInputStream extends FilterInputStream {
      private final Hasher hasher;
    
      /**
       * Creates an input stream that hashes using the given {@link HashFunction} and delegates all data
       * read from it to the underlying {@link InputStream}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 3K bytes
    - Viewed (0)
Back to top