Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 278 for Doubles (0.04 sec)

  1. guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

          safeMin = Character.MAX_VALUE;
        }
        this.safeMin = safeMin;
        this.safeMax = safeMax;
      }
    
      /*
       * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
       * the speed when processing strings that do not require any escaping.
       */
      @Override
      public final String escape(String s) {
        checkNotNull(s); // GWT specific check (do not optimize).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. 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. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          this.safeMaxChar = (char) min(safeMax, Character.MIN_HIGH_SURROGATE - 1);
        }
      }
    
      /*
       * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
       * the speed when processing strings that do not require any escaping.
       */
      @Override
      public final String escape(String s) {
        checkNotNull(s); // GWT specific check (do not optimize)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     *       create a {@link SettableFuture} instead. (If your needs are more complex, you may prefer
     *       {@link AbstractFuture}.)
     * </ul>
     *
     * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link
     * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     *       create a {@link SettableFuture} instead. (If your needs are more complex, you may prefer
     *       {@link AbstractFuture}.)
     * </ul>
     *
     * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link
     * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     *       create a {@link SettableFuture} instead. (If your needs are more complex, you may prefer
     *       {@link AbstractFuture}.)
     * </ul>
     *
     * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link
     * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          this.safeMaxChar = (char) min(safeMax, Character.MIN_HIGH_SURROGATE - 1);
        }
      }
    
      /*
       * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
       * the speed when processing strings that do not require any escaping.
       */
      @Override
      public final String escape(String s) {
        checkNotNull(s); // GWT specific check (do not optimize)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        manyValuesAccumulatorByAddAllVarargs = new StatsAccumulator();
        manyValuesAccumulatorByAddAllVarargs.addAll(Doubles.toArray(MANY_VALUES));
    
        manyValuesAccumulatorByRepeatedAdd = new StatsAccumulator();
        for (double value : MANY_VALUES) {
          manyValuesAccumulatorByRepeatedAdd.add(value);
        }
    
        manyValuesAccumulatorByAddAndAddAll = new StatsAccumulator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/LongsTest.java

        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Longs.toArray(bytes)).isEqualTo(array);
        assertThat(Longs.toArray(shorts)).isEqualTo(array);
        assertThat(Longs.toArray(ints)).isEqualTo(array);
        assertThat(Longs.toArray(floats)).isEqualTo(array);
        assertThat(Longs.toArray(longs)).isEqualTo(array);
        assertThat(Longs.toArray(doubles)).isEqualTo(array);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ShortsTest.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(Shorts.toArray(bytes)).isEqualTo(array);
        assertThat(Shorts.toArray(shorts)).isEqualTo(array);
        assertThat(Shorts.toArray(ints)).isEqualTo(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
Back to top