Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 281 for doubles (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

     *
     * @author Jesse Wilson
     */
    @NullUnmarked
    public class ReentrantEventsTest extends TestCase {
    
      static final String FIRST = "one";
      static final Double SECOND = 2.0d;
    
      final EventBus bus = new EventBus();
    
      public void testNoReentrantEvents() {
        ReentrantEventsHater hater = new ReentrantEventsHater();
        bus.register(hater);
    
        bus.post(FIRST);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. 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:
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

      private static final String S2 = "44 one million";
      private static final String S3 = "Lowly laundry lefties";
      private static final String S4 = "89273487U#*&#";
      private static final Double D0 = 9.234d;
      private static final Double D1 = -1.2e55;
    
      @Benchmark
      int hashString_2(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(S0, S1);
        }
        return dummy;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  4. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. 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) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            "int" to "Int",
            "java.lang.Long" to "Long",
            "long" to "Long",
            "java.lang.Float" to "Float",
            "float" to "Float",
            "java.lang.Double" to "Double",
            "double" to "Double"
        )
    
    
    // See `org.gradle.kotlin.dsl.internal.sharedruntime.codegen.ApiTypeProviderKt.mappedTypeStrings`
    private
    val collectionTypeStrings =
        mapOf(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 08 07:02:19 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsDataConfigCA.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,
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 88.2K bytes
    - Click Count (0)
  9. android/guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java

        for (int i = 0; i < reps; i++) {
          String unused = interner.intern(Double.toHexString(Math.random()));
        }
        return reps;
      }
    
      @CanIgnoreReturnValue
      @Benchmark
      int strongInterner(int reps) {
        Interner<String> interner = Interners.newStrongInterner();
        for (int i = 0; i < reps; i++) {
          String unused = interner.intern(Double.toHexString(Math.random()));
        }
        return reps;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsCrawlingInfoCA.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,
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 31.6K bytes
    - Click Count (0)
Back to Top