Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 351 for doble (0.06 sec)

  1. 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)
  2. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

        // seem to be a worthwhile tradeoff in a browser.
        return matcher;
      }
    
      static String formatCompact4Digits(double value) {
        return toPrecision(value, 4);
      }
    
      @JsMethod(name = "Number.prototype.toPrecision.call", namespace = JsPackage.GLOBAL)
      private static native String toPrecision(double value, int precision);
    
      @JsMethod
      static native boolean stringIsNullOrEmpty(@Nullable String string) /*-{
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 27 13:56:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

                return ((Long) value).floatValue();
            }
            if (value instanceof Float) {
                return (Float) value;
            }
            if (value instanceof Double) {
                return ((Double) value).floatValue();
            }
            if (value != null) {
                return Float.parseFloat(value.toString());
            }
    
            return 0.0f;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/cbean/ca/bs/BsSearchLogCA.java

        public void setHitCount_PercentileRanks(double[] values) {
            setHitCount_PercentileRanks(values, null);
        }
    
        public void setHitCount_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setHitCount_PercentileRanks("hitCount", values, opLambda);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 115.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

       * #create(Funnel, int, double)}, or smaller. If it is significantly higher, it is usually the
       * case that too many elements (more than expected) have been put in the {@code BloomFilter},
       * degenerating it.
       *
       * @since 14.0 (since 11.0 as expectedFalsePositiveProbability())
       */
      public double expectedFpp() {
        return Math.pow((double) bits.bitCount() / bitSize(), numHashFunctions);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/cbean/ca/bs/BsGroupCA.java

        public void setGidNumber_PercentileRanks(double[] values) {
            setGidNumber_PercentileRanks(values, null);
        }
    
        public void setGidNumber_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setGidNumber_PercentileRanks("gidNumber", values, opLambda);
        }
    
        public void setGidNumber_PercentileRanks(String name, double[] values,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

        Set<Class<?>> primitives = Primitives.allPrimitiveTypes();
        assertThat(primitives)
            .containsExactly(
                boolean.class,
                byte.class,
                char.class,
                double.class,
                float.class,
                int.class,
                long.class,
                short.class,
                void.class);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. 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;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Hashing.java

        return smear((o == null) ? 0 : o.hashCode());
      }
    
      private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      static int closedTableSize(int expectedEntries, double loadFactor) {
        // Get the recommended table size.
        // Round down to the nearest power of 2.
        expectedEntries = max(expectedEntries, 2);
        int tableSize = Integer.highestOneBit(expectedEntries);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashTestUtils.java

              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
            double prob = (double) diff[j] / (double) (diff[j] + same[j]);
            assertThat(prob).isWithin(epsilon).of(0.50d);
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top