Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 206 for SUM (0.01 sec)

  1. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      }
    
      public void testSum() {
        assertThat(emptyAccumulator.sum()).isEqualTo(0.0);
        assertThat(emptyAccumulatorByAddAllEmptyIterable.sum()).isEqualTo(0.0);
        assertThat(emptyAccumulatorByAddAllEmptyStats.sum()).isEqualTo(0.0);
        assertThat(oneValueAccumulator.sum()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
        assertThat(oneValueAccumulatorByAddAllEmptyStats.sum()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_distributed_test.cc

      ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_DeleteTensorHandle(retvals[0]);
      float sum = 0;
      EXPECT_EQ(sizeof(sum), TF_TensorByteSize(t));
      memcpy(&sum, TF_TensorData(t), TF_TensorByteSize(t));
      TF_DeleteTensor(t);
      EXPECT_EQ(sum, 6.0);
    
      TFE_DeleteTensorHandle(h0);
      TFE_DeleteTensorHandle(h1);
      TFE_DeleteTensorHandle(h2);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            for (int i = 0; i < elements.length; i++) {
              // add to either; sum should contain all
              if (i % 2 == 0) {
                multiset1.add(elements[i]);
              } else {
                multiset2.add(elements[i]);
              }
            }
            return sum(multiset1, multiset2);
          }
        };
      }
    
      private static TestStringMultisetGenerator differenceGenerator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "sum by (server) (minio_cluster_replication_received_bytes{job=\"$scrape_jobs\"})",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{server}}",
              "refId": "A"
            }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:15:39 UTC 2024
    - 71.1K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/minio-dashboard.json

              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "topk(1, sum(minio_cluster_capacity_usable_total_bytes{job=~\"$scrape_jobs\"}) by (instance)) - topk(1, sum(minio_cluster_capacity_usable_free_bytes{job=~\"$scrape_jobs\"}) by (instance))",
              "format": "time_series",
              "instant": false,
              "interval": "1m",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 14:51:03 UTC 2024
    - 93K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LongAdderTest.java

      public void testOverflows() {
        LongAdder longAdder = new LongAdder();
        longAdder.add(Long.MAX_VALUE);
        assertThat(longAdder.sum()).isEqualTo(Long.MAX_VALUE);
        longAdder.add(1);
        // silently overflows; is this a bug?
        // See https://github.com/google/guava/issues/3503
        assertThat(longAdder.sum()).isEqualTo(-9223372036854775808L);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 04:11:29 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  8. internal/hash/checksum.go

    	_, err := hasher.Write(content)
    	if err != nil {
    		return err
    	}
    	sum := hasher.Sum(nil)
    	if c.WantParts > 0 && c.WantParts != parts {
    		return ChecksumMismatch{
    			Want: fmt.Sprintf("%s-%d", c.Encoded, c.WantParts),
    			Got:  fmt.Sprintf("%s-%d", base64.StdEncoding.EncodeToString(sum), parts),
    		}
    	}
    
    	if !bytes.Equal(sum, c.Raw) {
    		return ChecksumMismatch{
    			Want: c.Encoded,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LongAdderTest.java

      public void testOverflows() {
        LongAdder longAdder = new LongAdder();
        longAdder.add(Long.MAX_VALUE);
        assertThat(longAdder.sum()).isEqualTo(Long.MAX_VALUE);
        longAdder.add(1);
        // silently overflows; is this a bug?
        // See https://github.com/google/guava/issues/3503
        assertThat(longAdder.sum()).isEqualTo(-9223372036854775808L);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 04:11:29 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "sum by (bucket,range) (minio_bucket_objects_size_distribution{job=\"$scrape_jobs\"})",
              "format": "time_series",
              "instant": false,
              "interval": "",
              "intervalFactor": 1,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 11:11:51 UTC 2024
    - 101.8K bytes
    - Viewed (0)
Back to top