Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 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. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

        private final Settings settings;
    
        private final boolean expand;
    
        private long reloadInterval = 0;
    
        private final Environment env;
    
        private volatile long lastModified;
    
        private volatile long lastChecked;
    
        private volatile SynonymMap synonymMap;
    
        public SynonymLoader(final Environment env, final Settings settings, final boolean expand, final Analyzer analyzer) {
            this.env = env;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 6.7K bytes
    - Viewed (1)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

        protected volatile Map<String, Map<String, AccessResultImpl<Long>>> sessionMap = new HashMap<>();
    
        /** Map of session IDs to include URL patterns for filtering URLs. */
        protected volatile Map<String, List<Pattern>> includeUrlPatternMap = new HashMap<>();
    
        /** Map of session IDs to exclude URL patterns for filtering URLs. */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.1K 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. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

            /** RDMA write operation */
            WRITE
        }
    
        private final long requestId;
        private final RequestType type;
        private final RdmaMemoryRegion memoryRegion;
        private volatile boolean completed;
        private volatile Exception error;
    
        /**
         * Create new RDMA work request
         *
         * @param requestId unique request identifier
         * @param type type of request
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        /** Register for IP address change notifications */
        public static final int WITNESS_REGISTER_IP_NOTIFICATION = 0x00000001;
    
        // Registration state
        private volatile WitnessRegistrationState state;
        private volatile long lastHeartbeat;
        private volatile int heartbeatFailures;
        private int flags;
    
        /**
         * Enumeration of possible witness registration states.
         */
        public enum WitnessRegistrationState {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (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);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

      Callback {
      constructor(call: Call, listener: EventSourceListener) : this(call, call.request(), listener)
    
      constructor(response: Response, listener: EventSourceListener) : this(null, response.request, listener)
    
      @Volatile private var canceled = false
    
      override fun onResponse(
        call: Call,
        response: Response,
      ) {
        processResponse(response)
      }
    
      internal fun processResponse(response: Response) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

      private val http2Connection: Http2Connection,
    ) : ExchangeCodec {
      @Volatile private var stream: Http2Stream? = null
    
      private val protocol: Protocol =
        if (Protocol.H2_PRIOR_KNOWLEDGE in client.protocols) {
          Protocol.H2_PRIOR_KNOWLEDGE
        } else {
          Protocol.HTTP_2
        }
    
      @Volatile
      private var canceled = false
    
      override val isResponseComplete: Boolean
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

       * triggered by cancel(). For details, see the comments on the fields of TimeoutFuture.
       *
       * <p>{@code volatile} is required for j2objc transpiling:
       * https://developers.google.com/j2objc/guides/j2objc-memory-model#atomicity
       */
      private volatile @Nullable InterruptibleTask<?> task;
    
      TrustedListenableFutureTask(Callable<V> callable) {
        this.task = new TrustedFutureInterruptibleTask(callable);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top