Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 172 for show (0.12 sec)

  1. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      }
    
      /** A typical timeout value we'll use in the tests. */
      private static final long SMALL_TIMEOUT_MILLIS = 10;
    
      /** How long to wait when determining that a thread is blocked if we expect it to be blocked. */
      private static final long EXPECTED_HANG_DELAY_MILLIS = 75;
    
      /**
       * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked.
       */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Striped64.java

       * search for this mapping by randomly varying the hash codes of
       * colliding threads.  Because search is random, and collisions
       * only become known via CAS failures, convergence can be slow,
       * and because threads are typically not bound to CPUS forever,
       * may not occur at all. However, despite these limitations,
       * observed contention rates are typically low in these cases.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/DiscreteDomain.java

       *     minValue()}
       */
      @CheckForNull
      public abstract C previous(C value);
    
      /**
       * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or
       * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/TempFileCreator.java

            /*
             * We don't *need* to use reflection to access Optional: It's available on all JDKs we
             * support, and Android code won't get this far, anyway, because ProcessHandle is
             * unavailable. But given how much other reflection we're using, we might as well use it
             * here, too, so that we don't need to also suppress an AndroidApiChecker error.
             */
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "www",
              "abc.a23",
              "biz.com.ua",
              "x",
              "fOo",
              "f--o",
              "f_a",
              "foo.net.us\uFF61ocm",
              "woo.com.",
              "8server.shop",
              "123.cn",
              "a" + DELTA + "b.com",
              ALMOST_TOO_MANY_LEVELS,
              ALMOST_TOO_LONG);
    
      private static final ImmutableSet<String> INVALID_NAME =
          ImmutableSet.of(
              "",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertThrows(
            UnsupportedOperationException.class,
            () -> rangeSet.removeAll(ImmutableRangeSet.of(Range.closed(6, 8))));
      }
    
      @AndroidIncompatible // slow
      public void testExhaustive() {
        ImmutableSet<Range<Integer>> ranges =
            ImmutableSet.of(
                Range.<Integer>all(),
                Range.<Integer>closedOpen(3, 5),
                Range.singleton(1),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

          assertThat(logFormatter.format(record)).doesNotContain("NoOpService");
        }
      }
    
      /**
       * Tests that a ServiceManager can be fully shut down if one of its failure listeners is slow or
       * even permanently blocked.
       */
      public void testListenerDeadlock() throws InterruptedException {
        final CountDownLatch failEnter = new CountDownLatch(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        builder.build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      public void testDisableCaching() {
        // Functional test: assert that CacheBuilderSpec.disableCaching()
        // disables caching.  It's irrelevant how it does so.
        CacheBuilder<Object, Object> builder = CacheBuilder.from(CacheBuilderSpec.disableCaching());
        Object key = new Object();
        Object value = new Object();
        LoadingCache<Object, Object> cache =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          /*
           * TODO(cpovirk): Do we really want to log this if we called setException(throwable) and it
           * returned true? This was intentional (CL 46470009), but it seems odd compared to how we
           * normally handle Error.
           *
           * Similarly, do we really want to log the same Error more than once?
           */
          log(throwable);
        }
      }
    
    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)
  10. android/guava/src/com/google/common/primitives/UnsignedBytes.java

            int minLength = Math.min(left.length, right.length);
            int strideLimit = minLength & ~(stride - 1);
            int i;
    
            /*
             * Compare 8 bytes at a time. Benchmarking on x86 shows a stride of 8 bytes is no slower
             * than 4 bytes even on 32-bit. On the other hand, it is substantially faster on 64-bit.
             */
            for (i = 0; i < strideLimit; i += stride) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
Back to top