Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 430 for emulator (0.08 sec)

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

    import java.math.BigInteger;
    import java.math.RoundingMode;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link IntMath}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    public class IntMathTest extends TestCase {
      public void testMaxSignedPowerOfTwo() {
        assertTrue(IntMath.isPowerOfTwo(IntMath.MAX_SIGNED_POWER_OF_TWO));
    
        // Extra work required to make GWT happy.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Queues.java

     * class's counterparts {@link Lists}, {@link Sets}, and {@link Maps}.
     *
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Queues {
      private Queues() {}
    
      // ArrayBlockingQueue
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    
    /** Unit tests for CacheBuilder. */
    @GwtCompatible(emulated = true)
    // We are intentionally testing the TimeUnit overloads, too.
    @SuppressWarnings("LongTimeUnit_ExpireAfterWrite_Seconds")
    public class CacheBuilderTest extends TestCase {
    
      public void testNewBuilder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/BaseEncodingTest.java

    import java.io.StringWriter;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code BaseEncoding}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    public class BaseEncodingTest extends TestCase {
    
      public void testSeparatorsExplicitly() {
        testEncodes(base64().withSeparator("\n", 3), "foobar", "Zm9\nvYm\nFy");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Invokable.java

      public final boolean trySetAccessible() {
        // We can't call accessibleObject.trySetAccessible since that was added in Java 9 and this code
        // should work on Java 8. So we emulate it this way.
        try {
          accessibleObject.setAccessible(true);
          return true;
        } catch (Exception e) { // sneaky checked exception
          return false;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InternetDomainName.java

     * href="http://en.wikipedia.org/wiki/Internationalized_domain_name">IDNA Punycode-encoded</a>
     * versions.
     *
     * @author Catherine Berry
     * @since 5.0
     */
    @GwtCompatible(emulated = true)
    @Immutable
    @ElementTypesAreNonnullByDefault
    public final class InternetDomainName {
    
      private static final CharMatcher DOTS_MATCHER = CharMatcher.anyOf(".\u3002\uFF0E\uFF61");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("AlwaysThrows")
    @ElementTypesAreNonnullByDefault
    public class ImmutableMapTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

    import java.util.Set;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link CharMatcher}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class CharMatcherTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testStaticNullPointers() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ArrayTable.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">{@code Table}</a>.
     *
     * @author Jared Levy
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class ArrayTable<R, C, V> extends AbstractTable<R, C, @Nullable V>
        implements Serializable {
    
      /**
       * Creates an {@code ArrayTable} filled with {@code null}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableSetMultimap}.
     *
     * @author Mike Ward
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableSetMultimapTest extends TestCase {
      private static final class ImmutableSetMultimapGenerator extends TestStringSetMultimapGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top