Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for visible (0.16 sec)

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

        }
    
        @Override
        protected Executor executor() {
          transitionStates.add(state());
          return directExecutor();
        }
      }
    
      // Functional tests using real thread. We only verify publicly visible state.
      // Interaction assertions are done by the single-threaded unit tests.
    
      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          }
          if (to != Bound.NO_BOUND) {
            extremeValues.add(delegate.aboveSamplesLesser());
            extremeValues.add(delegate.aboveSamplesGreater());
          }
    
          // the regular values should be visible after filtering
          List<@Nullable Object> allEntries = new ArrayList<>();
          allEntries.addAll(extremeValues);
          allEntries.addAll(normalValues);
          SortedSet<E> set = delegate.create(allEntries.toArray());
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

          Runnable runnable, @ParametricNullness V result) {
        return new TrustedListenableFutureTask<>(Executors.callable(runnable, result));
      }
    
      /*
       * In certain circumstances, this field might theoretically not be visible to an afterDone() call
       * triggered by cancel(). For details, see the comments on the fields of TimeoutFuture.
       *
       * <p>{@code volatile} is required for j2objc transpiling:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

       * maximumSize}{@code (0)}, ignoring any otherwise-specified maximum size or weight. This can be
       * useful in testing, or to disable caching temporarily without a code change.
       *
       * <p>Expired entries may be counted in {@link Cache#size}, but will never be visible to read or
       * write operations. Expired entries are cleaned up as part of the routine maintenance described
       * in the class javadoc.
       *
    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)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * {@code C}
       *
       * <ul>
       *   <li>All visible static methods are checked such that passing null for any parameter that's
       *       not annotated nullable (according to the rules of {@link NullPointerTester}) should throw
       *       {@link NullPointerException}.
       *   <li>If there is any visible constructor or visible static factory method declared by the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        input.addListener(output, rejectionPropagatingExecutor(executor, output));
        return output;
      }
    
      /*
       * In certain circumstances, this field might theoretically not be visible to an afterDone() call
       * triggered by cancel(). For details, see the comments on the fields of TimeoutFuture.
       */
      @CheckForNull @LazyInit ListenableFuture<? extends I> inputFuture;
      @CheckForNull @LazyInit F function;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

         */
        Waiter(boolean unused) {}
    
        Waiter() {
          // avoid volatile write, write is made visible by subsequent CAS on waiters field
          ATOMIC_HELPER.putThread(this, Thread.currentThread());
        }
    
        // non-volatile write to the next field. Should be made visible by subsequent CAS on waiters
        // field.
        void setNext(@CheckForNull Waiter next) {
          ATOMIC_HELPER.putNext(this, next);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
     * publicly visible subclass), and I doubt any of our current or future Kotlin extensions for the
     * package will refer to the class. Plus, @ParametricNullness is only a temporary workaround,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

       * {@code getUnchecked}, and threads with an odd index will call {@code get}. If the cache throws
       * exceptions, this difference may be visible in the returned List.
       */
      private static <K> List<Object> doConcurrentGet(
          final LoadingCache<K, ?> cache,
          final K key,
          int nThreads,
          final CountDownLatch gettersStartedSignal)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      }
    
      // TODO(fry): Separate logic for consistency between emul and nonemul implementation.
      // TODO(fry): Look into Maps.KeySet and Maps.Values, which can ideally be reused here but are
      // currently only package visible.
      abstract class AbstractCacheSet<T> extends AbstractSet<T> {
        final ConcurrentMap<?, ?> map;
    
        AbstractCacheSet(ConcurrentMap<?, ?> map) {
          this.map = map;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
Back to top