Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 279 for doubles (0.03 sec)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f);
        List<Long> longs = Arrays.asList(0L, 1L, 2L);
        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Floats.toArray(bytes)).isEqualTo(array);
        assertThat(Floats.toArray(shorts)).isEqualTo(array);
        assertThat(Floats.toArray(ints)).isEqualTo(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Ints.toArray(bytes)).isEqualTo(array);
        assertThat(Ints.toArray(shorts)).isEqualTo(array);
        assertThat(Ints.toArray(ints)).isEqualTo(array);
        assertThat(Ints.toArray(floats)).isEqualTo(array);
        assertThat(Ints.toArray(longs)).isEqualTo(array);
        assertThat(Ints.toArray(doubles)).isEqualTo(array);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f);
        List<Long> longs = Arrays.asList(0L, 1L, 2L);
        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Floats.toArray(bytes)).isEqualTo(array);
        assertThat(Floats.toArray(shorts)).isEqualTo(array);
        assertThat(Floats.toArray(ints)).isEqualTo(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/BigIntegerMath.java

       * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not
       * representable as a double, but {@code roundToDouble(BigInteger.valueOf(2).pow(2000), HALF_UP)}
       * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Initialize IndexUpdater
            indexUpdater = new IndexUpdater();
    
            // Initialize mocks/test doubles
            systemHelper = new TestSystemHelper();
            indexingHelper = new TestIndexingHelper();
            intervalControlHelper = new TestIntervalControlHelper();
            searchLogHelper = new TestSearchLogHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Converter.java

     * common (perhaps <i>more</i> common) for round-trip conversion to be <i>lossy</i>. Consider an
     * example round-trip using {@link com.google.common.primitives.Doubles#stringConverter}:
     *
     * <ol>
     *   <li>{@code stringConverter().convert("1.00")} returns the {@code Double} value {@code 1.0}
     *   <li>{@code stringConverter().reverse().convert(1.0)} returns the string {@code "1.0"} --
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Floats.java

       * @throws NullPointerException if {@code string} is {@code null}
       * @since 14.0
       */
      @GwtIncompatible // regular expressions
      public static @Nullable Float tryParse(String string) {
        if (Doubles.FLOATING_POINT_PATTERN.matcher(string).matches()) {
          // TODO(lowasser): could be potentially optimized, but only with
          // extensive testing
          try {
            return Float.parseFloat(string);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

           * because their next fields won't change. Statistically, at the default threshold, only
           * about one-sixth of them need cloning when a table doubles. The nodes they replace will be
           * garbage collectable as soon as they are no longer referenced by any reader thread that may
           * be in the midst of traversing table right now.
           */
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            doc.put("longStr", "123456789");
            assertEquals(Long.valueOf(123456789L), DocumentUtil.getValue(doc, "longStr", Long.class));
    
            doc.put("doubleStr", "123.45");
            assertEquals(Double.valueOf(123.45), DocumentUtil.getValue(doc, "doubleStr", Double.class));
    
            doc.put("floatStr", "123.45");
            assertEquals(Float.valueOf(123.45f), DocumentUtil.getValue(doc, "floatStr", Float.class));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

       * retryUpdate). Upon a collision, if the table size is less than
       * the capacity, it is doubled in size unless some other thread
       * holds the lock. If a hashed slot is empty, and lock is
       * available, a new Cell is created. Otherwise, if the slot
       * exists, a CAS is tried.  Retries proceed by "double hashing",
       * using a secondary hash (Marsaglia XorShift) to try to find a
       * free slot.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top