Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for ezen (0.17 sec)

  1. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

      public void testRoundToDouble_oneThird() {
        new RoundToDoubleTester(
                BigDecimal.ONE.divide(BigDecimal.valueOf(3), new MathContext(50, HALF_EVEN)))
            .roundUnnecessaryShouldThrow()
            .setExpectation(0.33333333333333337, UP, CEILING)
            .setExpectation(0.3333333333333333, HALF_EVEN, FLOOR, DOWN, HALF_UP, HALF_DOWN)
            .test();
      }
    
      public void testRoundToDouble_halfMinDouble() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        // forward map ordered by currency (even for country values)
        assertThat(bimap.values()).containsExactly(Country.SWITZERLAND, Country.CHILE).inOrder();
        // backward map ordered by country
        assertThat(bimap.inverse().keySet())
            .containsExactly(Country.CHILE, Country.SWITZERLAND)
            .inOrder();
        // backward map ordered by country (even for currency values)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        // forward map ordered by currency (even for country values)
        assertThat(bimap.values()).containsExactly(Country.SWITZERLAND, Country.CHILE).inOrder();
        // backward map ordered by country
        assertThat(bimap.inverse().keySet())
            .containsExactly(Country.CHILE, Country.SWITZERLAND)
            .inOrder();
        // backward map ordered by country (even for currency values)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/IntMath.java

    import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
    import static java.lang.Math.abs;
    import static java.lang.Math.min;
    import static java.math.RoundingMode.HALF_EVEN;
    import static java.math.RoundingMode.HALF_UP;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testInitialCapacity_setTwice() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().initialCapacity(16);
        try {
          // even to the same value is not allowed
          builder.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      @GwtIncompatible // CacheTesting
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
     *   <li>In at least one case, a use of {@code sun.misc.FpUtils}, the test will not even
     *       <i>compile</i> against Android. Now, this might be an artifact of our build system, one
     *       that we could probably work around. Or we could manually strip the test from open-source
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          boolean completedWithFailure = setException(throwable);
          if (!completedWithFailure) {
            // Go up the causal chain to see if we've already seen this cause; if we have, even if
            // it's wrapped by a different exception, don't log it.
            boolean firstTimeSeeingThisException = addCausalChain(getOrInitSeenExceptions(), throwable);
            if (firstTimeSeeingThisException) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           * timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" is
           * important for other reasons: run() can still be invoked concurrently in different threads,
           * even with the above null checks.)
           */
          timeoutFutureRef = null;
          if (delegate.isDone()) {
            timeoutFuture.setFuture(delegate);
          } else {
            try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RangeMap.java

     * with the range (if any) that contains a specified key.
     *
     * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain
     * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @DoNotMock("Use ImmutableRangeMap or TreeRangeMap")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

      }
    
      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
          maker.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testReturnsPlainConcurrentHashMapWhenPossible() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top