Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 992 for kven (0.17 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    @GwtIncompatible
    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/math/BigDecimalMath.java

       * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not
       * representable as a double, but {@code roundToDouble(BigDecimal.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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

     * version 2.1 of the License, or (at your option) any later version.
     * 
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top