Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 160 for SUM (0.01 sec)

  1. android/guava/src/com/google/common/math/StatsAccumulator.java

      // methods of this class.
      private long count = 0;
      private double mean = 0.0; // any finite value will do, we only use it to multiply by zero for sum
      private double sumOfSquaresOfDeltas = 0.0;
      private double min = NaN; // any value will do
      private double max = NaN; // any value will do
    
      /** Adds the given value to the dataset. */
      public void add(double value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

      }
    
      public void testToImmutableMapMerging() {
        Collector<Entry<AnEnum, Integer>, ?, ImmutableMap<AnEnum, Integer>> collector =
            toImmutableEnumMap(Entry::getKey, Entry::getValue, Integer::sum);
        Equivalence<ImmutableMap<AnEnum, Integer>> equivalence =
            Equivalence.equals().<Entry<AnEnum, Integer>>pairwise().onResultOf(ImmutableMap::entrySet);
        CollectorTester.of(collector, equivalence)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. schema/naming.go

    	if ns.IdentifierMaxLength == 0 {
    		ns.IdentifierMaxLength = 64
    	}
    
    	if utf8.RuneCountInString(formattedName) > ns.IdentifierMaxLength {
    		h := sha1.New()
    		h.Write([]byte(formattedName))
    		bs := h.Sum(nil)
    
    		formattedName = formattedName[0:ns.IdentifierMaxLength-8] + hex.EncodeToString(bs)[:8]
    	}
    	return formattedName
    }
    
    var (
    	// https://github.com/golang/lint/blob/master/lint.go#L770
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/Stats.java

    import java.util.stream.DoubleStream;
    import java.util.stream.IntStream;
    import java.util.stream.LongStream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A bundle of statistical summary values -- sum, count, mean/average, min and max, and several
     * forms of variance -- that were computed from a single set of zero or more floating-point values.
     *
     * <p>There are two ways to obtain a {@code Stats} instance:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SmbCircuitBreaker.java

            }
    
            // Calculate moving average (simple approach)
            if (!responseTimeHistory.isEmpty()) {
                long sum = responseTimeHistory.stream().mapToLong(Long::longValue).sum();
                avgResponseTime.set(sum / responseTimeHistory.size());
    
                // Calculate 95th percentile
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

          expectAddFailure(multiset, entry);
        }
      }
    
      private static int totalSize(Iterable<? extends Entry<?>> entries) {
        int sum = 0;
        for (Entry<?> entry : entries) {
          sum += entry.getCount();
        }
        return sum;
      }
    
      private enum SubMultisetSpec {
        TAIL_CLOSED {
          @Override
          <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. cmd/object-api-deleteobject_test.go

    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    
    		for _, object := range testCase.objectToUploads {
    			md5Bytes := md5.Sum([]byte(object.content))
    			oi, err := obj.PutObject(context.Background(), testCase.bucketName, object.name, mustGetPutObjReader(t, strings.NewReader(object.content),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionAggregation.java

            regA(builder);
            return builder;
        }
    
        protected SumAggregationBuilder regSumA(String name, String field) {
            SumAggregationBuilder builder = AggregationBuilders.sum(name).field(field);
            regA(builder);
            return builder;
        }
    
        protected ExtendedStatsAggregationBuilder regExtendedStatsA(String name, String field) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

     * operations at random. Each thread keeps track of the per-key deltas that it's directly
     * responsible for; after all threads have completed, we sum the per-key deltas and compare to the
     * existing multiset values.
     *
     * @author mike nonemacher
     */
    
    @NullUnmarked
    public class ConcurrentHashMultisetBasherTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. cmd/metrics.go

    			nil, nil),
    		prometheus.GaugeValue,
    		float64(offlineDisks.Sum()),
    	)
    
    	// MinIO Total Disks per node
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "drives", "total"),
    			"Total number of drives for current MinIO server instance",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(totalDisks.Sum()),
    	)
    
    	for _, disk := range server.Disks {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top