Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for withEnv (0.23 sec)

  1. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

                Integer key = entry.getKey();
                cache.invalidate(key);
              }
            });
      }
    
      public void testEviction_lru() {
        // test lru within a single segment
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        }
      }
    
      /**
       * Checks that thread does not terminate within the default millisecond delay of {@code
       * timeoutMillis()}.
       */
      void assertThreadStaysAlive(Thread thread) {
        assertThreadStaysAlive(thread, timeoutMillis());
      }
    
      /** Checks that thread does not terminate within the given millisecond delay. */
      void assertThreadStaysAlive(Thread thread, long millis) {
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

                .ticker(ticker)
                .build(loader);
        runRemovalScheduler(cache, removalListener, loader, ticker, KEY_PREFIX, EXPIRING_TIME);
      }
    
      public void testExpirationOrder_access() {
        // test lru within a single segment
        FakeTicker ticker = new FakeTicker();
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertEquals(expected, getResponse(methodName).getResult());
      }
    
      /**
       * Sends the given method call to this thread.
       *
       * @throws TimeoutException if this thread does not accept the request within a reasonable amount
       *     of time
       */
      private void sendRequest(String methodName, Object... arguments) throws Exception {
        if (!requestQueue.offer(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Ascii.java

       *
       * @since 8.0
       */
      public static final byte ESC = 27;
    
      /**
       * File Separator: These four information separators may be used within data in optional fashion,
       * except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then
       * RS, and US is least inclusive. (The content and length of a File, Group, Record, or Unit are
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        // BloomFilter.create(Funnels.unencodedCharsFunnel(), 244412641, 1e-11);
      }
    
      /**
       * Asserts that {@link BloomFilter#approximateElementCount} is within 1 percent of the expected
       * value.
       */
      private static void assertApproximateElementCountGuess(BloomFilter<?> bf, int sizeGuess) {
        assertThat(bf.approximateElementCount()).isAtLeast((long) (sizeGuess * 0.99));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * it be through separate factory instances or through multiple calls to the same factory,
       * attempting to acquire multiple locks with the same Enum value (within the same thread) will
       * result in an IllegalStateException regardless of the factory's policy. For example:
       *
       * <pre>{@code
       * CycleDetectingLockFactory.WithExplicitOrdering<MyLockOrder> factory1 =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * other thread (last thread modifying the state protected by the monitor) takes over the
       * responsibility of signalling the next waiter.
       *
       * <p>This method must not be called from within a beginWaitingFor/endWaitingFor block, or else
       * the current thread's guard might be mistakenly signalled, leading to a lost signal.
       */
      @GuardedBy("lock")
      private void signalNextWaiter() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      /** @since 12.0 */
      @GwtIncompatible // NavigableSet
      @Override
      public abstract UnmodifiableIterator<E> descendingIterator();
    
      /** Returns the position of an element within the set, or -1 if not present. */
      abstract int indexOf(@CheckForNull Object target);
    
      /*
       * This class is used to serialize all ImmutableSortedSet instances,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/LongMath.java

                  | (1L << (43 - 2))
                  | (1L << (47 - 2))
                  | (1L << (53 - 2))
                  | (1L << (59 - 2))
                  | (1L << (61 - 2));
          // Look up n within the mask.
          return ((mask >> ((int) n - 2)) & 1) != 0;
        }
    
        if ((SIEVE_30 & (1 << (n % 30))) != 0) {
          return false;
        }
        if (n % 7 == 0 || n % 11 == 0 || n % 13 == 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
Back to top