Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for max (0.01 sec)

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

          }
          double max = accumulator.max();
          double maxByAddAllStats = accumulatorByAddAllStats.max();
          if (values.hasAnyNaN()) {
            assertWithMessage("max of " + values).that(max).isNaN();
            assertWithMessage("max by addAll(Stats) of " + values).that(maxByAddAllStats).isNaN();
          } else if (values.hasAnyPositiveInfinity()) {
            assertWithMessage("max of " + values).that(max).isPositiveInfinity();
    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. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        assertThat(min(1, 2)).isEqualTo(1);
        assertThat(min(2, 1)).isEqualTo(1);
        assertThat(max(1, 2)).isEqualTo(2);
        assertThat(max(2, 1)).isEqualTo(2);
      }
    
      public void testMinMaxNatural_equalInstances() {
        Foo a = new Foo(1);
        Foo b = new Foo(1);
        assertThat(min(a, b)).isSameInstanceAs(a);
        assertThat(max(a, b)).isSameInstanceAs(a);
      }
    
      public void testMinMaxComparator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/StatsTest.java

          } else if (values.hasAnyPositiveInfinity()) {
            assertWithMessage("max of " + values).that(max).isPositiveInfinity();
          } else {
            assertWithMessage("max of " + values).that(max).isEqualTo(MANY_VALUES_MAX);
          }
        }
        assertThat(MANY_VALUES_STATS_SNAPSHOT.max()).isEqualTo(MANY_VALUES_MAX);
        assertThat(INTEGER_MANY_VALUES_STATS_VARARGS.max()).isEqualTo(INTEGER_MANY_VALUES_MAX);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. src/main/resources/fess_config.properties

    page.file.config.max.fetch.size=100
    page.duplicate.host.max.fetch.size=1000
    page.failure.url.max.fetch.size=1000
    page.favorite.log.max.fetch.size=100
    page.file.auth.max.fetch.size=100
    page.web.auth.max.fetch.size=100
    page.path.mapping.max.fetch.size=1000
    page.request.header.max.fetch.size=1000
    page.scheduled.job.max.fetch.size=100
    page.elevate.word.max.fetch.size=1000
    page.bad.word.max.fetch.size=1000
    page.dictionary.max.fetch.size=1000
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. cmd/bucket-stats.go

    		tot := v[Total]
    		lavg += v[Large].Avg
    		lcurr += v[Large].Curr
    		savg += v[Small].Avg
    		scurr += v[Small].Curr
    		totpeak = math.Max(math.Max(tot.Peak, totpeak), tot.Curr)
    		lpeak = math.Max(math.Max(v[Large].Peak, lpeak), v[Large].Curr)
    		speak = math.Max(math.Max(v[Small].Peak, speak), v[Small].Curr)
    		if lpeak > 0 || speak > 0 {
    			count++
    		}
    	}
    	if count > 0 {
    		lrg := XferStats{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

          }
        }
      }
    
      /** getAndAccumulate with max stores max of given value to current, and returns previous value */
      public void testGetAndAccumulateWithMax() {
        for (double x : VALUES) {
          for (double y : VALUES) {
            AtomicDouble a = new AtomicDouble(x);
            double z = a.getAndAccumulate(y, Double::max);
            double expectedMax = max(x, y);
            assertBitEquals(x, z);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          }
          double max = accumulator.max();
          double maxByAddAllStats = accumulatorByAddAllStats.max();
          if (values.hasAnyNaN()) {
            assertWithMessage("max of " + values).that(max).isNaN();
            assertWithMessage("max by addAll(Stats) of " + values).that(maxByAddAllStats).isNaN();
          } else if (values.hasAnyPositiveInfinity()) {
            assertWithMessage("max of " + values).that(max).isPositiveInfinity();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/OrderingTest.java

          assertEquals(min, ordering.min(min, max));
          assertEquals(min, ordering.min(max, min));
    
          assertEquals(max, ordering.max(shuffledList));
          assertEquals(max, ordering.max(shuffledList.iterator()));
          assertEquals(max, ordering.max(first, second, third, rest));
          assertEquals(max, ordering.max(min, max));
          assertEquals(max, ordering.max(max, min));
        }
    
        void testBinarySearch() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/OrderingTest.java

          assertEquals(min, ordering.min(min, max));
          assertEquals(min, ordering.min(max, min));
    
          assertEquals(max, ordering.max(shuffledList));
          assertEquals(max, ordering.max(shuffledList.iterator()));
          assertEquals(max, ordering.max(first, second, third, rest));
          assertEquals(max, ordering.max(min, max));
          assertEquals(max, ordering.max(max, min));
        }
    
        void testBinarySearch() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

       * @since 21.0
       */
      public static char constrainToRange(char value, char min, char max) {
        checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max);
        return value < min ? min : value < max ? value : max;
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top