Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 567 for Android (0.04 sec)

  1. guava/src/com/google/common/collect/Queues.java

       * @param timeout how long to wait before giving up
       * @return the number of elements transferred
       * @throws InterruptedException if interrupted while waiting
       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible // BlockingQueue
      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          val originalRequest = chain.request()
          val originalResponse =
            chain.proceed(
              originalRequest
                .newBuilder()
                .addHeader("Request-Interceptor", "Android") // 1. Added first.
                .build(),
            )
          originalResponse
            .newBuilder()
            .addHeader("Response-Interceptor", "Donut") // 4. Added last.
            .build()
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Joiner.java

      }
    
      /*
       * TODO: b/381289911 - Make the Iterator overload use StringJoiner (including Android or not)—or
       * some other optimization, given that StringJoiner can over-allocate:
       * https://bugs.openjdk.org/browse/JDK-8305774
       */
    
      // TODO: b/381289911 - Optimize MapJoiner similarly to Joiner (including Android or not).
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapPutTester<K, V> extends AbstractMapTester<K, V> {
      private Entry<K, V> nullKeyEntry;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSourceTest.java

    /**
     * Tests for the default implementations of {@code CharSource} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        for (boolean asByteSource : new boolean[] {false, true}) {
          suite.addTest(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/ThrowablesTest.java

                ClassCastException.class, () -> getCauseAs(thrown, IllegalStateException.class));
        assertThat(expected).hasCauseThat().isSameInstanceAs(thrown);
      }
    
      @AndroidIncompatible // No getJavaLangAccess in Android (at least not in the version we use).
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTraceIsLazy()
      public void testLazyStackTraceWorksInProd() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. tensorflow/BUILD

        name = "force_rtti",
        define_values = {
            "tf_force_rtti": "true",
        },
        visibility = ["//visibility:public"],
    )
    
    # Config setting for determining if we are building for Android.
    config_setting(
        name = "android",
        constraint_values = if_google(
            ["@platforms//os:android"],
            [],
        ),
        values = if_oss(
            {"crosstool_top": "//external:android/crosstool"},
            {},
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Aug 28 19:11:51 UTC 2025
    - 53.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/LittleEndianByteArray.java

        if (usingVarHandle != null) {
          return usingVarHandle;
        }
    
        try {
          /*
           * UnsafeByteArray uses Unsafe.getLong() in an unsupported way, which is known to cause
           * crashes on Android when running in 32-bit mode. For maximum safety, we shouldn't use
           * Unsafe.getLong() at all, but the performance benefit on x86_64 is too great to ignore, so
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

       * process()/processRemaining() invocations, due to alignment.
       */
      @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android.
      public void testExhaustive() throws Exception {
        Random random = new Random(0); // will iteratively make more debuggable, each time it breaks
        for (int totalInsertions = 0; totalInsertions < 200; totalInsertions++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class NavigableSetNavigationTester<E> extends AbstractSetTester<E> {
    
      private NavigableSet<E> navigableSet;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top