Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 160 for SUM (0.01 sec)

  1. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

        Multiset<String> ms2 = HashMultiset.create(asList("b", "c"));
        assertThat(sum(ms1, ms2)).containsExactly("a", "a", "b", "b", "c");
      }
    
      public void testSumEmptyNonempty() {
        Multiset<String> ms1 = HashMultiset.create();
        Multiset<String> ms2 = HashMultiset.create(asList("a", "b", "a"));
        assertThat(sum(ms1, ms2)).containsExactly("a", "b", "a");
      }
    
      public void testSumNonemptyEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. 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)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. 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++
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  4. tests/.gitignore

    go.sum...
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 28 06:46:48 UTC 2020
    - 7 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        }
      }
    
      /** getAndAccumulate with sum adds given value to current, and returns previous value */
      public void testGetAndAccumulateWithSum() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          for (double x : VALUES) {
            for (double y : VALUES) {
              aa.set(i, x);
              double z = aa.getAndAccumulate(i, y, Double::sum);
              assertBitEquals(x, z);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. cmd/object-lambda-handlers_test.go

    			req.Form = url.Values{"lambdaArn": []string{lambdaARN}}
    			req.Header.Set("Host", "localhost")
    			req.Header.Set("X-Amz-Date", time.Now().UTC().Format("20060102T150405Z"))
    			sum := sha256.Sum256(body)
    			req.Header.Set("X-Amz-Content-Sha256", hex.EncodeToString(sum[:]))
    			req = signer.SignV4(*req, credentials.AccessKey, credentials.SecretKey, "", "us-east-1")
    
    			rec := httptest.NewRecorder()
    			api := objectAPIHandlers{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. .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 Sep 05 09:05:11 UTC 2025
    - Last Modified: Mon Oct 28 20:33:50 UTC 2024
    - 510 bytes
    - Viewed (0)
  9. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LongAddable.java

    /**
     * Abstract interface for objects that can concurrently add longs.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    interface LongAddable {
      void increment();
    
      void add(long x);
    
      long sum();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 885 bytes
    - Viewed (0)
Back to top