Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 278 for Doubles (0.05 sec)

  1. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsScheduledJobCA.java

        public void setAvailable_PercentileRanks(double[] values) {
            setAvailable_PercentileRanks(values, null);
        }
    
        public void setAvailable_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setAvailable_PercentileRanks("available", values, opLambda);
        }
    
        public void setAvailable_PercentileRanks(String name, double[] values,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

            return newDoubler(1, 2);
          }
        }.test();
      }
    
      public void testDoubler() {
        Iterable<Integer> doubled =
            new Iterable<Integer>() {
              @Override
              public Iterator<Integer> iterator() {
                return newDoubler(2, 32);
              }
            };
        assertThat(doubled).containsExactly(2, 4, 8, 16, 32).inOrder();
      }
    
      public void testSampleCode() {
        Iterable<Integer> actual =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            monitorTarget.append(buf, "shortKey", supplier);
            assertEquals("\"shortKey\":42", buf.toString());
        }
    
        // Test append method with double array
        public void test_append_doubleArray() {
            StringBuilder buf = new StringBuilder();
            double[] values = { 1.5, 2.3, 3.7 };
            Supplier<Object> supplier = () -> values;
    
            monitorTarget.append(buf, "arrayKey", supplier);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Defaults.java

     *
     * @author Ben Yu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Defaults {
      private Defaults() {}
    
      private static final Double DOUBLE_DEFAULT = 0d;
      private static final Float FLOAT_DEFAULT = 0f;
    
      /**
       * Returns the default value of {@code type} as defined by JLS --- {@code 0} for numbers, {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/MathPreconditions.java

        if (x.signum() < 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static double checkNonNegative(String role, double x) {
        if (!(x >= 0)) { // not x < 0, to work with NaN.
          throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");
        }
        return x;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

         * than lower ones.
         */
        return (int) Math.pow(a, 1.0 / concentration);
      }
    
      @AfterExperiment
      void tearDown() {
        double req = requests.get();
        double hit = req - misses.get();
    
        // Currently, this is going into /dev/null, but I'll fix that
        System.out.println("hit rate: " + hit / req);
      }
    
      // for proper distributions later:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/LongMath.java

        }
        /*
         * Let k be the true value of floor(sqrt(x)), so that
         *
         *            k * k <= x          <  (k + 1) * (k + 1)
         * (double) (k * k) <= (double) x <= (double) ((k + 1) * (k + 1))
         *          since casting to double is nondecreasing.
         *          Note that the right-hand inequality is no longer strict.
         * Math.sqrt(k * k) <= Math.sqrt(x) <= Math.sqrt((k + 1) * (k + 1))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsKeyMatchCA.java

        }
    
        public void setBoost_PercentileRanks(double[] values) {
            setBoost_PercentileRanks(values, null);
        }
    
        public void setBoost_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setBoost_PercentileRanks("boost", values, opLambda);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 61.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheStats.java

       * requestCount}, or {@code 1.0} when {@code requestCount == 0}. Note that {@code hitRate +
       * missRate =~ 1.0}.
       */
      public double hitRate() {
        long requestCount = requestCount();
        return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount;
      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have returned an uncached (newly
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

       * result is chosen from those possibilities uniformly at random.
       *
       * <p>Zero is treated as having log2 == 0.
       */
      static double randomDouble(int maxExponent) {
        double result = RANDOM_SOURCE.nextDouble();
        result = Math.scalb(result, RANDOM_SOURCE.nextInt(maxExponent + 1));
        return RANDOM_SOURCE.nextBoolean() ? result : -result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top