Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 185 for wyhash (0.18 sec)

  1. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        for (int i : keys) {
          cache.getUnchecked(i);
        }
      }
    
      private Object objectWithHash(final int hash) {
        return new Object() {
          @Override
          public int hashCode() {
            return hash;
          }
        };
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/resource_operation_safety_analysis.cc

    #include "tensorflow/compiler/tf2xla/resource_operation_table.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/graph/algorithm.h"
    #include "tensorflow/core/graph/tensor_id.h"
    #include "tensorflow/core/lib/hash/hash.h"
    
    namespace tensorflow {
    namespace {
    // Maps `n` to the XlaResourceOpKind corresponding to its operation.  If `n` is
    // not a resource operation recognized by XLA then sets `out_resource_op_kind`
    // to nullopt.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/ipset/ipset.go

    	// HashFamily specifies the protocol family of the IP addresses to be stored in the set.
    	// The default is inet, i.e IPv4.  If users want to use IPv6, they should specify inet6.
    	HashFamily string
    	// HashSize specifies the hash table size of ipset.
    	HashSize int
    	// MaxElem specifies the max element number of ipset.
    	MaxElem int
    	// PortRange specifies the port range of bitmap:port type ipset.
    	PortRange string
    	// comment message for ipset
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/coderepo_test.go

    						t.Fatalf("os.CreateTemp: %v", err)
    					}
    					zipfile := f.Name()
    					defer func() {
    						f.Close()
    						os.Remove(zipfile)
    					}()
    
    					var w io.Writer
    					var h hash.Hash
    					if needHash {
    						h = sha256.New()
    						w = io.MultiWriter(f, h)
    					} else {
    						w = f
    					}
    					err = repo.Zip(ctx, w, tt.version)
    					f.Close()
    					if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 20:10:14 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

    import com.google.common.base.Charsets;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.hash.Hashing;
    import com.google.common.primitives.UnsignedBytes;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Arrays;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. src/hash/crc64/crc64_test.go

    	"encoding"
    	"io"
    	"testing"
    )
    
    type test struct {
    	outISO        uint64
    	outECMA       uint64
    	in            string
    	halfStateISO  string // ISO marshaled hash state after first half of in written, used by TestGoldenMarshal
    	halfStateECMA string // ECMA marshaled hash state after first half of in written, used by TestGoldenMarshal
    }
    
    var golden = []test{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 25 06:32:12 UTC 2018
    - 9.9K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

            def attributes = Files.readAttributes(regularFile.toPath(), BasicFileAttributes)
            new RegularFileSnapshot(
                regularFile.absolutePath,
                regularFile.name,
                TestFiles.fileHasher().hash(regularFile),
                DefaultFileMetadata.file(attributes.lastModifiedTime().toMillis(), attributes.size(), AccessType.DIRECT)
            )
        }
    
        static RegularFileSnapshot snapshotSymlinkedFile(File regularFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/device_executable_persistor.h

      // `persistent_cache_directory_` is empty) or if the serialized entry is not
      // found on disk. Otherwise, loads and returns the serialized executable
      // (or returns a status).
      // TODO(b/255826209): Take in Signature instead of hash and string once cache
      // is refactored.
      std::optional<StatusOr<std::unique_ptr<ExecutableType>>> TryToLoadExecutable(
          uint64 signature_hash, const std::string& signature_str,
          const XlaCompiler::Options& options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multiset.java

      boolean equals(@CheckForNull Object object);
    
      /**
       * Returns the hash code for this multiset. This is defined as the sum of
       *
       * <pre>{@code
       * ((element == null) ? 0 : element.hashCode()) ^ count(element)
       * }</pre>
       *
       * <p>over all distinct elements in the multiset. It follows that a multiset and its entry set
       * always have the same hash code.
       */
      @Override
      int hashCode();
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  10. src/runtime/map_test.go

    	}
    }
    
    // nan is a good test because nan != nan, and nan has
    // a randomized hash value.
    func TestMapAssignmentNan(t *testing.T) {
    	m := make(map[float64]int, 0)
    	nan := math.NaN()
    
    	// Test assignment.
    	m[nan] = 1
    	m[nan] = 2
    	m[nan] = 4
    	testMapNan(t, m)
    }
    
    // nan is a good test because nan != nan, and nan has
    // a randomized hash value.
    func TestMapOperatorAssignmentNan(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top