Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for 010203 (0.07 seconds)

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

      public void testJoin() {
        assertThat(Doubles.join(",", EMPTY)).isEmpty();
        assertThat(Doubles.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Doubles.join(",", 1.0, 2.0)).isEqualTo("1.0,2.0");
        assertThat(Doubles.join("", 1.0, 2.0, 3.0)).isEqualTo("1.02.03.0");
      }
    
      public void testJoinNonTrivialDoubles() {
        assertThat(Doubles.join(",", EMPTY)).isEmpty();
        assertThat(Doubles.join(",", 1.2)).isEqualTo("1.2");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testJoin() {
        assertThat(Doubles.join(",", EMPTY)).isEmpty();
        assertThat(Doubles.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Doubles.join(",", 1.0, 2.0)).isEqualTo("1.0,2.0");
        assertThat(Doubles.join("", 1.0, 2.0, 3.0)).isEqualTo("1.02.03.0");
      }
    
      public void testJoinNonTrivialDoubles() {
        assertThat(Doubles.join(",", EMPTY)).isEmpty();
        assertThat(Doubles.join(",", 1.2)).isEqualTo("1.2");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          assertThrows(IndexOutOfBoundsException.class, () -> aa.lazySet(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.compareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.weakCompareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.getAndAdd(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.addAndGet(index, 1.0));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          assertThrows(IndexOutOfBoundsException.class, () -> aa.lazySet(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.compareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.weakCompareAndSet(index, 1.0, 2.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.getAndAdd(index, 1.0));
          assertThrows(IndexOutOfBoundsException.class, () -> aa.addAndGet(index, 1.0));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/math/MathTesting.java

                102,
                Math.scalb(1.0, 53),
                Integer.MIN_VALUE,
                Integer.MAX_VALUE,
                Long.MIN_VALUE,
                Long.MAX_VALUE)) {
          for (double delta : Doubles.asList(0.0, 1.0, 2.0)) {
            integralBuilder.addAll(Doubles.asList(d + delta, d - delta, -d - delta, -d + delta));
          }
          for (double delta : Doubles.asList(0.01, 0.1, 0.25, 0.499, 0.5, 0.501, 0.7, 0.8)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", 1.0f, 2.0f, 3.0f)).isEqualTo("1.02.03.0");
      }
    
      public void testLexicographicalComparator() {
        List<float[]> ordered =
            Arrays.asList(
                new float[] {},
                new float[] {LEAST},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", 1.0f, 2.0f, 3.0f)).isEqualTo("1.02.03.0");
      }
    
      public void testLexicographicalComparator() {
        List<float[]> ordered =
            Arrays.asList(
                new float[] {},
                new float[] {LEAST},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.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(Bytes.toArray(bytes)).isEqualTo(array);
        assertThat(Bytes.toArray(shorts)).isEqualTo(array);
        assertThat(Bytes.toArray(ints)).isEqualTo(array);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/BytesTest.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(Bytes.toArray(bytes)).isEqualTo(array);
        assertThat(Bytes.toArray(shorts)).isEqualTo(array);
        assertThat(Bytes.toArray(ints)).isEqualTo(array);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Doubles.java

       * specified by {@link Double#toString(double)}, and separated by {@code separator}. For example,
       * {@code join("-", 1.0, 2.0, 3.0)} returns the string {@code "1.0-2.0-3.0"}.
       *
       * <p>Note that {@link Double#toString(double)} formats {@code double} differently in GWT
       * sometimes. In the previous example, it returns the string {@code "1-2-3"}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 27.8K bytes
    - Click Count (0)
Back to Top