Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for volatile (0.06 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFutureState.java

      static final Object NULL = new Object();
    
      static final LazyLogger log = new LazyLogger(AbstractFuture.class);
    
      static final boolean GENERATE_CANCELLATION_CAUSES = false;
    
      private volatile @Nullable Object value;
    
      private volatile @Nullable Listener listeners;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Feb 21 02:38:37 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Suppliers.java

          implements Supplier<T>, Serializable {
        private transient Object lock = new Object();
    
        final Supplier<T> delegate;
        transient volatile boolean initialized;
        // "value" does not need to be volatile; visibility piggy-backs
        // on volatile read of "initialized".
        transient @Nullable T value;
    
        MemoizingSupplier(Supplier<T> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Suppliers.java

          implements Supplier<T>, Serializable {
        private transient Object lock = new Object();
    
        final Supplier<T> delegate;
        transient volatile boolean initialized;
        // "value" does not need to be volatile; visibility piggy-backs
        // on volatile read of "initialized".
        transient @Nullable T value;
    
        MemoizingSupplier(Supplier<T> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/MapIteratorCache.java

       *
       * Note about volatile: volatile doesn't make it safe to read from a mutable graph in one thread
       * while writing to it in another. All it does is help with _reading_ from multiple threads
       * concurrently. For more information, see AbstractNetworkTest.concurrentIteration.
       */
      private transient volatile @Nullable Entry<K, V> cacheEntry;
    
      MapIteratorCache(Map<K, V> backingMap) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       *       argument.
       * </ul>
       */
      volatile @Nullable Object valueField;
    
      /** All listeners. */
      volatile @Nullable Listener listenersField;
    
      /** All waiting threads. */
      volatile @Nullable Waiter waitersField;
    
      /** Non-volatile write of the thread to the {@link Waiter#thread} field. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       *       argument.
       * </ul>
       */
      volatile @Nullable Object valueField;
    
      /** All listeners. */
      volatile @Nullable Listener listenersField;
    
      /** All waiting threads. */
      volatile @Nullable Waiter waitersField;
    
      /** Non-volatile write of the thread to the {@link Waiter#thread} field. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         *
         * As a guide, all critical volatile reads and writes to the count field are marked in code
         * comments.
         */
    
        @Weak final MapMakerInternalMap<K, V, E, S> map;
    
        /**
         * The number of live elements in this segment's region. This does not include unset elements
         * which are awaiting cleanup.
         */
        volatile int count;
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

       *
       * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were
       * provided.
       */
      static final class Cell {
        volatile long p0, p1, p2, p3, p4, p5, p6;
        volatile long value;
        volatile long q0, q1, q2, q3, q4, q5, q6;
    
        Cell(long x) {
          value = x;
        }
    
        final boolean cas(long cmp, long val) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

     */
    public class WebConfig extends BsWebConfig implements CrawlingConfig {
    
        private static final long serialVersionUID = 1L;
    
        protected volatile Pattern[] includedDocUrlPatterns;
    
        protected volatile Pattern[] excludedDocUrlPatterns;
    
        protected transient volatile Map<ConfigName, Map<String, String>> configParameterMap;
    
        protected CrawlerClientFactory crawlerClientFactory = null;
    
        public WebConfig() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/MapRetrievalCache.java

     *
     * @author James Sexton
     */
    final class MapRetrievalCache<K, V> extends MapIteratorCache<K, V> {
      // See the note about volatile in the superclass.
      private transient volatile @Nullable CacheEntry<K, V> cacheEntry1;
      private transient volatile @Nullable CacheEntry<K, V> cacheEntry2;
    
      MapRetrievalCache(Map<K, V> backingMap) {
        super(backingMap);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top