Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 178 for lsum (0.02 seconds)

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

        int expectedHashCode = 0;
        for (E element : getSampleElements()) {
          expectedHashCode += (element == null) ? 0 : element.hashCode();
        }
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements.",
            expectedHashCode,
            getSet().hashCode());
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. 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)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (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.
    #
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Nov 11 15:21:02 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. 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  /
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 63.6K bytes
    - Click Count (1)
  5. .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
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Mon Oct 28 20:33:50 GMT 2024
    - 510 bytes
    - Click Count (0)
  6. tests/.gitignore

    go.sum...
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 28 06:46:48 GMT 2020
    - 7 bytes
    - Click Count (0)
  7. cmd/site-replication.go

    			}
    			// no mismatch
    			for _, s := range slc {
    				sum := info.StatsSummary[s.DeploymentID]
    				if !olockCfgMismatch && olockCfgCount == numSites {
    					sum.ReplicatedLockConfig++
    				}
    				if !versionCfgMismatch && versionCfgCount == numSites {
    					sum.ReplicatedVersioningConfig++
    				}
    				if !sseCfgMismatch && sseCfgCount == numSites {
    					sum.ReplicatedSSEConfig++
    				}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (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();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. api/go1.25.txt

    pkg hash, type Cloner interface { BlockSize, Clone, Reset, Size, Sum, Write } #69521
    pkg hash, type Cloner interface, BlockSize() int #69521
    pkg hash, type Cloner interface, Clone() (Cloner, error) #69521
    pkg hash, type Cloner interface, Reset() #69521
    pkg hash, type Cloner interface, Size() int #69521
    pkg hash, type Cloner interface, Sum([]uint8) []uint8 #69521
    pkg hash, type Cloner interface, Write([]uint8) (int, error) #69521
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Jun 02 16:09:57 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. 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();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 816 bytes
    - Click Count (0)
Back to Top