Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 190 for lsum (0.08 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

      public void testHashCode() {
        int expectedHashCode = 0;
        for (Entry<K, V> entry : getSampleEntries()) {
          expectedHashCode += hash(entry);
        }
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries.",
            expectedHashCode,
            getMap().hashCode());
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. cmd/bitrot-whole.go

    // Returns whole-file bitrot reader.
    func newWholeBitrotReader(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, tillOffset int64, sum []byte) *wholeBitrotReader {
    	return &wholeBitrotReader{
    		disk:       disk,
    		volume:     volume,
    		filePath:   filePath,
    		verifier:   &BitrotVerifier{algo, sum},
    		tillOffset: tillOffset,
    		buf:        nil,
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. lib/hg/goreposum.py

    # the hashes of all the branch heads, so we can use a hash of
    # all those branch names and heads as a conservative snapshot
    # of the entire remote repo state, and use that as the tag sum.
    # Any change on the server then invalidates the tag sum,
    # even if it didn't have anything to do with tags, but at least
    # we will avoid re-cloning a server when there have been no
    # changes at all.
    #
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Nov 11 15:21:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. tests/.gitignore

    go.sum...
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 28 06:46:48 UTC 2020
    - 7 bytes
    - Viewed (0)
  5. internal/hash/crc.go

    // Modified for hash/crc64 by Klaus Post, 2024.
    func gf2MatrixTimes(mat []uint64, vec uint64) uint64 {
    	var sum uint64
    
    	for vec != 0 {
    		if vec&1 != 0 {
    			sum ^= mat[0]
    		}
    		vec >>= 1
    		mat = mat[1:]
    	}
    	return sum
    }
    
    func gf2MatrixSquare(square, mat []uint64) {
    	if len(square) != len(mat) {
    		panic("square matrix size mismatch")
    	}
    	for n := range mat {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. .gitattributes

    **/generated.pb.go linguist-generated=true
    **/generated.proto
    **/types_swagger_doc_generated.go linguist-generated=true
    api/openapi-spec/*.json linguist-generated=true
    api/openapi-spec/**/*.json linguist-generated=true
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Mon Oct 28 20:33:50 UTC 2024
    - 510 bytes
    - Viewed (0)
  7. tensorflow/c/c_api_function_test.cc

                 M({{"add1"}, {"add2"}}),
                 {{"feed1", "add1_0:0"},
                  {"feed2", "add1_0:1"},
                  {"add1_0:sum:0", "add2_0:0"},
                  {"feed3", "add2_0:1"},
                  {"add1_0:sum:0", "add1"},
                  {"add2_0:sum:0", "add2"}},
                 {});
    }
    
    TEST_F(CApiFunctionTest, FromSubsetOfOps) {
      /*
       *                  |  |  |
       *                  v  v  /
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 17 00:00:38 UTC 2025
    - 63.6K bytes
    - Viewed (1)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

      }
    
      public void testSum() {
        AtomicLongMap<Object> map = AtomicLongMap.create();
        long sum = 0;
        for (int i = 0; i < ITERATIONS; i++) {
          map.put(new Object(), i);
          sum += i;
        }
        assertEquals(ITERATIONS, map.size());
        assertEquals(sum, map.sum());
      }
    
      public void testEmpty() {
        AtomicLongMap<String> map = AtomicLongMap.create();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/LongAddable.java

    /**
     * Abstract interface for objects that can concurrently add longs.
     *
     * @author Louis Wasserman
     */
    interface LongAddable {
      void increment();
    
      void add(long x);
    
      long sum();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 816 bytes
    - Viewed (0)
  10. lib/fips140/README.md

    The file x.txt (for example, inprocess.txt, certified.txt)
    defines the meaning of the FIPS version alias x, listing
    the exact version to use.
    
    The zip files are created by cmd/go/internal/fips140/mkzip.go.
    The fips140.sum file lists checksums for the zip files.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Nov 20 20:28:34 UTC 2024
    - 416 bytes
    - Viewed (0)
Back to top