Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 348 for Doubles (0.09 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsElevateWordCA.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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsRelatedContentCA.java

        public void setCreatedTime_PercentileRanks(double[] values) {
            setCreatedTime_PercentileRanks(values, null);
        }
    
        public void setCreatedTime_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setCreatedTime_PercentileRanks("createdTime", values, opLambda);
        }
    
        public void setCreatedTime_PercentileRanks(String name, double[] values,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 55K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     * MutableValueGraph<String, Double> graph =
     *     ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
     * graph.putEdgeValue("San Francisco", "San Francisco", 0.0);
     * graph.putEdgeValue("San Jose", "San Jose", 0.0);
     * graph.putEdgeValue("San Francisco", "San Jose", 48.4);
     *
     * // Building an immutable value graph
     * ImmutableValueGraph<String, Double> immutableGraph =
     *     ValueGraphBuilder.undirected()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/RateLimiter.java

      public static RateLimiter create(double permitsPerSecond, long warmupPeriod, TimeUnit unit) {
        checkArgument(warmupPeriod >= 0, "warmupPeriod must not be negative: %s", warmupPeriod);
        return create(
            permitsPerSecond, warmupPeriod, unit, 3.0, SleepingStopwatch.createFromSystemTimer());
      }
    
      @VisibleForTesting
      static RateLimiter create(
          double permitsPerSecond,
          long warmupPeriod,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractHasher.java

      @CanIgnoreReturnValue
      public final Hasher putBoolean(boolean b) {
        return putByte(b ? (byte) 1 : (byte) 0);
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putDouble(double d) {
        return putLong(Double.doubleToRawLongBits(d));
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putFloat(float f) {
        return putInt(Float.floatToRawIntBits(f));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

      private final SpecialRandom random;
      private final double hitRate;
      private final int size;
    
      private final Set<Element> valuesInSet;
      private final Element[] queries;
    
      CollectionBenchmarkSampleData(int size) {
        this(true, new SpecialRandom(), 1.0, size);
      }
    
      CollectionBenchmarkSampleData(
          boolean isUserTypeFast, SpecialRandom random, double hitRate, int size) {
        this.isUserTypeFast = isUserTypeFast;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsAccessTokenCA.java

        public void setCreatedTime_PercentileRanks(double[] values) {
            setCreatedTime_PercentileRanks(values, null);
        }
    
        public void setCreatedTime_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setCreatedTime_PercentileRanks("createdTime", values, opLambda);
        }
    
        public void setCreatedTime_PercentileRanks(String name, double[] values,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 59.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsJobLogCA.java

        }
    
        public void setEndTime_PercentileRanks(double[] values) {
            setEndTime_PercentileRanks(values, null);
        }
    
        public void setEndTime_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setEndTime_PercentileRanks("endTime", values, opLambda);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
Back to top