Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 74 for volatile (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

        private final Map<MavenProject, List<MavenProject>> projects;
        private final Map<String, String> aliases = new HashMap<>();
        private volatile Set<String> duplicateIds;
        private volatile List<BuildStep> sortedNodes;
    
        BuildPlan() {
            this.projects = null;
        }
    
        public BuildPlan(Map<MavenProject, List<MavenProject>> projects) {
            this.projects = projects;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. 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);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  3. 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) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  4. 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. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  5. 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. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 34.8K bytes
    - Click Count (0)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

    internal class RealEventSource(
      private val request: Request,
      private val listener: EventSourceListener,
    ) : EventSource,
      ServerSentEventReader.Callback,
      Callback {
      private var call: Call? = null
    
      @Volatile private var canceled = false
    
      fun connect(callFactory: Call.Factory) {
        call =
          callFactory.newCall(request).apply {
            enqueue(this@RealEventSource)
          }
      }
    
      override fun onResponse(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. 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);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  8. cmd/object-api-multipart_test.go

    		// Valid bucket names, but they do not exist (Test number 5-7).
    		{"volatile-bucket-1", "", "", "", "", 0, ListMultipartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-1"}, false},
    		{"volatile-bucket-2", "", "", "", "", 0, ListMultipartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-2"}, false},
    		{"volatile-bucket-3", "", "", "", "", 0, ListMultipartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-3"}, false},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  9. 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);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/LocalCache.java

         * respect to reads.
         *
         * As a guide, all critical volatile reads and writes to the count field are marked in code
         * comments.
         */
    
        @Weak final LocalCache<K, V> map;
    
        /** The number of live elements in this segment's region. */
        volatile int count;
    
        /** The weight of the live elements in this segment's region. */
        @GuardedBy("this")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
Back to Top