Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for Lively (0.18 sec)

  1. guava-testlib/src/com/google/common/testing/GcFinalization.java

      }
    
      /**
       * Creates a garbage object that counts down the latch in its finalizer. Sequestered into a
       * separate method to make it somewhat more likely to be unreachable.
       */
      private static void createUnreachableLatchFinalizer(CountDownLatch latch) {
        Object unused =
            new Object() {
              @SuppressWarnings("removal") // b/260137033
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Ints.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(int[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        ImmutableSet<String> validIsatapAddresses =
            ImmutableSet.of(
                "2001:db8::5efe:102:304",
                "2001:db8::100:5efe:102:304", // Private Multicast? Not likely.
                "2001:db8::200:5efe:102:304",
                "2001:db8::300:5efe:102:304" // Public Multicast? Also unlikely.
                );
        ImmutableSet<String> nonIsatapAddresses =
            ImmutableSet.of(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

       *
       * <p>If {@code expectedSize} is exactly the number of entries added to the builder before {@link
       * Builder#build} is called, the builder is likely to perform better than an unsized {@link
       * #builder()} would have.
       *
       * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableLongArray} that is built will very likely occupy more memory than strictly necessary;
       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

              // likely number of trials to have proven 2-bit candidate
              // is not a characteristic
              count++;
              if (count > maxCount) {
                Assert.fail(
                    "2-bit delta ("
                        + i
                        + ", "
                        + j
                        + ") is likely a "
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

            secondBarrier.await();
          }
        }
    
        @Override
        protected ScheduledExecutorService executor() {
          // use a bunch of threads so that weird overlapping schedules are more likely to happen.
          return Executors.newScheduledThreadPool(10);
        }
    
        @Override
        protected Scheduler scheduler() {
          return new CustomScheduler() {
            @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

       * loader of that class from being garbage-collected even if there is a {@link SecurityManager}.
       * The {@link SecurityManager} environment makes such leaks more likely because when you create a
       * {@link URLClassLoader} with a {@link SecurityManager}, the creating code's {@link
       * java.security.AccessControlContext} is captured, and that references the creating code's {@link
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

       * resulting segment inside the cache <i>independently</i> limits its own size to approximately
       * {@code maximumSize / concurrencyLevel}.
       *
       * <p>When eviction is necessary, the cache evicts entries that are less likely to be used again.
       * For example, the cache may evict an entry because it hasn't been used recently or very often.
       *
       * <p>If {@code maximumSize} is zero, elements will be evicted immediately after being loaded into
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

       * implementation of iterator() to define its contents, and methods like contains() are
       * implemented in terms of that method (though they will likely be overridden by subclasses for
       * performance reasons).) This means that a call to this method have can different behavior in GWT
       * and non-GWT environments UNLESS subclasses are careful to always override all methods
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top