Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 479 for Doubles (0.07 seconds)

  1. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

      }
    
      @Param({"5", "50", "500", "5000", "50000"})
      private int size;
    
      // TODO: look at exact (==) hits vs. equals() hits?
      @Param("0.9")
      private double hitRate;
    
      @Param("true")
      private boolean isUserTypeFast;
    
      // "" means no fixed seed
      @Param("")
      private SpecialRandom random;
    
      @Param("false")
      private boolean sortedData;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      Float generateFloatObject() {
        return new Float(generateFloat());
      }
    
      @Generates
      double generateDouble() {
        return generateInt();
      }
    
      @SuppressWarnings("removal") // b/321209431 -- maybe just use valueOf here?
      @Generates
      Double generateDoubleObject() {
        return new Double(generateDouble());
      }
    
      @Generates
      short generateShort() {
        return (short) generateInt();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  3. tensorflow/c/eager/c_api_experimental.cc

      buf->data_deallocator = [](void* data, size_t length) {
        tensorflow::port::Free(data);
      };
    }
    
    TFE_MonitoringBuckets* TFE_MonitoringNewExponentialBuckets(double scale,
                                                               double growth_factor,
                                                               int bucket_count) {
      return new TFE_MonitoringBuckets([scale, growth_factor, bucket_count]() {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 35.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testDouble() {
        Sink sink = new Sink(8);
        sink.putDouble(Double.longBitsToDouble(0x0807060504030201L));
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
        sink.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
      }
    
      public void testCorrectExceptions() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsThumbnailQueueCA.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: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionAggregation.java

            regA(builder);
            return builder;
        }
    
        protected PercentileRanksAggregationBuilder regPercentileRanksA(String name, String field, double[] values) {
            PercentileRanksAggregationBuilder builder = AggregationBuilders.percentileRanks(name, values).field(field);
            regA(builder);
            return builder;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

            assertEquals("[2001:db8::1]", IpAddressUtil.formatForUrl("2001:db8::1"));
            assertEquals("[fe80::1]", IpAddressUtil.formatForUrl("fe80::1"));
    
            // IPv6 addresses already with brackets - should not double-wrap
            assertEquals("[::1]", IpAddressUtil.formatForUrl("[::1]"));
            assertEquals("[2001:db8::1]", IpAddressUtil.formatForUrl("[2001:db8::1]"));
    
            // IPv4 addresses - should remain unchanged
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Preconditions.java

     *
     * {@snippet :
     * public static double sqrt(double value) {
     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
     *   // calculate square root
     * }
     * }
     *
     * <p>to be replaced with the more compact
     *
     * {@snippet :
     * public static double sqrt(double value) {
     *   checkArgument(value >= 0, "input is negative: %s", value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class RegularImmutableMap<K, V> extends ImmutableMap<K, V> {
      private static final byte ABSENT = -1;
    
      // Max size is halved due to indexing into double-sized alternatingKeysAndValues
      private static final int BYTE_MAX_SIZE = 1 << (Byte.SIZE - 1); // 2^7 = 128
      private static final int SHORT_MAX_SIZE = 1 << (Short.SIZE - 1); // 2^15 = 32_768
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.5K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

            // If the build section is present and the project directory is non-null, we should make
            // sure interpolation of the directories below uses translated paths.
            // Afterward, we'll double back and translate any paths that weren't covered during interpolation via the
            // code below...
            translatedPrefixes.add("build.directory");
            translatedPrefixes.add("build.outputDirectory");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top