Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 442 for doFile (0.38 sec)

  1. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        Random random = new Random();
        int warmupPermits = 10;
        double[] coldFactorsToTest = {2.0, 3.0, 10.0};
        double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1};
        for (int trial = 0; trial < 100; trial++) {
          for (double coldFactor : coldFactorsToTest) {
            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        in.put(Number.class, 0);
        in.put(Double.class, Math.PI);
        ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in);
        assertEquals(2, map.size());
    
        Number zero = map.getInstance(Number.class);
        assertEquals(0, zero);
    
        Double pi = map.getInstance(Double.class);
        assertThat(pi).isEqualTo(Math.PI);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/cbean/cq/bs/BsUserCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setMobile_Regexp(String mobile) {
            setMobile_Regexp(mobile, null);
        }
    
        public void setMobile_Regexp(String mobile, ConditionOptionCall<RegexpQueryBuilder> opLambda) {
            RegexpQueryBuilder builder = regRegexpQ("mobile", mobile);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 326.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            // Test with special numeric values
            OptionalEntity<Double> nanOpt = OptionalUtil.ofNullable(Double.NaN);
            assertTrue(nanOpt.isPresent());
            assertTrue(Double.isNaN(nanOpt.get()));
    
            OptionalEntity<Double> infinityOpt = OptionalUtil.ofNullable(Double.POSITIVE_INFINITY);
            assertTrue(infinityOpt.isPresent());
            assertTrue(Double.isInfinite(infinityOpt.get()));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        // For datasets of many double values created from an iterable, we test many combinations of
        // finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
          accumulator.addAll(values.asIterable());
          for (double value : values.asIterable()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        /**
         * Returns a new array with the specified double value appended to the end of the double array.
         *
         * @param array
         *            the array. Must not be {@literal null}
         * @param value
         *            the value to add
         * @return a new array with the value appended
         */
        public static double[] add(final double[] array, final double value) {
            assertArgumentNotNull("array", array);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/Encdec.java

        /**
         * Decodes a double value from little-endian byte order.
         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @return the decoded double value
         */
        public static double dec_doublele(final byte[] src, final int si) {
            return Double.longBitsToDouble(dec_uint64le(src, si));
        }
    
        /**
         * Decodes a double value from big-endian byte order.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

        return Float.intBitsToFloat(readInt());
      }
    
      /**
       * Reads a {@code double} as specified by {@link DataInputStream#readDouble()}, except using
       * little-endian byte order.
       *
       * @return the next eight bytes of the input stream, interpreted as a {@code double} in
       *     little-endian byte order
       * @throws IOException if an I/O error occurs
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ComparisonChain.java

       */
      public abstract ComparisonChain compare(float left, float right);
    
      /**
       * Compares two {@code double} values as specified by {@link Double#compare}, <i>if</i> the result
       * of this comparison chain has not already been determined.
       */
      public abstract ComparisonChain compare(double left, double right);
    
      /**
       * Discouraged synonym for {@link #compareFalseFirst}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue());
            assertEquals(Double.parseDouble(expected), DocumentUtil.getValue(doc, "key1", Double.class).doubleValue());
    
            assertNull(DocumentUtil.getValue(doc, "key2", String.class));
        }
    
        public void test_strings() {
            Map<String, Object> doc = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top