Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 390 for Double (0.04 sec)

  1. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    return (T) value;
                }
                return (T) Integer.valueOf(value.toString());
            }
            if (clazz.isAssignableFrom(Double.class)) {
                if (value instanceof Double) {
                    return (T) value;
                }
                return (T) Double.valueOf(value.toString());
            }
            if (clazz.isAssignableFrom(Float.class)) {
                if (value instanceof Float) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/resources/suggest_indices/suggest/mappings-default.json

        "roles": {
          "type": "keyword"
        },
        "languages": {
          "type": "keyword"
        },
        "score": {
          "type": "double"
        },
        "tags": {
          "type": "keyword"
        },
        "text": {
          "type": "keyword"
        },
        "userBoost": {
          "type": "double"
        }
      }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jan 06 03:01:29 UTC 2017
    - 760 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

      public void testFlatMapToDouble_nullStream() {
        SpliteratorTester.ofDouble(
                () ->
                    CollectSpliterators.flatMapToDouble(
                        Arrays.spliterator(new Double[] {1.0, 0.0, 1.0, 2.0, 3.0}),
                        (Double i) -> i == 0.0 ? null : DoubleStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1.0, 1.0, 2.0, 3.0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top