Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for testPlatform (0.24 sec)

  1. guava-gwt/test-super/com/google/common/math/super/com/google/common/math/TestPlatform.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** @author Chris Povirk */
    @GwtCompatible(emulated = true)
    class TestPlatform {
      static boolean intsCanGoOutOfRange() {
        return true;
      }
    
      static boolean isAndroid() {
        return false;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 10 21:11:58 UTC 2018
    - 887 bytes
    - Viewed (0)
  2. guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/TestPlatform.java

     * limitations under the License.
     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    
    @GwtCompatible(emulated = true)
    class TestPlatform {
      static int reduceIterationsIfGwt(int iterations) {
        return iterations / 10;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 07 20:59:23 UTC 2017
    - 834 bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    @GwtCompatible(emulated = true)
    final class TestPlatform {
      static void verifyGetOnPendingFuture(Future<?> future) {
        checkNotNull(future);
        try {
          pseudoTimedGetUninterruptibly(future, 10, MILLISECONDS);
          fail();
        } catch (TimeoutException expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/TestPlatform.java

     * limitations under the License.
     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    
    @GwtCompatible(emulated = true)
    class TestPlatform {
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 07 20:59:23 UTC 2017
    - 829 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    @GwtCompatible(emulated = true)
    final class TestPlatform {
      static void verifyGetOnPendingFuture(Future<?> future) {
        checkNotNull(future);
        try {
          pseudoTimedGetUninterruptibly(future, 10, MILLISECONDS);
          fail();
        } catch (TimeoutException expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/TestPlatform.java

     * limitations under the License.
     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    
    @GwtCompatible(emulated = true)
    class TestPlatform {
      static int reduceIterationsIfGwt(int iterations) {
        return iterations;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 07 20:59:23 UTC 2017
    - 829 bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/TestPlatform.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** @author Chris Povirk */
    @GwtCompatible(emulated = true)
    class TestPlatform {
      static boolean intsCanGoOutOfRange() {
        return false;
      }
    
      static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 16:00:00 UTC 2023
    - 946 bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

    import static com.google.common.util.concurrent.Runnables.doNothing;
    import static com.google.common.util.concurrent.TestPlatform.getDoneFromTimeoutOverload;
    import static com.google.common.util.concurrent.TestPlatform.verifyGetOnPendingFuture;
    import static com.google.common.util.concurrent.TestPlatform.verifyTimedGetOnPendingFuture;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

    import static com.google.common.util.concurrent.Runnables.doNothing;
    import static com.google.common.util.concurrent.TestPlatform.getDoneFromTimeoutOverload;
    import static com.google.common.util.concurrent.TestPlatform.verifyGetOnPendingFuture;
    import static com.google.common.util.concurrent.TestPlatform.verifyTimedGetOnPendingFuture;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.util.concurrent.TestPlatform.verifyThreadWasNotInterrupted;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top